summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 1be15ad..c5b6b7f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -2,6 +2,8 @@
2FIRST_JOB_NAME = env.JOB_NAME 2FIRST_JOB_NAME = env.JOB_NAME
3//stage "Loading Sripts" 3//stage "Loading Sripts"
4 4
5MANIFEST_REPOSITORY = null
6
5node ('master') { 7node ('master') {
6 print 'master node' 8 print 'master node'
7 dir ("../${env.BRANCH_NAME}@script") { 9 dir ("../${env.BRANCH_NAME}@script") {
@@ -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}