diff options
author | Andrei Gheorghiu <andrei.gheorghiu@enea.com> | 2017-05-18 11:10:29 +0200 |
---|---|---|
committer | Andrei Gheorghiu <andrei.gheorghiu@enea.com> | 2017-05-18 11:10:29 +0200 |
commit | 2c3dfc1de72de3c3116894ab8fc2efdee78f23c0 (patch) | |
tree | dd9ee8e47323b7ef73c8db99f6d01c4844f586d2 | |
parent | 91bb13c1e8e45924f4e43496e9a8e21d1986fc3d (diff) | |
download | el_manifests-standard-2c3dfc1de72de3c3116894ab8fc2efdee78f23c0.tar.gz |
added IS_CI property to Jenkinsfile
-rw-r--r-- | Jenkinsfile | 2 |
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 | ||
5 | MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() | 5 | MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() |
6 | 6 | ||
7 | IS_CI = false | ||
8 | |||
7 | def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] | 9 | def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] |
8 | def git_repo_name = git_repo.replace('.git','') | 10 | def git_repo_name = git_repo.replace('.git','') |
9 | env.PROFILE = git_repo_name.split('-')[-1] | 11 | env.PROFILE = git_repo_name.split('-')[-1] |