Switch the patch-test to use job prefix 53/67553/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 24 Jan 2018 19:37:58 +0000 (14:37 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 24 Jan 2018 19:38:20 +0000 (14:38 -0500)
commit7c57c9ca14f94103caddfa55e8949492f127f49f
tree61f771858cce2d280724952c985f43a8cce72bad
parent49b202dd2d45a58309817c5034efab9a03f5c571
Switch the patch-test to use job prefix

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-patch-test 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: I2abf886229e496868841f76888fe38deba208301
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
12 files changed:
jjb/aaa/aaa-patch-test.yaml
jjb/bgpcep/bgpcep-patch-test.yaml
jjb/genius/genius-patch-test.yaml
jjb/infrautils/infrautils-patch-test.yaml
jjb/integration/integration-templates.yaml
jjb/l2switch/l2switch-patch-test.yaml
jjb/netconf/netconf-patch-test.yaml
jjb/netvirt/netvirt-patch-test.yaml
jjb/openflowplugin/openflowplugin-patch-test.yaml
jjb/ovsdb/ovsdb-patch-test.yaml
jjb/sfc/sfc-patch-test.yaml
jjb/vtn/vtn-patch-test.yaml