[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Signed-off-by: Andrea Bolognani <abologna 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]