Switch the csit-1node-periodic to use job prefix 46/67546/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 24 Jan 2018 19:20:03 +0000 (14:20 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 24 Jan 2018 19:20:03 +0000 (14:20 -0500)
Idea to add a new variable "{prefix}" to job templates. This
variable is defined already in defaults.yaml.
The prefix should always be blank in production thus producing the
same existing job names we are all used to. The prefix can be used
locally to add a prefix to job names when pushing jobs to the
sandbox. For example a prefix of "abc-" will be added to the front
of the job name allowing sandbox testers to be able to push a job
to the sandbox with a unique prefix to not overwrite other testers.

Additionally add an id inttest-csit-1node-periodic to make the job
template more easy to maintain. Allows us to refactor the job
template name without having to update every single user of the
template every time as the id will always be the same.

Change-Id: I462a6bf817fa0922cc62bb39062e516ba14521ac
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/bgpcep/bgpcep-csit-bgp-ingest-mixed.yaml
jjb/bgpcep/bgpcep-csit-bgp-ingest.yaml
jjb/bgpcep/bgpcep-csit-throughpcep.yaml
jjb/controller/controller-csit-periodic-dsbenchmark.yaml
jjb/integration/integration-templates.yaml
jjb/l2switch/l2switch-csit-host-scalability-daily.yaml
jjb/mdsal/mdsal-csit-bindingv1.yaml
jjb/netconf/netconf-scale.yaml
jjb/sxp/sxp-csit-performance.yaml
jjb/yangtools/yangtools-csit-system.yaml

index 92a150ae999ac707c933edcc9c2759bfc8d850ef..dc8bd41a11521d94cf4c54a99f19995d4de0559f 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: bgpcep-csit-bgp-ingest-mixed
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
       # FIXME: Rename job to drop -periodic- and unify job definition with -gate- functionality.
 
     # The project name
index a7e10c9a700ffa60afc17044848113d7d5101997..f835ad75778a19ba174eae39de615a9d0e7481cb 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: bgpcep-csit-bgp-ingest
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
       # FIXME: Dicument differences from -mixed- and unify into single (matrix) definition.
 
     # The project name
index eca4d8bbea733f4208632f68a083591e12b7abc2..5ea5cc3dcde318993b62cf858a04f246c5133280 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: bgpcep-csit-throughpcep
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
       # FIXME: Rename job to drop -periodic- and unify job definition with -gate- functionality.
 
     # The project name
index bc7901bb24d49b70dd214739910372aeef349e58..65c593e3f74a68e2dbe6fb65c9ef2b6e066f12d3 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: mdsal-csit-periodic-dsbenchmark
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
 
     # The project name
     project: 'controller'
index 1910b02f425449539d886ca547ae7a9a9869c290..0ea3eaa645a9ef778152bd062fc6328ba23db02b 100644 (file)
       - lf-infra-publish
 
 - job-template:
-    name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+    name: '{prefix}{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+    id: inttest-csit-1node-periodic
     disabled: false
 
     project-type: freestyle
index f5901407518277cfac240d0e24447fd3002d08f6..6ef4b908c9849be599f3c28ed640bf873ad012d6 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: l2switch-csit-host-scalability-daily
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
 
     # The project name
     project: 'l2switch'
index 0d130e14f4c1d472f40b764b669ff35038ffd339..9cfbaaff2b05fc5f884c81dfd9e45b83c7dae1b2 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: mdsal-csit-bindingv1
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
 
     # The project name
     project: 'mdsal'
index a0dee25978e73e228f405a1e19d4302aae0a319d..e18b10083b6aa6d5be378dbddbea5e40675af406 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: netconf-csit-scale
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
 
     # The project name
     project: 'netconf'
index 50fc054c590eedfbe7d45d5ac656235bcbd561c4..7b909d0ef846f6be6928ddeba78595c1d44b9885 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: sxp-csit-performance
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
 
     # The project name
     project: 'sxp'
index 333bae4a1afc2fa1780497371f2595bfcc64e80a..c2d51a1c7726edac2466c349703823fbb8e1e795 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: yangtools-csit-system
     jobs:
-      - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+      - inttest-csit-1node-periodic
 
     # The project name
     project: 'yangtools'