Re: Using git describe in Jenkins differs from regular clones

2020-08-03 Thread Randall Becker
OK: Blame the operator. shallow: true made the difference. It was shallow: false before. So that makes the difference. I'm now getting the desired results inside Jenkins. Randall On Monday, 3 August 2020 17:13:00 UTC-4, Randall Becker wrote: > > I know I should know the answer to this one, but

Using git describe in Jenkins differs from regular clones

2020-08-03 Thread Randall Becker
I know I should know the answer to this one, but it's eluding me. When I run git describe from within a Jenkins pipeline, I am getting different results from when git describe is run from a normal clone/checkout. This happens even if I move to a detached head state. Obviously I'm missing an opt