[Jenkins] How to setup

There are a few ways to setup jenkins in your machine
1. Download jenkins exectable file to install it as a service in Window/Linux: https://jenkins.io/download/
After installing, run it by browse the address: localhost:8080
Note: you can install expected plugin of jenkins to your machine, then copy to other.
2. Download jenkins.war file to run it via console:
java -jar jenkins.war –httpPort=8081
After running via console, browse the address: localhost:8081
Note: you can install expected plugin of jenkins to your machine, then copy the .war file to other machine to run – But please copy the {$user}/.jenkin folder also to make sure everything work well

Advertisements