Slightly strange request perhaps. I have a scripted pipeline job which 
which pulling Red Hat RPM files from various places and packaging them up 
into signed yum repos, which it then tars up ready for sending across to an 
air-gapped system. 

We also have a bunch of Ansible code, which is checked into a gitlab repo 
(and tagged with the release version we're using).

What I'd like to do from within my code is to "git clone" my repo, and then 
"git pull v1.1" (for example), but when I try that from the Jenkins slave 
console it just says `Initialized empty Git repository in 
/var/lib/Jenkins/` for the clone, and the pull times out with a 500 gateway 
error. 

I'm looking at the gitlab plugin to see if that will give me what I need, 
but that seems to be more about triggering builds based on checkin, which I 
don't need. 

I'm getting in a muddle, has anyone done something similar? 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/36311e44-92d9-4a75-ac64-5bc1db095036%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to