seanshpark / help

common help
MIT License
4 stars 0 forks source link

Jenkins #10

Open seanshpark opened 4 years ago

seanshpark commented 4 years ago

Setup and run Jenkins as my cron daemon

Good to read

seanshpark commented 4 years ago

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 commented 4 years ago

Login to container

docker exec -it <container name> /bin/bash
seanshpark commented 4 years ago

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 commented 4 years ago

Questions

seanshpark commented 4 years ago

Change timezone for showing times : doesn't work yet