diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2013-12-10 19:07:20 +0200 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2013-12-10 19:07:20 +0200 |
commit | aee561ce46291ce59297d6b2e3c6f34e0d0db15a (patch) | |
tree | 8200bafad7cbeb72eaa14d9526abf2e5254f32ee /utils/mangle-jobs/build-steps-set.mangle | |
parent | 05bf96b681912b6caff4a53ef2187f9172a1d616 (diff) |
Most of utils migrated to https://git.linaro.org/infrastructure/linaro-jenkins-tools.git
Diffstat (limited to 'utils/mangle-jobs/build-steps-set.mangle')
-rw-r--r-- | utils/mangle-jobs/build-steps-set.mangle | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/utils/mangle-jobs/build-steps-set.mangle b/utils/mangle-jobs/build-steps-set.mangle deleted file mode 100644 index 16f5ec3..0000000 --- a/utils/mangle-jobs/build-steps-set.mangle +++ /dev/null @@ -1,19 +0,0 @@ -# Set latest build steps config for all jobs, as provided in build.xml file - -from lxml.etree import fromstring - - -builders = open("builders.xml").read() - -def mangle(tree): - tags = tree.xpath("//jenkins.plugins.publish__over__ssh.BapSshPublisherPlugin") - for t in tags: - t.getparent().remove(t) - - # Replace existing <builders> content - node = fromstring(builders) - # Add our complete content after the current <builders> - tag = tree.xpath('/project/builders')[0] - tag.addnext(node) - # And now remove the original <builders> - tag.getparent().remove(tag) |