How can I get the Sha1 of a shared library?
I can see the sha in the logs, is there a way to programmatically get this value from the jenkinsfile/groovy for a multi-branch pipeline?
981d479b9d720fb412395dde68e80094dc8783c7
Fetching upstream changes from ssh://<url>/owmCommon.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --no-tags --progress ssh://<url>/owmCommon.git +refs/heads/*:refs/remotes/origin/* Checking out Revision 981d479b9d720fb412395dde68e80094dc8783c7 (release_1.1.8) > git config core.sparsecheckout # timeout=10 > git checkout -f 981d479b9d720fb412395dde68e80094dc8783c7
1
Please sign in to leave a comment.
Comments
0 comments