From the course: Learning Jenkins

Schalten Sie den kompletten Kurs noch heute frei

Join today to access over 23,400 courses taught by industry experts.

Manage artifacts

Manage artifacts - Jenkins Tutorial

From the course: Learning Jenkins

Manage artifacts

"

- [Instructor] Most Jenkins jobs will generate some sort of product at the end of each build. It could be a compiled executable, like an exe. An archive, like a jar file, or it might even be a report in the text file. These products are referred to as artifacts. Let's take a look at the artifacts created by the Hello Maven job that we've used in previous lessons. I'm looking at the console output for a recent run of the Hello Maven job. And at the end here, there's a line labeled building jar with a path to the jar file. Let's take a look at this in the projects workspace. If I go back to the project and select workspace and then target there's the jar file. This file was easy enough to find, but it would be a waste of time if we had to poke around in the workspace every time we wanted to get it, fortunately Jenkins makes it easy to manage artifacts with a post built step, let's take a look. First, let me copy the…

Inhalt