From ecfc1f2b709a5fb8073d62b831b8a0bc79ad7626 Mon Sep 17 00:00:00 2001 From: Andrei Gheorghiu Date: Wed, 12 Oct 2016 10:06:39 +0200 Subject: getting MANIFEST_REPOSITORY straight from git now --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 1be15ad..c5b6b7f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,6 +2,8 @@ FIRST_JOB_NAME = env.JOB_NAME //stage "Loading Sripts" +MANIFEST_REPOSITORY = null + node ('master') { print 'master node' dir ("../${env.BRANCH_NAME}@script") { @@ -10,6 +12,7 @@ node ('master') { def git_repo_name = git_repo.replace('.git','') def profile = git_repo_name.split('-')[-1] env.PROFILE = profile + MANIFEST_REPOSITORY = git_remote_url.trim() sh 'echo $PROFILE' } } -- cgit v1.2.3-54-g00ecf