From 56862fadd6601796c240dfa2abf14a1ce8bfdb8b Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 6 Mar 2018 17:22:05 +0000 Subject: [PATCH] jenkins: Remove redundant Prepare stage --- Jenkinsfile.groovy | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 68be5c8..ea81f66 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -1,15 +1,8 @@ -final String repoName = "kemitix-parent" -final String repoUrl = "git@github.com:kemitix/${repoName}.git" final String mvn = "mvn --batch-mode --update-snapshots" pipeline { agent any stages { - stage('Prepare') { - steps { - git url: repoUrl, branch: '**', credentialsId: 'github-kemitix' - } - } stage('no SNAPSHOT in master') { // checks that the pom version is not a snapshot when the current branch is master // TODO: also check for SNAPSHOT when is a pull request with master as the target branch