blob: 0ec0810c5ff0caa73684781e5080ce7c909fde85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Disable Jenkins builtin artifact archiving (part of migration to snapshots.linaro.org)
from mangle_helper import *
def mangle(tree):
cfg = get_build_config(tree)
if cfg.get("BUILD_TYPE", "build-android") != "build-android":
return
tags = tree.xpath('//hudson.tasks.ArtifactArchiver')
if not tags:
return
tags[0].getparent().remove(tags[0])
|