All apps · 0 apps
binhex-jenkins
Docker app from Binhex's Repository
Overview
Readme
View on GitHubApplication
Description
Jenkins is an open source continuous integration tool written in Java. The project was forked from Hudson after a dispute with Oracle. Jenkins provides continuous integration services for software development. It is a server-based system running in a servlet container such as Apache Tomcat.
Build notes
Latest stable release of Jenkins from Arch Linux Repo.
Usage
docker run -d \
--name=<container name> \
-v <path for config files>:/config \
-v /etc/localtime:/etc/localtime:ro \
-e JAVA_ARGS=<java arguments> \
-e JAVA_OPTS=<java options> \
-e HEALTHCHECK_COMMAND=<command> \
-e HEALTHCHECK_ACTION=<action> \
-e HEALTHCHECK_HOSTNAME=<hostname> \
-e UMASK=<umask for created files> \
-e PUID=<uid for user> \
-e PGID=<gid for user> \
binhex/arch-jenkins
Please replace all user variables in the above command defined by <> with the correct values.
Access application
http://<host ip>:8090
Example
docker run -d \
--name=jenkins \
-v /apps/docker/jenkins:/config \
-v /etc/localtime:/etc/localtime:ro \
-e JAVA_ARGS=-Xmx512m \
-e JAVA_OPTS=-Dhudson.footerURL=\
[http://mycompany.com](http://mycompany.com) \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-jenkins
Notes
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-
id <username>
If you appreciate my work, then please consider buying me a beer :D
Categories
Download Statistics
Total Downloads Over Time
Related apps
Explore more like this
Explore allLinks
Details
ghcr.io/binhex/arch-jenkinsRuntime arguments
- Web UI
http://[IP]:[PORT:8090]- Network
bridge- Shell
bash- Privileged
- true
- Extra Params
--restart=unless-stopped
Template configuration
This is the Web UI port for the application.
- Target
- 8090
- Default
- 8090
This is the container path to your configuration files, e.g. databases, configuration files, logs etc.
- Target
- /config
- Default
- /mnt/user/appdata/jenkins
Specify the Java arguments for Jenkins.
- Target
- JAVA_ARGS
- Default
- -Xmx512m
Specify the Java options for Jenkins.
- Target
- JAVA_OPTS
- Default
- -Dhudson.footerURL=http://mycompany.com
Enable or disable healthchecks.
- Target
- ENABLE_HEALTHCHECK
- Default
- yes|no
The command or script to execute, if not specified then the script healthcheck.sh will be used (process, dns and https checking).
- Target
- HEALTHCHECK_COMMAND
The action to execute if the healthcheck command returns a non zero exit code, if not specified the action will be 'exit 1', if you want the container to exit on failure then set the action to 'kill 1'.
- Target
- HEALTHCHECK_ACTION
The hostname used when performing HTTPS and DNS healthchecking.
- Target
- HEALTHCHECK_HOSTNAME
- Default
- google.com
User ID for the running container
- Target
- PUID
- Default
- 99
Group ID for the running container
- Target
- PGID
- Default
- 100
UMASK for the running container
- Target
- UMASK
- Default
- 000
