From e40ac4fa1de34c742cf4c63b295c437c1e22bc0c Mon Sep 17 00:00:00 2001 From: Andrei Gheorghiu Date: Thu, 13 Oct 2016 13:46:07 +0200 Subject: added eltf jenkins pipeline files --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index e8beaac..c5b6b7f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,8 @@ #!/bin/env groovy +FIRST_JOB_NAME = env.JOB_NAME +//stage "Loading Sripts" -stage "Loading Sripts" +MANIFEST_REPOSITORY = null node ('master') { print 'master node' @@ -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