Immo Huneke commented on Bug JENKINS-23188

I have just tried this with the latest versions (Git plugin 2.3.4, Git client plugin 1.15.0, Git parameter plugin 0.3.2) and still get a 401 (unauthorized) status back from github:

Jenkins is fully up and running
Jan 14, 2015 3:45:03 PM INFO hudson.model.DownloadService$Downloadable load
Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
Jan 14, 2015 3:46:00 PM WARNING hudson.plugins.git.GitTool$DescriptorImpl getInstallation
invalid gitTool selection Default
Jan 14, 2015 3:46:00 PM WARNING hudson.plugins.git.GitTool$DescriptorImpl getInstallation
invalid gitTool selection Default
Jan 14, 2015 3:46:00 PM WARNING hudson.plugins.git.GitTool$DescriptorImpl getInstallation
invalid gitTool selection Default
Jan 14, 2015 3:46:04 PM WARNING hudson.plugins.git.GitTool$DescriptorImpl getInstallation
invalid gitTool selection Default
Jan 14, 2015 3:47:46 PM INFO net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition generateContents
generateContents contenttype PT_TAG RemoteConfig [https://github.com/elektron-technology/cloud-handheld.git]
Jan 14, 2015 3:47:47 PM WARNING hudson.ExpressionFactory2$JexlExpression evaluate
Caught exception evaluating: it.tagMap in /jenkins/job/auth-prototype-CI/build. Reason: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
...
	at java.lang.Thread.run(Thread.java:745)
Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git -c core.askpass=true fetch --tags --progress https://github.com/elektron-technology/cloud-handheld.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/elektron-technology/cloud-handheld.git/'

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1457)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1245)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:85)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:280)
	at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.generateContents(GitParameterDefinition.java:325)
	at net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition.getTagMap(GitParameterDefinition.java:392)
	... 161 more

Jan 14, 2015 3:47:55 PM WARNING hudson.plugins.git.GitTool$DescriptorImpl getInstallation
invalid gitTool selection Default

The parameter plugin does not seem to pick up the credentials configured for git access in the project. The git plugin itself however does so successfully.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to