Hi Ivan, Thanks for the notice. Your solution is heavily relying on the presence of the GIT_COMMIT variable, which was not defined out of the box in my tests. I had to get it from the return of the checkout step, which is not a good solution for us, since we want our step to work without asking users to do extra logic in their pipeline.
Julien Henry | SonarSource Developer https://sonarsource.com Le jeu. 13 juin 2019 à 13:46, Ivan Fernandez Calvo <[email protected]> a écrit : > we faced the same problem a few months ago, we've resolved it by adding a > calculated environment variable for more details see > https://groups.google.com/forum/#!topic/jenkinsci-dev/Dus0VX6y04g > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/-ojqklsaKbw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/ee8163ba-5f14-48f8-b888-0983d67e22f4%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/ee8163ba-5f14-48f8-b888-0983d67e22f4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAD9wyxETk-FSuxLWz_sgrbtJD4MDdOUkLgeS6cHRxH%3De0SDS%2BQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
