summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorAndrei Gheorghiu <andrei.gheorghiu@enea.com>2016-10-13 13:46:07 +0200
committerAndrei Gheorghiu <andrei.gheorghiu@enea.com>2016-10-13 13:46:07 +0200
commite40ac4fa1de34c742cf4c63b295c437c1e22bc0c (patch)
treed026e507e33b681f4dd1e63687df4928adc68369 /Jenkinsfile
parent29d91e259be9bb50f0bdd13a1903874853e9f2e1 (diff)
downloadel_manifests-standard-e40ac4fa1de34c742cf4c63b295c437c1e22bc0c.tar.gz
added eltf jenkins pipeline files
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index e8beaac..c5b6b7f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,6 +1,8 @@
1#!/bin/env groovy 1#!/bin/env groovy
2FIRST_JOB_NAME = env.JOB_NAME
3//stage "Loading Sripts"
2 4
3stage "Loading Sripts" 5MANIFEST_REPOSITORY = null
4 6
5node ('master') { 7node ('master') {
6 print 'master node' 8 print 'master node'
@@ -10,6 +12,7 @@ node ('master') {
10 def git_repo_name = git_repo.replace('.git','') 12 def git_repo_name = git_repo.replace('.git','')
11 def profile = git_repo_name.split('-')[-1] 13 def profile = git_repo_name.split('-')[-1]
12 env.PROFILE = profile 14 env.PROFILE = profile
15 MANIFEST_REPOSITORY = git_remote_url.trim()
13 sh 'echo $PROFILE' 16 sh 'echo $PROFILE'
14 } 17 }
15} 18}