summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorAndrei Gheorghiu <andrei.gheorghiu@enea.com>2016-10-18 16:00:14 +0200
committerAndrei Gheorghiu <andrei.gheorghiu@enea.com>2016-10-18 16:00:14 +0200
commit83fdeadfa688667149905fa6af32f0e9b8a5674e (patch)
tree09e2a062dc4c965270faa102febcacb7750cc65e /Jenkinsfile
parent9dbcdedbf1f02dded9cd19d1c0d8d7ca9dbe9b61 (diff)
downloadel_manifests-standard-83fdeadfa688667149905fa6af32f0e9b8a5674e.tar.gz
changed how we get manifest repo url
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 5c4d66c..6497dae 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -9,8 +9,7 @@ def scmInstance = scm.getUserRemoteConfigs()[0]
9MANIFEST_REPOSITORY = scmInstance.getUrl() 9MANIFEST_REPOSITORY = scmInstance.getUrl()
10def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] 10def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1]
11def git_repo_name = git_repo.replace('.git','') 11def git_repo_name = git_repo.replace('.git','')
12def profile = git_repo_name.split('-')[-1] 12env.PROFILE = git_repo_name.split('-')[-1]
13env.PROFILE = profile
14 13
15print "MANIFEST_REPOSITORY: " + MANIFEST_REPOSITORY 14print "MANIFEST_REPOSITORY: " + MANIFEST_REPOSITORY
16print "git_repo_name: " + git_repo_name 15print "git_repo_name: " + git_repo_name