-
Notifications
You must be signed in to change notification settings - Fork 0
Jenkins
Hunter Wu edited this page Sep 9, 2019
·
2 revisions
docker pull jenkins/jenkins
docker run \
-u root \
--rm \
-d \
-p 8080:8080 \
-p 50000:50000 \
-v jenkins-data:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
jenkins/jenkins
apt install rsync composer
export RSYNC_PASSWORD=rsync_password_here
rsync -rltzuv subdir [email protected]::www/
http://localhost:8080/cli
# install plugin
java -jar jenkins-cli.jar -s http://127.0.0.1:8080/ -auth <user>:<pass> install-plugin http://somewhere/git-parameter.hpi
# restart
java -jar jenkins-cli.jar -s http://127.0.0.1:8080/ -auth <user>:<pass> restart