From a7e9a22886418b43ecdebd4ea3b5acba5425e822 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 1 Jun 2017 11:02:15 -0400 Subject: Simplify git clones in Jenkinsfile (#3654) --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 351e2323..458edfb4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -99,7 +99,7 @@ def downstreams = [ label: 'docker', imageName: 'pyca/cryptography-runner-ubuntu-rolling', script: """#!/bin/bash -xe - git clone --depth=1 https://github.com/pyca/pyopenssl.git pyopenssl + git clone --depth=1 https://github.com/pyca/pyopenssl cd pyopenssl virtualenv .venv source .venv/bin/activate @@ -114,7 +114,7 @@ def downstreams = [ label: 'docker', imageName: 'pyca/cryptography-runner-ubuntu-rolling', script: """#!/bin/bash -xe - git clone --depth=1 https://github.com/twisted/twisted.git twisted + git clone --depth=1 https://github.com/twisted/twisted cd twisted virtualenv .venv source .venv/bin/activate @@ -129,7 +129,7 @@ def downstreams = [ label: 'docker', imageName: 'pyca/cryptography-runner-ubuntu-rolling', script: """#!/bin/bash -xe - git clone --depth=1 https://github.com/paramiko/paramiko.git paramiko + git clone --depth=1 https://github.com/paramiko/paramiko cd paramiko virtualenv .venv source .venv/bin/activate @@ -145,7 +145,7 @@ def checkout_git(label) { def script = "" if (env.BRANCH_NAME.startsWith('PR-')) { script = """ - git clone --depth=1 https://github.com/pyca/cryptography.git cryptography + git clone --depth=1 https://github.com/pyca/cryptography cd cryptography git fetch origin +refs/pull/${env.CHANGE_ID}/merge: git checkout -qf FETCH_HEAD -- cgit v1.2.3