summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gheorghiu <andrei.gheorghiu@enea.com>2017-05-18 11:10:29 +0200
committerAndrei Gheorghiu <andrei.gheorghiu@enea.com>2017-05-18 11:10:29 +0200
commit2c3dfc1de72de3c3116894ab8fc2efdee78f23c0 (patch)
treedd9ee8e47323b7ef73c8db99f6d01c4844f586d2
parent91bb13c1e8e45924f4e43496e9a8e21d1986fc3d (diff)
downloadel_manifests-standard-2c3dfc1de72de3c3116894ab8fc2efdee78f23c0.tar.gz
added IS_CI property to Jenkinsfile
-rw-r--r--Jenkinsfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 0a139b6..4de9ef1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -4,6 +4,8 @@
4 4
5MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() 5MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl()
6 6
7IS_CI = false
8
7def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] 9def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1]
8def git_repo_name = git_repo.replace('.git','') 10def git_repo_name = git_repo.replace('.git','')
9env.PROFILE = git_repo_name.split('-')[-1] 11env.PROFILE = git_repo_name.split('-')[-1]