jenkins the definitive guide
5.4.2.2. Using the plugin On either an existing or a new Jenkins project, a new Source Code Management option for Git will be di ...
Figure 5.9. Entering a Git repo URL Figure 5.10. Advanced configuration of a Git repo URL ...
Figure 5.11. Advanced configuration of the Git branches to build 5.4.2.2.3. Excluded regions Regions (seen in Figure 5.12, “Bran ...
Figure 5.12. Branches and regions 5.4.2.2.4. Excluded users The Git plugin also lets you ignore certain users, even if they make ...
git checkout 73434e4a0af0f51c242f5ae8efc51a88383afc8a On the other hand, if you use a local branch named mylocalbranch, Jenkins ...
a completely clean workspace, you can use the “Wipe out workspace” option to delete and rebuild the workspace from the ground up ...
5.4.2.2.15. Repository browser Like Subversion, Git has several source code browsers that you can use. The most common ones are ...
The Git polling is distilled into a more developer-useful format that shows commit comments as well as hyperlinking usernames an ...
The configuration for this plugin is minimal and focused on the Project Type and Pattern and Branch Type and Pattern. In each pa ...
Figure 5.20. Merge results 5.4.2.4.3. Tags When pushing tags, each tag can be named and chosen to be created if it does not exis ...
Figure 5.21. GitHub repository browser With the githubweb repository browser chosen, all changed-detected files will be linked t ...
5.5.1. Triggering a Build Job Once Another Build Job Has Finished The first option lets you set up a build that will be run when ...
MINUTE Minutes within the hour (0–59) HOUR The hour of the day (0–23) DOM DOM The day of the month (1–31) MONTH The month (1–12) ...
In Jenkins, SCM polling is easy to configure, and uses the same cron syntax we discussed previously. The natural temptation for ...
¶ Use regular expression processing here to extract your project name from the Subversion repository URL. However, this approach ...
$ curl -u scott:tiger http://scott:tiger@myserver:8080/jenkins/job/gameoflife/build 5.5.5. Manual Build Jobs A build does not ha ...
-Dsurefire.useFile=false This option forces Maven to write JUnit output to the console, rather than to text files in the target ...
The final option lets you configure a private Maven repository for this build job. Normally, Maven will just use the default Mav ...
You can do this in Jenkins with the Execute Shell (for Unix) or Execute Windows Batch command (for Windows). As an example, in F ...
5.6.4. Using Jenkins Environment Variables in Your Builds One useful trick that can be used in virtually any build step is to ob ...
«
2
3
4
5
6
7
8
9
10
11
»
Free download pdf