The following does not work while running inside a container from a 
scripted Jenkinsfile.  The operation simply hangs (or at least I should say 
I haven't waited long enough for it to timeout.)

docker.image("container.jfrog.io/build-images/python:11.4.2").inside() {

                  sh(" pip install -r requirements.txt --extra-index-url 
https://[email protected]/company/api/pypi/python/simple";)

}

If I remove the extra-index-url then the operation completes. What is 
interesting is the first listing in my requirements.txt is not an artifact 
in my own private repo, but rather one in pypi. 

Running the command from the same image locally works, without issue.



-- 
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/ca8cd028-8351-4e40-9bd6-526731835220%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to