Jenkins Workspaces(Issue in credential creation)


#unable to create credentials.
#Hi im trying to add Git Credentials using
sarah
password: Sarah_pass123
#when i press enter after what i did on this page im getting error shown in first screenshot “Credentials Creation failed "

" Also while downloading the Git plug in I was unable to download these

Can you guide if this is the right way of adding credentials or should i change anything in the above screenshot.
Im suspecting is because of this unfinished or partial download of Git plugin , im unable to add new credentials”

" If yes whats the work around?
#I See some people tried to do the task using CLI , is there someone who can guide on alternate ways.

Hi @Vishnu-Kosuri

It seems like the issue is with Jenkins, I faced the same problem recently. I fixed it by creating the credentials from Jenkins by going to: Settings → Credentials. Try that and see if it helps. If you’re still having trouble, please share the lab link, course level, and task name (if it’s from KKE), so we can take a closer look.

1 Like

@raymond.baoly I tried the lab several times.
I created credentials (by adding sarah’s credentials through setting>credentials) despite even building successully im unable to finish the task .
Lab link
course level: 2 in Jenkins
task: 3 Jenkins Workspaces

here is how i configured the job,


(added sarah credentials not here as it was giving an error, hence added credentials from , setting > credentials)


post build command steps above.

And installed “publish over ssh” plug in and then updated the manage jenkins>system>Went to publish over SSH section and added ssh server name as “ststor01” then clicked “advanced” section in “publish over ssh” section, added user name “natasha” password “Bl@kW” and when i ran connection test it was successful .
In fact the builds were right too as builds were succeful too, but got this error as validation check failed , “- Seems like jenkins job is not configured to deploy correct branch as per ‘version1’ parameter selection, check on LBR URL for confirmation.”
can you please confirm how to configure the job to use the right workspace, as when builds were successful the i could even see the workspace created however landed with above error, please help or if not this is a validation error.
Also i installed 2 plugins “publish over ssh” and “git”