Started by user Jerry Edgington Building remotely on zOStest (zOS) in workspace /usr/lpp/tools/jenkins/workspace/GradleTestJava
Wiping out workspace first.
Cloning the remote Git repository Cloning repository ssh://git@server:port/ged/gradletestjava.git > /usr/lpp/tools/git/bin/git init /usr/lpp/tools/jenkins/workspace/GradleTestJava # timeout=10
Fetching upstream changes from ssh://git@server:port/ged/gradletestjava.git > /usr/lpp/tools/git/bin/git --version # timeout=10 > /usr/lpp/tools/git/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials > /usr/lpp/tools/git/bin/git fetch --tags ssh://git@server:port/ged/gradldata:text/mce-internal,tinyMceEditor_1a6cc75c0a6196,git%20+refs/heads/*%3Arefs/remotesetestjava.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "/usr/lpp/tools/git/bin/git fetch --tags ssh://git@server:port/ged/gradletestjava.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Ã/È/%šøÊ?È?Ä?%ÁÊÊ?ÊšÂ/À%Ñ>Á%Á>ÅÈÇÄÇ/Ê/ÄÈÁÊš010f at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2016) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1735) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:420) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:629) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) at hudson.remoting.UserRequest.perform(UserRequest.java:212) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:369) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:277) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.lang.Thread.run(Thread.java:811) Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to zOStest at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:955) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132) at com.sun.proxy.$Proxy98.execute(Unknown Source) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1146) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1208) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1815) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) ERROR: Error cloning remote repo 'origin' Finished: FAILURE
I know what the issue is, git clone command is not running from the directory where the git init was run.
However, I can't find any parm where to add the change directory. This Jenkins build works fine on Linux.
Hello Jerry,
Welcome to the Atlassian Community!
Hm.. I'm not familiar with zOS, but it would appear they have a third party compile Git for it. I'm not sure exactly how to troubleshoot this. I will say, I don't know if this is a zOS git "feature" but where you run a git clone has no bearing on the ability to do so. If you have Git installed, you never have to run git init in a directory prior to running the clone. And the clone will create a new directory where the Git repository will reside.
The stack trace seems to explicitly mention Jenkins, so we can see if it is a "Jenkins on zOS issue" or a "Git on zOS" issue by manually running the clone on the zOS server. You could also use Git client debug logging to see if you can get a more detailed error message (I wouldn't recommend posting the entire output on community though).
Regards,
Aaron Levinson
Dev Tools Support Engineer
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.