Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Demo jenkins login #6

Closed
rahulaga opened this issue Dec 4, 2019 · 5 comments
Closed

Demo jenkins login #6

rahulaga opened this issue Dec 4, 2019 · 5 comments

Comments

@rahulaga
Copy link

rahulaga commented Dec 4, 2019

I started the jenkins provided here https://hub.docker.com/r/springcloud/spring-cloud-pipeline-jenkins/

What is the jenkins login for this image?

Thanks

@marcingrzejszczak
Copy link
Contributor

which username and password are you referring to?

@rahulaga
Copy link
Author

rahulaga commented Dec 5, 2019

After I start that image and goto localhost:8080 its asking for a username/password.

Did this following jenkins install page:

  -u root \
  -d \
  -p 8080:8080 \
  -p 50000:50000 \
  -v jenkins-data:/var/jenkins_home \
  -v /var/run/docker.sock:/var/run/docker.sock \
  springcloud/spring-cloud-pipeline-jenkins

@marcingrzejszczak
Copy link
Contributor

So if you build the docker image from sources, what you can do is uncomment this line https://github.com/CloudPipelines/jenkins/blob/master/demo/Dockerfile#L96 and run this script https://github.com/CloudPipelines/jenkins/blob/master/demo/start.sh and it works fine

Can you paste the exact command that you're running? I'm more than certain that you have the password printed in the log.

@marcingrzejszczak
Copy link
Contributor

I've executed docker run -u root -p 8080:8080 -p 50000:50000 -v /var/run/docker.sock:/var/run/docker.sock springcloud/spring-cloud-pipeline-jenkins and I'm logging to jenkins at localhost:8080 without any username and password

@rahulaga
Copy link
Author

Thanks! It was the jenkins-data from my previous attempt. Not sure why it did not login though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants