From e00f9b39d88b3d16221c40596eba91c89abc1d06 Mon Sep 17 00:00:00 2001 From: Chris Love Date: Fri, 9 Sep 2016 10:51:13 -0600 Subject: [PATCH] removing Jenkinsfile that we do not need (#69) --- test/Jenkinsfile | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 test/Jenkinsfile diff --git a/test/Jenkinsfile b/test/Jenkinsfile deleted file mode 100644 index ed183b2998..0000000000 --- a/test/Jenkinsfile +++ /dev/null @@ -1,29 +0,0 @@ -node { - stage 'Checkout code' - checkout scm - - stage 'Download latest helm' - def helmObject = 'helm-v2.0.0-alpha.3-linux-amd64.tar' - def helmUrl = "https://storage.googleapis.com/kubernetes-charts-ci/helm/${helmObject}" - sh "wget -q ${helmUrl}" - sh "tar xfv ${helmObject}" - - stage 'Install helm' - sh './linux-amd64/helm init' - - // Get list of changed applications - def upstreamBranch = "origin/master" - def applications = sh(script: "git diff --name-only ${upstreamBranch} | grep / | awk -F/ '{print \$1}' | uniq", returnStdout: true).trim().split() - - for (int i = 0; i < applications.size(); i++) { - def application = applications[i] - stage 'Run lint on application' - sh "./linux-amd64/helm lint ${application}" - - stage 'Install application' - def releaseName = sh(script: "./linux-amd64/helm install ${application}", returnStdout: true).trim() - - stage 'Uninstall application' - sh "./linux-amd64/helm delete ${releaseName}" - } -}