jenkins the definitive guide

(Jeff_L) #1

The second invocation in the example above invokes downstream jobs even if an upstream job is
unstable: the invocation happens regardless of test results. It can be used for a pipeline of jobs that are
less sensitive to tests and their failures.


The third invocation in the example above invokes downstream jobs only when an upstream job fails
but not when it is stable or unstable. You can find this configuration useful when a failing job needs to
perform additional actions beyond traditional email notifications.


Artifactory^5 is a general purpose binaries repository that can be used as a Maven repository manager. The
Jenkins Artifactory plugin^6 , shown in Figure 10.29, “Artifactory Jenkins plugin configuration”, provides
a number of benefits for Jenkins build jobs. We have already reviewed some of them in Section 5.9.4,
“Deploying to an Enterprise Repository Manager”, including an ability to deploy artifacts upon job
completion or to send builds environment info together with artifacts for their better traceability.


Figure 10.29. Artifactory Jenkins plugin configuration


(^5) http://jfrog.org
(^6) http://wiki.jenkins-ci.org/display/JENKINS/Artifactory+Plugin

Free download pdf