Error "git-upload-pack not found in <script> at line number 4" While Configuring GitHub Repository in XLR Shared Configuration


Shashank Srivastava -


Under XLR Shared configuration, we can add a GitHub repository. If the URL to the repository is incorrectly specified, we will see an "git-upload-pack not found in <script> at line number 4" error in XLR logs.


Xl Release


To fix this error, make sure the URL to the GitHub repository is correct & there are no typos.


XLR's git client tries to locate the GitHub repository specified in Shared configuration & if that repository is either unreachable or incorrect, we receive this error.

Additional Information

Below logs appear in XLR logging.

com.xebialabs.platform.script.jython.JythonException: Error while executing script [jython-expression]: org.eclipse.jgit.api.errors.TransportException: org.eclipse.jgit.api.errors.TransportException: not found in <script> at line number 4

xlr, github, shared configuration

Have more questions? Submit a request