[JIRA] (JENKINS-60605) GIT_ASKPASS not working anymore

3 views
Skip to first unread message

domi@fortysix.ch (JIRA)

unread,
Dec 30, 2019, 4:11:02 AM12/30/19
to jenkinsc...@googlegroups.com
Dominik Bartholdi created an issue
 
Jenkins / Bug JENKINS-60605
GIT_ASKPASS not working anymore
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2019-12-30 09:10
Environment: jenkins:2.204.1
git:4.0.0
git-client:3.0.0
git-server:1.9
Priority: Critical Critical
Reporter: Dominik Bartholdi

I have a multi branch project setup, within the pipeline I do an additional fetch with the help of 'GIT_ASKPASS' as I described here: https://github.com/imod/jenkins-git-askpass-pipeline-lib

 

with this plugin combination it is working:

  • jenkins:2.176.2
    git:3.12.0
    git-client:2.8.1
    git-server:1.8

 

with this plugin combination it is NOT working anymore:

  • jenkins:2.204.1
    git:4.0.0
    git-client:3.0.0
    git-server:1.9

 
the error I get is this: 

Cloning repository https://bitbucket.org/xxxx/dummy.git
 > git init /home/ec2-user/workspace/org_dummy_develop # timeout=10
Fetching upstream changes from https://bitbucket.org/xxxx/dummy.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials YOOBOT_BITBUCKET
 > git fetch --no-tags --progress -- https://bitbucket.org/xxxx/dummy.git +refs/heads/develop:refs/remotes/origin/develop # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --no-tags --progress -- https://bitbucket.org/xxxx/dummy.git +refs/heads/develop:refs/remotes/origin/develop" returned status code 128:
stdout: 
stderr: fatal: unable to access 'https://bitbucket.org/xxxx/dummy.git/': Failed to connect to bitbucket.org port 443: Connection timed out

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2372)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1985)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:80)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:563)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:787)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:154)
 
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

domi@fortysix.ch (JIRA)

unread,
Dec 30, 2019, 10:12:03 AM12/30/19
to jenkinsc...@googlegroups.com
Dominik Bartholdi closed an issue as Not A Defect
 

this issue was related to a change in the ec2 plugin and has nothing to do with the git plugin

Change By: Dominik Bartholdi
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages