Merge pull request #12 from thelamer/master

need to follow redirects to get PIP version
This commit is contained in:
Homer 2018-12-04 10:23:17 +00:00 committed by GitHub
commit 4f52c3d1e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View File

@ -102,7 +102,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
}