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.
