summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gheorghiu <andrei.gheorghiu@enea.com>2016-10-13 16:22:51 +0200
committerAndrei Gheorghiu <andrei.gheorghiu@enea.com>2016-10-13 16:22:51 +0200
commit23f5a042088e37c01148596c707bbc09044bea34 (patch)
tree7567cc722ce20bdad146c7a8b14b6a8a73d1dacc
parente40ac4fa1de34c742cf4c63b295c437c1e22bc0c (diff)
downloadel_manifests-standard-23f5a042088e37c01148596c707bbc09044bea34.tar.gz
removed Jenkinsfile content from master branch
-rw-r--r--Jenkinsfile21
1 files changed, 1 insertions, 20 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index c5b6b7f..b46801a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,21 +1,2 @@
1#!/bin/env groovy 1#!/bin/env groovy
2FIRST_JOB_NAME = env.JOB_NAME 2print "Not running on master branch yet"
3//stage "Loading Sripts"
4
5MANIFEST_REPOSITORY = null
6
7node ('master') {
8 print 'master node'
9 dir ("../${env.BRANCH_NAME}@script") {
10 def git_remote_url = sh returnStdout: true, script: "git remote get-url origin"
11 def git_repo = git_remote_url.trim().split('/')[-1]
12 def git_repo_name = git_repo.replace('.git','')
13 def profile = git_repo_name.split('-')[-1]
14 env.PROFILE = profile
15 MANIFEST_REPOSITORY = git_remote_url.trim()
16 sh 'echo $PROFILE'
17 }
18}
19fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') {
20 fileLoader.load('el_pipeline.groovy');
21}