Skip to content

Commit 380ad32

Browse files
committed
fix set_branch
1 parent 4352c39 commit 380ad32

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

jenkins-cli/jenkins_cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ def set_branch(self, args):
122122
if revision is not None:
123123
revision.text = args.branch_name
124124
new_xml = ElementTree.tostring(root)
125+
self.jenkins.reconfig_job(job_name, new_xml)
125126
print 'Done'
126127
if new_xml is None:
127128
print "Can not set revision info"

0 commit comments

Comments
 (0)