Re: How to get GIT revision. All kind of post on variables does not match any case.

2019-01-14 Thread Eldad Cohen
Thanks on your help !! On Monday, January 14, 2019 at 9:51:31 PM UTC+2, Mark Waite wrote: > > If GIT_COMMIT is not providing what you want, then you can use an `sh` or > `bat` step to get the sha1 of the commit that is the HEAD of the working > repository. > > See >

Re: How to get GIT revision. All kind of post on variables does not match any case.

2019-01-14 Thread Mark Waite
If GIT_COMMIT is not providing what you want, then you can use an `sh` or `bat` step to get the sha1 of the commit that is the HEAD of the working repository. See https://github.com/MarkEWaite/jenkins-pipeline-utils/blob/fa3266f738f735e40581abfd9b6a226b3dac0ab6/pipelineSteps.groovy#L41 for an

How to get GIT revision. All kind of post on variables does not match any case.

2019-01-14 Thread Eldad Cohen
How to get GIT revision in a pipeline. All kind of post on variables does not match any case. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to