From b034dc5766940865d85938acf5604ba72482b8d8 Mon Sep 17 00:00:00 2001 From: Dmitriy Kopylenko Date: Fri, 11 Oct 2019 13:49:09 -0400 Subject: [PATCH 1/3] SHIBUI-1506 --- Jenkinsfile-Selenium | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Jenkinsfile-Selenium diff --git a/Jenkinsfile-Selenium b/Jenkinsfile-Selenium new file mode 100644 index 000000000..196a881c1 --- /dev/null +++ b/Jenkinsfile-Selenium @@ -0,0 +1,37 @@ +pipeline { + agent any + options { + disableConcurrentBuilds() + buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) + } + stages { + stage('Run Selenium tests') { + when { + expression { + return GIT_BRANCH == 'SHIBUI-1509' + } + } + steps { + sh ''' + ./gradlew integrationTest -Dselenium.host=jenkins + ''' + } + post { + always { + junit 'backend/build/test-results/integrationTest/**/*.xml' + } + } + } + } + post { + failure { + step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: emailextrecipients([[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']])]) + } + success { + emailext body: '''${SCRIPT, template="groovy-text.template"}''', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: '[SHIBUI] Build Success' + } + always { + cleanWs() + } + } +} From 121a2eaa6d58dc04ad4c45b3683d6b8b73635f92 Mon Sep 17 00:00:00 2001 From: Dmitriy Kopylenko Date: Sat, 12 Oct 2019 10:38:37 -0400 Subject: [PATCH 2/3] Testing trigger change --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ec4f8196..9c5b29143 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ For more information, see `docs` -## Requirements +## Requirements_ * Java 8 (note that ONLY Java 8 is supported at this time; other later versions might work) From 8250c5c6a1c87015013c6e629c83a4c507ac4cb8 Mon Sep 17 00:00:00 2001 From: Dmitriy Kopylenko Date: Sat, 12 Oct 2019 11:10:35 -0400 Subject: [PATCH 3/3] SHIBUI-1506 --- Jenkinsfile-Selenium | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Jenkinsfile-Selenium b/Jenkinsfile-Selenium index 196a881c1..8940315d4 100644 --- a/Jenkinsfile-Selenium +++ b/Jenkinsfile-Selenium @@ -5,12 +5,7 @@ pipeline { buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) } stages { - stage('Run Selenium tests') { - when { - expression { - return GIT_BRANCH == 'SHIBUI-1509' - } - } + stage('Run Selenium tests') { steps { sh ''' ./gradlew integrationTest -Dselenium.host=jenkins