-
Bug
-
Resolution: Fixed
-
Critical
I have an error:
"Command "/usr/bin/git ls-remote -h git@gitlab.site.com:name/project.git" returned status code 128: stdout: stderr: /tmp/ssh5744210594072786682.sh: line 6: ssh: command not found fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
As a result, I have a build error:
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
If I fill the field "Default value" to "master" instead of "**" - I don't have Revision error in build process, but "Git Parameter Plugin's" error above, still exist and I can't choose the branch.
I use:
Git Parameter Plug-In: 0.9.1
Git plugin: 3.8.0
Git client plugin: 2.7.1
- duplicates
-
JENKINS-45480 GIT Build with Parameters is not listing branches
-
- Resolved
-
- is caused by
-
JENKINS-56558 Environment variables get polluted from nodes
-
- Resolved
-
- is related to
-
JENKINS-47399 Using of ssh url with new version of git-parameter plugin
-
- Resolved
-
- relates to
-
JENKINS-56558 Environment variables get polluted from nodes
-
- Resolved
-
[JENKINS-50711] plugin doesn't work with ssh link to git repo
Link |
New:
This issue is related to |
Attachment | New: parameter-plugin-bug.txt [ 42135 ] |
Labels | New: ssh_error |
Link |
New:
This issue duplicates |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Hi,
I can't reproduce this issue, but I found code smells, which can provide to unexpected behavior. commit: f85678c3 I changed it in release 0.9.10.
Additional I changed error handling, please look on wiki page
If this issue steal occurred in your environment after update the plugin. Please add more information which I can use to reproduce this issue and reopen this issue.