Add ability to specify dependent jobs in trigger
This patch allows to configure dependent jobs for trigger, which
is especially usefull for case when multiple jobs are triggered
from gerrit.
There is pillar example:
job:
myjob:
trigger:
gerrit:
dependency_job_names:
- job1
* Fix test pillars to use java 11 as 10 is no longer awailable for
download
Change-Id: I7e4c3f08418a3adcb2a041077a25c2a6b752cb0b
diff --git a/tests/pillar/client.sls b/tests/pillar/client.sls
index 37b4a7a..8e5ea64 100644
--- a/tests/pillar/client.sls
+++ b/tests/pillar/client.sls
@@ -68,9 +68,9 @@
java:
environment:
enabled: true
- version: '10'
+ version: '11'
release: '0.1'
- build: '10'
- oracle_hash: 'fb4372174a714e6b8c52526dc134031e'
+ build: '13'
+ oracle_hash: '90cf5d8f270a4347a95050320eef3fb7'
platform: oracle-java
- development: true
\ No newline at end of file
+ development: true
diff --git a/tests/pillar/master.sls b/tests/pillar/master.sls
index 00f0cdd..ded11aa 100644
--- a/tests/pillar/master.sls
+++ b/tests/pillar/master.sls
@@ -45,9 +45,9 @@
java:
environment:
enabled: true
- version: '10'
+ version: '11'
release: '0.1'
- build: '10'
- oracle_hash: 'fb4372174a714e6b8c52526dc134031e'
+ build: '13'
+ oracle_hash: '90cf5d8f270a4347a95050320eef3fb7'
platform: oracle-java
- development: true
\ No newline at end of file
+ development: true
diff --git a/tests/pillar/slave.sls b/tests/pillar/slave.sls
index fe00f46..3d3dcca 100644
--- a/tests/pillar/slave.sls
+++ b/tests/pillar/slave.sls
@@ -19,10 +19,10 @@
java:
environment:
enabled: true
- version: '10'
+ version: '11'
release: '0.1'
- build: '10'
- oracle_hash: 'fb4372174a714e6b8c52526dc134031e'
+ build: '13'
+ oracle_hash: '90cf5d8f270a4347a95050320eef3fb7'
platform: oracle-java
development: true
linux:
@@ -36,4 +36,4 @@
uid: 9991
full_name: Not A. Jenkins
home: /home/notjenkins
- home_dir_mode: 755
\ No newline at end of file
+ home_dir_mode: 755