Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Continuous Integration and Delivery

You're reading from   Hands-On Continuous Integration and Delivery Build and release quality software at scale with Jenkins, Travis CI, and CircleCI

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789130485
Length 416 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Jean-Marcel Belmont Jean-Marcel Belmont
Author Profile Icon Jean-Marcel Belmont
Jean-Marcel Belmont
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. CI/CD with Automated Testing FREE CHAPTER 2. Basics of Continuous Integration 3. Basics of Continuous Delivery 4. The Business Value of CI/CD 5. Installation and Basics of Jenkins 6. Writing Freestyle Scripts 7. Developing Plugins 8. Building Pipelines with Jenkins 9. Installation and Basics of Travis CI 10. Travis CI CLI Commands and Automation 11. Travis CI UI Logging and Debugging 12. Installation and Basics of CircleCI 13. CircleCI CLI Commands and Automation 14. CircleCI UI Logging and Debugging 15. Best Practices 16. Assessments 17. Other Books You May Enjoy

Debugging issues with a freestyle job

Whenever you run a build in Jenkins for a build item, you can see all the details of the build by clicking on the specific build job that you want to see.

Build Project View

Here is the Build History that you need to focus on:

Now if you click on an actual build, you will go to the following screen:

If you click the Console Output link, then you will see a detailed CI Build log that shows all the steps the CI server did. Remember that we wrote a freestyle shell script. I'm adding the contents of the shell script for you to see:

echo "$SAMPLE_VALUE"
echo "$ANOTHER_SAMPLE_NAME"
go test

Notice here that I added the two different environment variables that we defined...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image