diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-03-18 16:30:35 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2018-03-18 16:30:35 -0400 |
commit | 4a41e540b20b3b37814ec1fc042ea24723eae9da (patch) | |
tree | 4d6e5126e61b9fb75618cbdd04ab3ab93d00b854 | |
parent | 8aa1eb385c69ddc17e271acad82bade9da7884b8 (diff) | |
download | cryptography-4a41e540b20b3b37814ec1fc042ea24723eae9da.tar.gz cryptography-4a41e540b20b3b37814ec1fc042ea24723eae9da.tar.bz2 cryptography-4a41e540b20b3b37814ec1fc042ea24723eae9da.zip |
i hate groovy and i hate hard to test scripts (#4149)
-rw-r--r-- | .jenkins/Jenkinsfile-cryptography-wheel-builder | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.jenkins/Jenkinsfile-cryptography-wheel-builder b/.jenkins/Jenkinsfile-cryptography-wheel-builder index b0a2fff1..c46238bd 100644 --- a/.jenkins/Jenkinsfile-cryptography-wheel-builder +++ b/.jenkins/Jenkinsfile-cryptography-wheel-builder @@ -16,15 +16,15 @@ def configs = [ ], [ label: 'sierra', - # The py3x version listed here corresponds to the minimum ABI version - # the wheels will support. e.g. py34 supports py34+ + // The py3x version listed here corresponds to the minimum ABI version + // the wheels will support. e.g. py34 supports py34+ versions: ['py27', 'py34'], ], [ label: 'docker', imageName: 'pyca/cryptography-manylinux1:i686', - # The py3x version listed here corresponds to the minimum ABI version - # the wheels will support. e.g. cp34-cp34m supports py34+ + // The py3x version listed here corresponds to the minimum ABI version + // the wheels will support. e.g. cp34-cp34m supports py34+ versions: [ 'cp27-cp27m', 'cp27-cp27mu', 'cp34-cp34m', ], @@ -32,8 +32,8 @@ def configs = [ [ label: 'docker', imageName: 'pyca/cryptography-manylinux1:x86_64', - # The py3x version listed here corresponds to the minimum ABI version - # the wheels will support. e.g. cp34-cp34m supports py34+ + // The py3x version listed here corresponds to the minimum ABI version + // the wheels will support. e.g. cp34-cp34m supports py34+ versions: [ 'cp27-cp27m', 'cp27-cp27mu', 'cp34-cp34m', ], @@ -113,9 +113,9 @@ def build(version, label, imageName) { pip download cryptography==$BUILD_VERSION --no-binary cryptography --no-deps tar zxf cryptography* pushd cryptography* - REGEX="cp3([0-9])*" - if [[ "${version}" =~ $REGEX ]]; then - PY_LIMITED_API="--py-limited-api=cp3${BASH_REMATCH[1]}" + REGEX="py3([0-9])*" + if [[ "${version}" =~ \$REGEX ]]; then + PY_LIMITED_API="--py-limited-api=cp3\${BASH_REMATCH[1]}" fi CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS="1" \ LDFLAGS="/usr/local/opt/openssl@1.1/lib/libcrypto.a /usr/local/opt/openssl@1.1/lib/libssl.a" \ @@ -149,8 +149,8 @@ def build(version, label, imageName) { pushd cryptography* REGEX="cp3([0-9])*" - if [[ "${version}" =~ $REGEX ]]; then - PY_LIMITED_API="--py-limited-api=cp3${BASH_REMATCH[1]}" + if [[ "${version}" =~ \$REGEX ]]; then + PY_LIMITED_API="--py-limited-api=cp3\${BASH_REMATCH[1]}" fi LDFLAGS="-L/opt/pyca/cryptography/openssl/lib" \ CFLAGS="-I/opt/pyca/cryptography/openssl/include -Wl,--exclude-libs,ALL" \ |