Hi

I am trying to fix an issue with the git-parameter plugin (using 
https://github.com/jenkinsci/git-parameter-plugin/tree/preview_0_3).

Listing/sorting the tags work fine if I have a workspace. After deleting 
the workspace the tags are no longer listed an I find the following error 
in my jenkins.log
Caused by: hudson.plugins.git.GitException: Error retrieving tag names
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getTagNames(CliGitAPIImpl.java:1699)
        at 
net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.generateContents(GitParameterDefinition.java:316)
        at 
net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.getTagMap(GitParameterDefinition.java:366)
        ... 163 more
Caused by: hudson.plugins.git.GitException: Error performing command: git 
tag -l J-E3C*
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1283)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1253)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1249)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getTagNames(CliGitAPIImpl.java:1688)
        ... 165 more
Caused by: java.io.IOException: Cannot run program "git" (in directory 
"/home/jenkins/jobs/Elexis-3.0-Core-Releases/workspace"): error=2, No such 
file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
        at hudson.Proc$LocalProc.<init>(Proc.java:244)
        at hudson.Proc$LocalProc.<init>(Proc.java:216)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
        at hudson.Launcher$ProcStarter.start(Launcher.java:353)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1272)

How should I resolve this problem?  Create an empty 
/home/jenkins/jobs/Elexis-3.0-Core-Releases/workspace directory? With which 
API? Or create and cd to a temporary directory?

I would be thankful if you could give a hint to the Jenkins newbie I am.

Thanks in advance.

Niklaus


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to