Skip to content

Instantly share code, notes, and snippets.

@vsilverman
Created August 16, 2019 18:13
Show Gist options
  • Save vsilverman/de6a9a4b805a2166a42ff4879a21c2ed to your computer and use it in GitHub Desktop.
Save vsilverman/de6a9a4b805a2166a42ff4879a21c2ed to your computer and use it in GitHub Desktop.
jenkins-ci

Welcome to the Jenkins Continuous Integration Overview!

Purpose of this overview is to show how to automate the process of building, testing and deploying your java and python apps using Jenkins Pipeline.

To start the process follow these instructions

After starting Jenkins and properly configuring your account according to above instructions you may point your browser to https://localhost:8080 and login to your Jenkins account as admin user with demo/demo (login_name/password) credentials.

Jenkins Demo Login

Verify that you can successfully sign-in.

Jenkins All

LOOK AT ACTIVITY inside Jenkins-BlueOcean

Jenkins-BlueOcean-activity

Now run new builds and after that restart any previously executed job.

Jenkins-BlueOcean-BuildJavaApp

Watch execution of your pipeline and observe how after build steps the test steps will follow

Wait until entire pipeline will be completed.
In case the color of the header will change to "green" you will know that the pipeline completed successfully. You may also verify that your app is ready for demo or deployment.

Switch to the "Tests" tab and verify that all tests had passed.
You may observe also the time of execution for every test.

Verify that you can view performance of all jobs for different steps in the pipeline Jenkins-BlueOcean Stage View

After clicking on specific job you will be able to see more details about every executed step in the pipeline

Jenkins-BlueOcean Pipeline Steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment