Added stage Teting

Experiment
This commit is contained in:
Tetiana Churikova 2018-04-18 12:07:30 +03:00 committed by GitHub
parent a70696f26b
commit 10b671f9e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

8
Jenkinsfile vendored
View File

@ -31,6 +31,14 @@ def dockerreponame = "statusim/openbounty-app"
echo "No deployment on automatic trigger, go to Jenkins and push build button to deliver it."
}
}
stage('Tetisng') {
if ( currentBuild.rawBuild.getCauses()[0].toString().contains('UserIdCause') ){
build job: 'nd-to-end-tests/job/sob-end-to-end-tests'
} else {
echo "No testing on automatic trigger, go to Jenkins and push build button to deliver it and test it."
}
}
} catch (e) {
// slackSend color: 'bad', message: REPO + ":" + BRANCH_NAME + ' failed to build. ' + env.BUILD_URL