About
installation of Jenkins Windows
Articles Related
Steps
Install as a service
java -jar jenkins.war --httpPort=8080
- Go to the Manage Jenkins page
- Install it as a service (it will be installed on the port 8080)
- Change the service argument in this file: C:\Users\gerard\.jenkins\jenkins.xml such as the httpPort.
Configuration: such as port, JVM options, HTTPS setup, etc. See jenkins.xml located in the installation directory.
Environment variable
- Add to the PATH environment variable for the system.
# the Git-bash (or Cygwin) for nohup
C:\cmder\vendor\git-for-windows\usr\bin\
Docker
Jenkins docker is based on docker-java library
- Add to the PATH environment variable for the system the path to docker
C:\DockerToolbox\
- Add the following environment variables. You get them with a docker-machine env command
:: Will try to connect via TLS = 1, will not TLS = 0
SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://192.168.99.100:2376
SET DOCKER_CERT_PATH=C:\Users\gerard\.docker\machine\machines\default
SET DOCKER_MACHINE_NAME=default
SET COMPOSE_CONVERT_WINDOWS_PATHS=true
SET DOCKER_TOOLBOX_INSTALL_PATH=C:\DockerToolbox
Go to Manage Jenkins > Configure System > Extended Email Configuration > Extended