From 609de063bafd1acd13e4a29bf066694be95d4ab5 Mon Sep 17 00:00:00 2001 From: Jj! Date: Tue, 12 Mar 2019 11:22:11 -0500 Subject: [PATCH] [NOJIRA] add integration test to jenkins build --- Jenkinsfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index bc032671c..eb56795ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 { @@ -27,6 +46,7 @@ pipeline { ''' } } + stage('Deploy') { when { expression {