Abschneiden der SCM (Git) -URL für den Push des Maven-Release-Tags

Aus irgendeinem Grund wird mir beim Ausführen von maven release eine ungültige URL nur für den Tag-Teil des Pushs angezeigt. Für die pom.xml-Datei commit / push funktioniert dies problemlos und es wird auf die entsprechende URL verwiesen. Siehe unten:

[INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent
[INFO] Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent" && git commit --verbose -F /tmp/maven-scm-217365030.commit '/opt/jenkins-home/jobs/Section 4362/workspace/section4362-services/pom.xml' '/opt/jenkins-home/jobs/Section 4362/workspace/section4362-webapp/pom.xml' '/opt/jenkins-home/jobs/Section 4362/workspace/section4362-static/pom.xml' pom.xml
[INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent
[INFO] Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent" && git symbolic-ref HEAD
[INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent
[INFO] Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent" && git push ssh://[email protected]/{org}/Section4362.git maven-release-test:maven-release-test
[INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace/section4362-parent
[INFO] Tagging release with the label section4362-parent-0.3...
[INFO] Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace" && git tag -F /tmp/maven-scm-882610155.commit section4362-parent-0.3
[INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace
[INFO] Executing: /bin/sh -c cd "/opt/jenkins-home/jobs/Section 4362/workspace" && git push ssh://[email protected]/{org} section4362-parent-0.3
[INFO] Working directory: /opt/jenkins-home/jobs/Section 4362/workspace

Sie können sehen, dass für den Push nach dem Commit der Push auf ausgeführt wirdssh://[email protected]/{org}/Section4362.git ({org} von mir geschrubbt), wohingegen es für den Push nach dem Tag gehtssh://[email protected]/{org} - URL sollte enthalten/Section4362.git Am Ende. Alle meine POM-Dateien geben die richtige an:scm:git:ssh://[email protected]/{org}/Section4362.git

Wie würde sich die URL für den Tag-Push ändern und woher würde sie stammen? Build schlägt offensichtlich in diesem Schritt fehl und sagt, dass keine Verbindung zum Repository hergestellt werden kann.

Antworten auf die Frage(2)

Ihre Antwort auf die Frage