Skip to content

Commit

Permalink
[NOJIRA]
Browse files Browse the repository at this point in the history
add integration test to jenkins build
  • Loading branch information
jj committed Mar 12, 2019
1 parent 84c0af3 commit 609de06
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@ pipeline {
}
}
}

stage('Run Selenium tests') {
when {
expression {
return GIT_BRANCH.startsWith('PR')
}
}
steps {
sh '''
./gradlew integrationTest
'''
}
post {
always {
junit 'backend/build/test-results/integrationTest/**/*.xml'
}
}
}

stage('Build Docker images') {
when {
expression {
Expand All @@ -27,6 +46,7 @@ pipeline {
'''
}
}

stage('Deploy') {
when {
expression {
Expand Down

0 comments on commit 609de06

Please sign in to comment.