Skip to content

Commit 13fcb11

Browse files
authored
only run system test on pull requests (#97)
* only run system test on pull requests * publish test results for system tests
1 parent 3dd1f91 commit 13fcb11

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Jenkinsfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,19 @@ pipeline {
3939
}
4040
}
4141
stage ('SystemTest') {
42+
when {
43+
changeRequest()
44+
}
4245
steps {
4346
withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'otn-cred', passwordVariable: 'ORACLE_SUPPORT_PASSWORD', usernameVariable: 'ORACLE_SUPPORT_USERNAME']]) {
4447
sh 'mvn verify'
4548
}
4649
}
50+
post {
51+
always {
52+
junit 'imagetool/target/failsafe-reports/*.xml'
53+
}
54+
}
4755
}
4856
}
4957
}

0 commit comments

Comments
 (0)