- Download Jenkins [http://mirrors.jenkins.io/war-stable/latest/jenkins.war]
- Open up a terminal in the download directory.
- cd in downloaded jenkins.war directory
- Then run: Run
java -jar jenkins.war --httpPort=8080
- Browse to http://localhost:8080
- Follow the instructions to complete the installation
- Note that the instruction you follow will lead you to creating
Username
andPassword
which you will supply in the script.
Create and activate a virtualenv:
virtualenv env
source env/bin/activate
In terminals, go to the root of your script:
- python jenkins_api_script.py