diff --git a/Jenkinsfile b/Jenkinsfile index e8379f298..425ff936e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -45,7 +45,7 @@ pipeline { stages { stage('Initial setup') { steps { - sh ''' + sh '''#!/bin/bash source "ci/functions.sh" set_label_flags @@ -90,7 +90,7 @@ pipeline { steps { script { withVault([configuration: configuration, vaultSecrets: secrets]) { - sh ''' + sh '''#!/bin/bash curl -sSL "$CICD_INSTALL_SCRIPT" > .cicd_install_script && source ./.cicd_install_script && rm ./.cicd_install_script export DOCKER_BUILDKIT=1 source $CICD_ROOT/build.sh @@ -110,7 +110,7 @@ pipeline { steps { script { withVault([configuration: configuration, vaultSecrets: secrets]) { - sh ''' + sh '''#!/bin/bash curl -sSL "$CICD_INSTALL_SCRIPT" > .cicd_install_script && source ./.cicd_install_script && rm ./.cicd_install_script RELEASE_NAMESPACE="false" source $CICD_ROOT/deploy_ephemeral_env.sh @@ -133,7 +133,7 @@ pipeline { } steps { withVault([configuration: configuration, vaultSecrets: secrets]) { - sh ''' + sh '''#!/bin/bash mkdir -p "$ARTIFACTS_DIR" source ./ci/functions.sh set +e