aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-----------------------------------------------------------------------------