Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: artifactory-plugin, git-plugin, release-plugin
-
Environment:Ubuntu 12.04, Jenkins 1.536, Jenkins Artifactory Plugin 2.2.0
-
Similar Issues:
Description
We are unable to commit a release on our git repository by using the Jenkins artifactory plugin - Release Management.
We were previously using the artifactory release staging link to build and commit our release on git.
If we try to commit the release from the Jenkins slave, we got the following exception :
[RELEASE] Committing release version on branch ''
[RELEASE] Creating tag 'project-1.0.4'
[RELEASE] Pushing branch '' to 'git@gitlab.domain.com:project-group/project.git'
Failure in post build SCM action: remote file operation failed: /jenkins/workspace/build-project at hudson.remoting.Channel@3a2b6ce6:build-01
So, we tried to commit from the master node:
[RELEASE] Committing release version on branch ''
[RELEASE] Creating tag 'project-1.0.4'
[RELEASE] Pushing branch '' to 'git@gitlab.domain.com:project-group/project.git'
Failure in post build SCM action: Failed to push: Command "push git@gitlab.domain.com:project-group/project.git refs/heads/" returned status code 128:
stdout:
stderr: fatal: remote part of refspec is not a valid name in refs/heads/
Seems that the plugin can't commit to the master branch (why an empty branch?).
You can find an attached image for the artifactory release staging configuration.
I'm getting something similar, but I'm not sure it is related:
/bin/echo does indeed exist and is executable by the jenkins user.
This started to happen recently after upgrading Jenkins from 1.540 to 1.541 and upgrading some plugins related to git, etc. I have a suspicion that the Artifactory plugin isn't playing well with other plugins after the upgrade. Using Artifactory plugin 2.2.1