From 23f5a042088e37c01148596c707bbc09044bea34 Mon Sep 17 00:00:00 2001 From: Andrei Gheorghiu Date: Thu, 13 Oct 2016 16:22:51 +0200 Subject: removed Jenkinsfile content from master branch --- Jenkinsfile | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index c5b6b7f..b46801a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,21 +1,2 @@ #!/bin/env groovy -FIRST_JOB_NAME = env.JOB_NAME -//stage "Loading Sripts" - -MANIFEST_REPOSITORY = null - -node ('master') { - print 'master node' - dir ("../${env.BRANCH_NAME}@script") { - def git_remote_url = sh returnStdout: true, script: "git remote get-url origin" - def git_repo = git_remote_url.trim().split('/')[-1] - def git_repo_name = git_repo.replace('.git','') - def profile = git_repo_name.split('-')[-1] - env.PROFILE = profile - MANIFEST_REPOSITORY = git_remote_url.trim() - sh 'echo $PROFILE' - } -} -fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { - fileLoader.load('el_pipeline.groovy'); -} +print "Not running on master branch yet" -- cgit v1.2.3-54-g00ecf