jenkins the definitive guide

(Jeff_L) #1

The configuration for this plugin is minimal and focused on the Project Type and Pattern and Branch
Type and Pattern. In each pair, the type can be Plain, Path, or RegExp—pattern flavors of what to watch
—and then the value (pattern) to evaluate using the type as the guide.


5.4.2.4. Post-build actions


The Git plugin for Jenkins adds Git-specific capabilities to the post-processing of the build artifacts.
Specifically, the Git Publisher (shown in Figure 5.19, “Git Publisher”) offers merging and pushing
actions. Check the Git Publisher checkbox to display four options.


Figure 5.19. Git Publisher


5.4.2.4.1. Push only if build succeeds


If a merge or other commit-creating action has been taken during the Jenkins build, it can be enabled
to push to a remote.


5.4.2.4.2. Merge results


If prebuild merging is configured, push the merge-resultant branch to its origin (see Figure 5.20, “Merge
results”).

Free download pdf