[libvirt] [jenkins-ci PATCH 7/3] guests: Only enable jessie-backports for 'jenkins' flavor

Andrea Bolognani abologna at redhat.com
Wed Mar 21 12:20:00 UTC 2018


We only need jessie-backports for the JDK, and we only need the
JDK for the Jenkins agent.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/tasks/base.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guests/tasks/base.yml b/guests/tasks/base.yml
index 0c82b58..debf6e4 100644
--- a/guests/tasks/base.yml
+++ b/guests/tasks/base.yml
@@ -75,6 +75,7 @@
   when:
     - os_name == 'Debian'
     - os_version == '8'
+    - flavor == 'jenkins'
 
 - name: Configure APT pinning for jessie-backports
   copy:
@@ -85,6 +86,7 @@
   when:
     - os_name == 'Debian'
     - os_version == '8'
+    - flavor == 'jenkins'
 
 - name: Enable fedora-rawhide-kernel-nodebug repository
   copy:
-- 
2.14.3




More information about the libvir-list mailing list