Skip to content

Commit eb616ea

Browse files
committed
need to follow redirects for pip endpoints
1 parent 944d651 commit eb616ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/generate-jenkins/templates/Jenkinsfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ pipeline {
229229
steps{
230230
script{
231231
env.EXT_RELEASE = sh(
232-
script: '''curl -s https://pypi.python.org/pypi/${EXT_PIP}/json |jq -r '. | .info.version' ''',
232+
script: '''curl -sL https://pypi.python.org/pypi/${EXT_PIP}/json |jq -r '. | .info.version' ''',
233233
returnStdout: true).trim()
234234
env.RELEASE_LINK = 'https://pypi.python.org/pypi/' + env.EXT_PIP
235235
}

0 commit comments

Comments
 (0)