Hi Mirko, Sorry for the late response, but thank you for the help. I will check this out and get back to you.
One question; and sorry if this doesn't make sense, but how does the pom file get updated? And doesn't pushing the tag up to the repo kick off the pipeline again? On Thu, Apr 4, 2019 at 5:24 PM Mirko Friedenhagen <[email protected]> wrote: > Hi, > > you could skipping pushing changes back to master. > > Call mvn -B release:prepare release:deploy -DpushChanges=false followed by > git push —tags. > > Concerning versioning take a look at > https://github.com/1and1/ono-maven-shared/blob/master/README.md > > Best Regards > Mirko Friedenhagen > — > Sent from my mobile > > Am 04.04.19 um 19:13 schrieb Chris Flynn > > > We have I pipeline with a Git material. Whenever the *master* branch has > a > > commit the pipeline runs a Maven Release using the > *maven-release-plugin*. > > This causes the artifact to be released to our Nexus repo and creates a > tag > > in Git. During the process it updates the POM file with new versions in > Git > > on the *master* branch. This is causing the pipeline to get kicked off > > again. So it is in an endless loop of constantly kicking off new runs. > > > > Is there any way to avoid this behavior? Can you setup a blacklist based > on > > commit messages or commit user? Is there another way of handling the > > release and tagging? > > > > Thanks for your help > > > > -- > > You received this message because you are subscribed to the Google > Groups "go-cd" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
