summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile17
1 files changed, 3 insertions, 14 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 4de9ef1..9ae9f8b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,21 +1,10 @@
1#!/bin/env groovy 1#!/bin/env groovy
2 2
3//This script is used internally by Enea for automated tests on Linux builds 3// This script is used internally by Enea for automated tests on Linux builds
4 4
5MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() 5MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl()
6
7IS_CI = false
8
9def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1]
10def git_repo_name = git_repo.replace('.git','')
11env.PROFILE = git_repo_name.split('-')[-1]
12BRANCH = env.BRANCH_NAME 6BRANCH = env.BRANCH_NAME
13 7
14fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { 8fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') {
15 fileLoader.load('freeze_manifest.groovy'); 9 fileLoader.load('eltf-jenkins03');
16}
17
18fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') {
19 fileLoader.load('eltf_pipeline.groovy');
20} 10}
21