summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2014-04-26 11:07:12 +0200
committerHelmut Grohne <helmut@subdivi.de>2014-04-26 11:07:12 +0200
commit02bb870e37246867864e1a2a587f34ffb3c7b039 (patch)
treea21f3ee7076f91e1f6268ad19329b7d607a4d66e
parent85bef0e77eee5fd7b63c1421ceb4b7445240f4f3 (diff)
downloadjenkins.debian.net-02bb870e37246867864e1a2a587f34ffb3c7b039.tar.xz
rebootstrap: give a stable yaml file by sorting
-rwxr-xr-xjob-cfg/rebootstrap.yaml.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/job-cfg/rebootstrap.yaml.py b/job-cfg/rebootstrap.yaml.py
index 8508e220..8b5fde59 100755
--- a/job-cfg/rebootstrap.yaml.py
+++ b/job-cfg/rebootstrap.yaml.py
@@ -71,8 +71,8 @@ print("""
- pollscm: '*/6 * * * *'
""")
-for arch in architectures:
- for gccver in gcc_versions:
+for arch in sorted(architectures):
+ for gccver in sorted(gcc_versions):
for nobiarch in ["", "_nobiarch"]:
print("""
- job-template:
@@ -85,8 +85,8 @@ print("""
name: rebootstrap
do_not_edit: '<br><br>Job configuration source is <a href="http://anonscm.debian.org/gitweb/?p=qa/jenkins.debian.net.git;a=blob;f=job-cfg/rebootstrap.yaml.py">rebootstrap.yaml.py</a>.'
jobs:""")
-for arch in architectures:
- for gccver in gcc_versions:
+for arch in sorted(architectures):
+ for gccver in sorted(gcc_versions):
for nobiarch in (False,) if arch in mono_architectures else (False, True):
print(
""" - '{name}_%(suffix)s':