aboutsummaryrefslogtreecommitdiff
path: root/utils/mangle-jobs/artifacts-set.mangle
blob: 4a5c7071698b7b20a7f4eab50e1d6f258787fc6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Update list of archived artifacts
# Note - since we stopped to use native Jenkins archiving,
# this script is no longer used

new_value = "build/out/target/*/*/*.img," \
    "build/out/target/*/*/*.tar.bz2," \
    "build/out/target/*/*/MD5SUMS," \
    "build/out/*.tar.bz2," \
    "build/out/*.xml," \
    "build/out/*_config," \
    "build/out/lava-job-info"

def mangle(tree):
    tags = tree.xpath('/project/publishers/hudson.tasks.ArtifactArchiver/artifacts')
    tags[0].text = new_value