diff --git a/goofy-client/apps/goofy-e2e/Jenkinsfile b/goofy-client/apps/goofy-e2e/Jenkinsfile index e682e2941e156eb81f7e3fb2b56053a3da150535..ce4ff6e2b0f125ada267c4f3fee2e1ac5889ea4d 100644 --- a/goofy-client/apps/goofy-e2e/Jenkinsfile +++ b/goofy-client/apps/goofy-e2e/Jenkinsfile @@ -27,9 +27,25 @@ pipeline { timeout(time: 1, unit: 'HOURS') disableConcurrentBuilds() buildDiscarder(logRotator(numToKeepStr: '5')) + skipDefaultCheckout(true) } stages { + stage('Checkout SCM') { + when { + anyOf { + triggeredBy 'BuildUpstreamCause' + triggeredBy cause: "UserIdCause" + } + } + steps { + script { + FAILED_STAGE = env.STAGE_NAME + + checkout scm + } + } + } stage("Clone Gitops Repo") { when { anyOf {