Skip to content

Commit 4f52c3d

Browse files
authored
Merge pull request #12 from thelamer/master
need to follow redirects to get PIP version
2 parents 603ea03 + 6bc8804 commit 4f52c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pipeline {
102102
steps{
103103
script{
104104
env.EXT_RELEASE = sh(
105-
script: '''curl -s https://pypi.python.org/pypi/${EXT_PIP}/json |jq -r '. | .info.version' ''',
105+
script: '''curl -sL https://pypi.python.org/pypi/${EXT_PIP}/json |jq -r '. | .info.version' ''',
106106
returnStdout: true).trim()
107107
env.RELEASE_LINK = 'https://pypi.python.org/pypi/' + env.EXT_PIP
108108
}

0 commit comments

Comments
 (0)