1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00
dockerfiles/jenkins
2024-05-16 18:51:01 +08:00
..
agent update jenkins 2024-05-16 18:51:01 +08:00
docker-compose.yml update jenkins 2024-05-16 18:51:01 +08:00
README.md update jenkins 2024-05-16 18:51:01 +08:00

jenkins

Jenkins is the leading open source automation server. Built with Java, it provides hundreds of plugins to support building, testing, deploying and automation for virtually any project.

Read more about this docker image.

up and running

$ cd ~/fig/jenkins
$ mkdir -p data
$ sudo chown 1000 data
$ docker-compose up -d
$ docker-compose exec jenkins bash
>>> cat ~/secrets/initialAdminPassword
******
>>> ssh-keygen
>>> cat ~/.ssh/id_rsa.pub
......
>>> exit
$ docker-compose exec --user root jenkins apk add -U git
$ curl http://localhost:8080/

fix slow network

$ vim data/war/jsbundles/pluginSetupWizard.js
    // default 10 seconds for AJAX responses to return before triggering an error condition
    var pluginManagerErrorTimeoutMillis = 10 * 1000;

🇨🇳 Chinese users may add -Dhudson.model.DownloadService.noSignatureCheck=true option to use plugin update mirror site.