Jobs can generate artifacts during a build. This lesson discusses how to find artifacts in the workspace and configure jobs to make artifacts more visible at the end of each build.
- [Instructor] Most Jenkins jobs will…generate some sort of product…at the end of each build.…That might be a compiled executable,…like an EXE or an archive like a JAR file,…or it might even be a report in a…text file or document.…These products are referred to as artifacts.…Let's use the apache-ivy job as an example.…The artifact for this job is a Java archive…or JAR file named ivy.jar.…If we take a look at the console output…from the last build,…we can find the path to where the…JAR file was stored.…The path to the JAR file is under the…apache-ivy workspace in the build…artifact JARS directory.…
Now let's find that in the workspace.…Going back to the project dashboard,…we can open the workspace and then navigate to…Build, artifact, JARs,…and then find the JAR file.…From here we could click it to download it.…Even though you could go digging around…in the workspace to find artifacts,…Jenkins makes it easier to manage them…with the post build step.…Let's take a look.…Click Configure,…and then Post-build Actions.…
We can use the build step named…
First, learn how to set up Jenkins on Mac, Windows, Linux, or inside a Docker container, and find out how Jenkins plugins are used to extend its functionality. Next, configure your first job step by step, leading up to the requisite "Hello, World" output, and learn to make your jobs more useful and portable with parameters. Then explore job scheduling, and Jenkins's convenient aliases for running jobs at regular intervals. The course wraps up with tips for organizing jobs in folders and views and a brief look into pipelines as code-which enable you to execute a series of jobs in stages.
By the end of the training, you should be able to install Jenkins locally or on a virtual machine, create a Jenkins jobs that can be triggered manually or on a schedule, and install and configure plugins to extend the Jenkins framework.
- Installing Jenkins
- Using plugins
- Creating and configuring a job
- Running and monitoring jobs
- Managing artifacts
- Working with parameters
- Scheduling jobs
- Organizing jobs with views and folders
- Defining stages with pipelines
Skill Level Beginner
Java: Build Automation with Mavenwith Peggy Fisher1h 24m Intermediate
1. Install Jenkins
2. Jobs in Jenkins
3. More Detail on Jobs
4. Organize Jobs with View and Folders
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.