-
Bug
-
Resolution: Unresolved
-
Major
-
Ubuntu 12.04, Jenkins 1.536, Jenkins Artifactory Plugin 2.2.0
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.