jenkins the definitive guide
Figure 9.16. Configuring the Task Scanner plugin is straightforward The Advanced button gives you access to a few more sophistic ...
9.8. Integrating with Sonar Sonar^4 is a tool that centralizes a range of code quality metrics into a single website (see Figure ...
machine to your Jenkins instance, or on the same. The only constraint is that the Jenkins instance must have JDBC access to the ...
Figure 9.20. Configuring Sonar in Jenkins The other thing you need to configure is when the Sonar build will kick off in a Sonar ...
Figure 9.21. Configuring Sonar in a build job You typically set up Sonar to run on a regular basis, for example every night or o ...
9.9. Conclusion Code quality is an important part of the build process, and Jenkins provides excellent support for the wide rang ...
...
Chapter 10. Advanced Builds 10.1. Introduction In this chapter, we will look at some more advanced build job setups. We will dis ...
Figure 10.1. Creating a parameterized build job To add a parameter to your build job, just pick the parameter type in the drop-d ...
Figure 10.3. Adding a parameter to the build job 10.2.2. Adapting Your Builds to Work with Parameterized Build Scripts Once you ...
Another option is to pass the parameter into the build script as a property value. The following is a more involved example from ...
Figure 10.6. Many different types of parameters are available 10.2.3. More Advanced Parameter Types Password parameters are, as ...
Figure 10.8. Configuring a Run parameter The URL (which will look something like http://jenkins.myorg.com/job/game-of-life/197/) ...
job. For example, an upstream build job may tag a particular revision. Alternatively, you might use the standard Maven release p ...
To set this up in Jenkins, you first need to add a String parameter to your build job (called RELEASE in this example—see Figure ...
http://jenkins.acme.org/job/myjob/buildWithParameters?PARAMETER=Value So, in the example shown above, you could trigger a build ...
Once you install this plugin, you will find the option of “Triggering parameterized builds on other projects” in your build job ...
In this case, we are simple passing through the current build parameters. This second build job will automatically be started af ...
Figure 10.18. Passing a predefined parameter to a parameterized build job 10.4. Multiconfiguration Build Jobs Multiconfiguration ...
Figure 10.19. Creating a multiconfiguration build job A multiconfiguration build job is just like any other build job, but with ...
«
10
11
12
13
14
15
16
17
18
19
»
Free download pdf