diff options
author | Martin Damovsky <martin.damovsky@gmail.com> | 2017-06-04 21:46:21 +0200 |
---|---|---|
committer | Martin Damovsky <martin.damovsky@gmail.com> | 2017-06-04 21:59:27 +0200 |
commit | 2a767254d838c339cd8856648b4edbc410189a30 (patch) | |
tree | ec93c2713f4ba49e342e394c722db761cf52c72d | |
parent | 5b86923fba465f914ed0f9da6393b9ae9e22287d (diff) | |
download | bbprb-2a767254d838c339cd8856648b4edbc410189a30.tar.gz |
updated readme.md with information related to jenkins pipeline support
-rw-r--r-- | README.md | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -32,6 +32,35 @@ Creating a Job - Save to preserve your changes +Jenkins pipeline +------------- +``` +pipeline { + agent any + triggers{ + bitbucketpr(projectPath:'<BIT_BUCKET_PATH>', + cron:'H/15 * * * *', + credentialsId:'', + username:'', + password:'', + repositoryOwner:'', + repositoryName:'', + branchesFilter:'', + branchesFilterBySCMIncludes:false, + ciKey:'', + ciName:'', + ciSkipPhrases:'', + checkDestinationCommit:false, + approveIfSuccess:false, + cancelOutdatedJobs:true, + commentTrigger:'') + } +} +``` + +After you set up your Jenkins pipeline, run the job for the first time manually (otherwise the trigger may not work!) + + Merge the Pull Request's Source Branch into the Target Branch Before Building ----------------------------------------------------------------------------- |