Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins #10

Open
seanshpark opened this issue Sep 6, 2019 · 5 comments
Open

Jenkins #10

seanshpark opened this issue Sep 6, 2019 · 5 comments

Comments

@seanshpark
Copy link
Owner

seanshpark commented Sep 6, 2019

Setup and run Jenkins as my cron daemon

Good to read

@seanshpark
Copy link
Owner Author

seanshpark commented Sep 6, 2019

Install: https://jenkins.io/doc/book/installing/

run -p 8080:8080 jenkinsci/blueocean

Run again

docker run \
  -u root \
  --rm \
  -d \
  -e JENKINS_JAVA_OPTIONS='-Duser.timezone=Asia/Seoul' \
  -p 8080:8080 \
  -p 50000:50000 \
  -v jenkins-data:/var/jenkins_home \
  -v /var/run/docker.sock:/var/run/docker.sock \
  jenkinsci/blueocean

@seanshpark
Copy link
Owner Author

Login to container

docker exec -it <container name> /bin/bash

@seanshpark
Copy link
Owner Author

Shutdown jenkins: https://support.cloudbees.com/hc/en-us/articles/216118748-How-to-Start-Stop-or-Restart-your-Instance-

http://<jenkins.server>/restart
http://<jenkins.server>/safeRestart
http://<jenkins.server>/exit
http://<jenkins.server>/safeExit
http://<jenkins.server>/quietDown
http://<jenkins.server>/cancelQuietDown

@seanshpark
Copy link
Owner Author

seanshpark commented Sep 9, 2019

Questions

  • how to run a script or executable?
  • how to shutdown ?
  • how to change timezone for items that show time ?
  • how to set environment variable ?

@seanshpark
Copy link
Owner Author

Change timezone for showing times : doesn't work yet

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

No branches or pull requests

1 participant