[libvirt] [jenkins-ci PATCH 4/8] guests: Use "git_branch" when building

Andrea Bolognani abologna at redhat.com
Wed Aug 29 15:09:01 UTC 2018


This makes the build process use the value provided by
the user through lcitool instead of the default.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/playbooks/build/jobs/prepare.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guests/playbooks/build/jobs/prepare.yml b/guests/playbooks/build/jobs/prepare.yml
index 01e667d..7782c0f 100644
--- a/guests/playbooks/build/jobs/prepare.yml
+++ b/guests/playbooks/build/jobs/prepare.yml
@@ -2,7 +2,7 @@
 - name: '{{ name }}-prepare{{ variant }}'
   git:
     repo: '{{ git_url }}'
-    version: '{{ branch }}'
+    version: '{{ git_branch }}'
     dest: '{{ name }}{{ variant }}'
     force: yes
   when:
-- 
2.17.1




More information about the libvir-list mailing list