jenkins the definitive guide

(Jeff_L) #1

Figure 10.40. Running web tests against a copied WAR file


The Copy Artifact plugin is not limited to fetching files from conventional build jobs. You can also
copy artifacts from multiconfiguration build jobs (see Section 10.4, “Multiconfiguration Build Jobs”).
Artifacts from each executed configuration will be copied into the current workspace, each in its own
directory. Jenkins will build a directory structure using the axes that were used in the multiconfiguration
build. For example, imagine we need to produce a highly-optimized version of our product for a number
of different targeted databases and application servers. We could do this with a multiconfiguration build
job like the one illustrated in Figure 10.41, “Copying from a multiconfiguration build”.

Free download pdf