1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00
dockerfiles/jenkins/README.md

42 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2016-01-30 15:35:25 +00:00
jenkins
=======
2016-06-03 16:25:43 +00:00
![](https://badge.imagelayers.io/jenkinsci/jenkins:latest.svg)
2016-01-30 15:35:25 +00:00
2024-05-16 10:51:01 +00:00
[Jenkins][1] 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](https://github.com/jenkinsci/docker) about this docker image.
2016-04-27 01:02:16 +00:00
## up and running
2017-09-12 07:54:13 +00:00
```bash
2016-04-27 01:02:16 +00:00
$ cd ~/fig/jenkins
$ mkdir -p data
$ sudo chown 1000 data
$ docker-compose up -d
2016-06-03 16:25:43 +00:00
$ docker-compose exec jenkins bash
2016-06-11 00:15:37 +00:00
>>> cat ~/secrets/initialAdminPassword
******
2016-06-03 16:25:43 +00:00
>>> ssh-keygen
2016-06-11 00:15:37 +00:00
>>> cat ~/.ssh/id_rsa.pub
......
2016-06-03 16:25:43 +00:00
>>> exit
2016-05-03 12:38:01 +00:00
$ docker-compose exec --user root jenkins apk add -U git
2024-05-16 10:51:01 +00:00
$ curl http://localhost:8080/
2016-04-27 01:02:16 +00:00
```
2019-10-20 09:09:50 +00:00
## fix slow network
2024-05-16 10:51:01 +00:00
```bash
2019-10-20 09:09:50 +00:00
$ vim data/war/jsbundles/pluginSetupWizard.js
// default 10 seconds for AJAX responses to return before triggering an error condition
var pluginManagerErrorTimeoutMillis = 10 * 1000;
```
2024-05-16 10:51:01 +00:00
> :cn: Chinese users may add `-Dhudson.model.DownloadService.noSignatureCheck=true` option to use [plugin update mirror site][2].
2019-12-03 11:16:02 +00:00
2017-09-12 07:54:13 +00:00
[1]: https://jenkins.io/index.html
2019-12-03 11:16:02 +00:00
[2]: https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/current/update-center.json