This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am timp21337 on github. | |
| * I am timp21337 (https://keybase.io/timp21337) on keybase. | |
| * I have a public key whose fingerprint is 5950 E61D 194F EC90 6F00 20B1 F713 BE10 0ADE B338 | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| #-*-coding:utf-8-*- | |
| import urllib, json , os | |
| from shutil import rmtree | |
| url = 'http://yourjenkinsbaseurl/api/python?pretty=true' | |
| jenkins_workspace_path = '/var/lib/jenkins/workspaces/' | |
| data = eval(urllib.urlopen(url).read()) | |
| jobnames = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| #-*-coding:utf-8-*- | |
| import urllib, json , os | |
| from shutil import rmtree | |
| url = 'http:/yourjenkinsbaseurl/api/python?pretty=true' | |
| jenkins_workspace_path = '/data/jenkins/workspace/' | |
| data = eval(urllib.urlopen(url).read()) | |
| jobnames = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
| sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' | |
| sudo apt-get update | |
| sudo apt-get install jenkins |