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

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

 



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

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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux