yes it works fine when I do it from local. only Jenkins has issues, On Fri, Jul 19, 2019 at 6:12 PM Baptiste Mathus <[email protected]> wrote:
> Does this work outside Jenkins using Maven only? > > Le mar. 16 juil. 2019 à 13:57, Ashwini <[email protected]> a > écrit : > >> Hi Team, >> >> I am trying to perform automated maven release using Jenkins and maven >> release plugin. When i perform the maven release, plugin modifies the >> pom.xml, creates release.properties, pom backup under jenkins workspace but >> doesn't commit the files to bitbucket. I don't see any errors in the build >> output. I assume in general the release plugin should be committing all >> files to bitbucket. >> Below are the logs from build. Release prepare modifies files, adds but >> doesn't commit files to bitbucket. Could please someone help me understand >> the behavior of release plugin and if i am doing something wrong. Jenkins >> version is 2.176.1 and Maven Release Plug-in Plug-in >> <http://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin> 0.14.0 >> >> [INFO] Checking in modified POMs... >> [INFO] Executing: /bin/sh -c cd >> /var/lib/jenkins/jobs/release_parent/workspace && git add -- pom.xml >> [INFO] Working directory: /var/lib/jenkins/jobs/release_parent/workspace >> [INFO] Executing: /bin/sh -c cd >> /var/lib/jenkins/jobs/release_parent/workspace && git status >> [INFO] Working directory: /var/lib/jenkins/jobs/release_parent/workspace >> [INFO] Tagging release with the label test-parent-151.1... >> [INFO] Executing: /bin/sh -c cd >> /var/lib/jenkins/jobs/release_parent/workspace && git tag -F >> /tmp/maven-scm-57955011.commit test-parent-151.1 >> [INFO] Working directory: /var/lib/jenkins/jobs/release_parent/workspace >> [INFO] Executing: /bin/sh -c cd >> /var/lib/jenkins/jobs/release_parent/workspace && git push >> ssh://Ashwinibasavaraj:Dinash@[email protected]/Ashwinibasavaraj/test_parent.git >> test-parent-151.1 >> [INFO] Working directory: /var/lib/jenkins/jobs/release_parent/workspace >> [INFO] Executing: /bin/sh -c cd >> /var/lib/jenkins/jobs/release_parent/workspace && git ls-files >> [INFO] Working directory: /var/lib/jenkins/jobs/release_parent/workspace >> [INFO] Transforming 'test-parent'... >> [INFO] Not removing release POMs >> [INFO] Checking in modified POMs... >> [INFO] Executing: /bin/sh -c cd >> /var/lib/jenkins/jobs/release_parent/workspace && git add -- pom.xml >> [INFO] Working directory: /var/lib/jenkins/jobs/release_parent/workspace >> [INFO] Executing: /bin/sh -c cd >> /var/lib/jenkins/jobs/release_parent/workspace && git status >> [INFO] Working directory: /var/lib/jenkins/jobs/release_parent/workspace >> [INFO] Release preparation complete. >> [INFO] >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/029b56e4-44e3-47c2-b55e-2874efc8726f%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/029b56e4-44e3-47c2-b55e-2874efc8726f%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 Users" 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-users/CANWgJS7MMcnLQoLa3%2B-AJ-MeQ6N1dsi%2Bpz9BzHsLpb78OKL-GA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7MMcnLQoLa3%2B-AJ-MeQ6N1dsi%2Bpz9BzHsLpb78OKL-GA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- *Ashwini Basavaraj* *BOXARR* *| Operations* T: +44 7469554745 <+44%20117%20911%204762> <+44%20117%20911%204762> E: [email protected] W: www.boxarr.com LI: linkedin.com/company/boxarr @: twitter.com/boxarr This message is private and confidential. If you have received this message in error, please notify us immediately and remove it from your system. www.BOXARR.com/email-policy <http://www.boxarr.com/email-policy> BOXARR is a limited company registered in England and Wales. Company registration number: 04873279. Registered Office: The Wallbrook Building, 25 Wallbrook, London, EC4N 8AF, United Kingdom -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPz8dUacV_kKGq4bqugj13gkPob3641z9hLtPL7vE2HM8rOKNg%40mail.gmail.com.
