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
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

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