aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorS.Nishio <nishio@densan-labs.net>2014-10-16 20:48:15 +0900
committerS.Nishio <nishio@densan-labs.net>2014-10-16 20:48:15 +0900
commit8b140238d574cc9b62fc712387a6b2d0dfe85ad1 (patch)
treedd946d1f4d19daf07cbf50aeeddb516f769173ba /README.md
parentb6fd5813d742eb4bfbbfb07415707d7ed776da24 (diff)
parent223cb860b0f950333d798a733919fb97be4d8f86 (diff)
downloadbbprb-8b140238d574cc9b62fc712387a6b2d0dfe85ad1.tar.gz
Merge pull request #21 from jwismar/feature/destination-check
added an option to check the destination branch's last commit, and rebuild
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4c08c56..c1054a8 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,19 @@ Creating a Job
- Write RepositoryName
- Save to preserve your changes
+Merge the Pull Request's Source Branch into the Target Branch Before Building
+==============================================================================
+You may want Jenkins to attempt to merge your PR before doing the build -- this way it will find conflicts for you automatically.
+- Follow the steps above in "Creating a Job"
+- In the "Source Code Management" > "Git" > "Additional Behaviors" section, click "Add" > "Merge Before Building"
+- In "Name of Repository" put "origin" (or, if not using default name, use your remote repository's name. Note: unlike in the main part of the Git Repository config, you cannot leave this item blank for "default".)
+- In "Branch to merge to" put "${targetBranch}"
+- Note that as long as you don't push these changes to your remote repository, the merge only happens in your local repository.
+
+
+If you are merging into your target branch, you might want Jenkins to do a new build of the Pull Request when the target branch changes.
+- There is a checkbox that says, "Rebuild if destination branch changes?" which enables this check.
+
Rerun test builds
====================