Moved commit hook scripts to dev_tools directory
This commit is contained in:
parent
c161b664d5
commit
ba84e609e7
3 changed files with 0 additions and 1 deletions
13
dev_tools/postCommitBuildTrigger.py
Normal file
13
dev_tools/postCommitBuildTrigger.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# ./postCommitBuildTrigger.py http://bamoo.atlassian.com/bamboo/ myBuildName
|
||||
|
||||
import sys
|
||||
import urllib;
|
||||
|
||||
baseUrl = sys.argv[1]
|
||||
buildKey = sys.argv[2]
|
||||
|
||||
remoteCall = baseUrl + "/api/rest/updateAndBuild.action?buildKey=" + buildKey
|
||||
fileHandle = urllib.urlopen(remoteCall)
|
||||
fileHandle.close()
|
Loading…
Add table
Add a link
Reference in a new issue