paint-brush
How to Get the Last Successful Git Commit SHA in Jenkinsby@vladislavbilay
5,775 reads
5,775 reads

How to Get the Last Successful Git Commit SHA in Jenkins

by Vladislav Bilay3mMay 9th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this article, we will explore how to get a [Git commit] SHA from the last successful Jenkins build for further use in the upstream builds on different agents. Prerequisites are Jenkins (Freestyle project) with at least one or more Jenkins agents.
featured image - How to Get the Last Successful Git Commit SHA in Jenkins
Vladislav Bilay HackerNoon profile picture
Vladislav Bilay

Vladislav Bilay

@vladislavbilay

Lead DevOps with expertise in Cloud, Salesforce, Kubernetes and CI/CD.

Learn More
LEARN MORE ABOUT @VLADISLAVBILAY'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Vladislav Bilay HackerNoon profile picture
Vladislav Bilay@vladislavbilay
Lead DevOps with expertise in Cloud, Salesforce, Kubernetes and CI/CD.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite