to test new e2e tests

This commit is contained in:
Churikova Tetiana 2018-04-25 12:48:18 +03:00 committed by Tetiana Churikova
parent 572748449e
commit a68dc67ce4

6
Jenkinsfile vendored
View File

@ -33,9 +33,9 @@ def dockerreponame = "statusim/openbounty-app"
} }
stage('Testing') { stage('Testing') {
if ( currentBuild.rawBuild.getCauses()[0].toString().contains('UserIdCause') ){ if ( currentBuild.rawBuild.getCauses()[0].toString().contains('UserIdCause') ){
echo 'Waiting 2,5 minutes for deployment to complete prior starting smoke testing' echo 'Waiting 1 minute for deployment to complete prior starting smoke testing'
sleep 150 sleep 60
build job: 'status-openbounty/sob-end-to-end-tests', parameters: [[$class: 'StringParameterValue', name: 'BRANCH', value: "*/Jenkins/experiment"]] build job: 'status-openbounty/sob-end-to-end-tests', parameters: [[$class: 'StringParameterValue', name: 'branch', value: "*/Jenkins/experiment"]]
} else { } else {
echo "No testing on automatic trigger, go to Jenkins and push build button to deliver it and test it." echo "No testing on automatic trigger, go to Jenkins and push build button to deliver it and test it."
} }