Skip to content

Commit

Permalink
need to follow redirects for pip endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Dec 4, 2018
1 parent 944d651 commit eb616ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/generate-jenkins/templates/Jenkinsfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ pipeline {
steps{
script{
env.EXT_RELEASE = sh(
script: '''curl -s https://pypi.python.org/pypi/${EXT_PIP}/json |jq -r '. | .info.version' ''',
script: '''curl -sL https://pypi.python.org/pypi/${EXT_PIP}/json |jq -r '. | .info.version' ''',
returnStdout: true).trim()
env.RELEASE_LINK = 'https://pypi.python.org/pypi/' + env.EXT_PIP
}
Expand Down

0 comments on commit eb616ea

Please sign in to comment.