aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Damovsky <martin.damovsky@gmail.com>2017-06-04 21:46:21 +0200
committerMartin Damovsky <martin.damovsky@gmail.com>2017-06-04 21:59:27 +0200
commit2a767254d838c339cd8856648b4edbc410189a30 (patch)
treeec93c2713f4ba49e342e394c722db761cf52c72d
parent5b86923fba465f914ed0f9da6393b9ae9e22287d (diff)
downloadbbprb-2a767254d838c339cd8856648b4edbc410189a30.tar.gz
updated readme.md with information related to jenkins pipeline support
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4e4d454..88e74ea 100644
--- a/README.md
+++ b/README.md
@@ -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
-----------------------------------------------------------------------------