From 9e678d437fcce9f0d0ac3b16e81b95271e624a44 Mon Sep 17 00:00:00 2001 From: Andrei Gheorghiu Date: Wed, 29 Nov 2017 13:33:06 +0100 Subject: changed Jenkinsfile to run on eltf-jenkins03 and added PROFILE to eltf.conf for easier management --- Jenkinsfile | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 99796df..9ae9f8b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,28 +3,8 @@ // This script is used internally by Enea for automated tests on Linux builds MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() - -IS_CI = false - -def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] -def git_repo_name = git_repo.replace('.git','') -def profile_name = git_repo_name.split('-') -def result = ''; -for (i = 1; i < profile_name.length; i++) { - if (i != 1) { - result += '-' + profile_name[i] - } else { - result += profile_name[i] - } -} - -PROFILE = result BRANCH = env.BRANCH_NAME fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { - fileLoader.load('freeze_manifest.groovy'); -} - -fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { - fileLoader.load('eltf_pipeline.groovy'); + fileLoader.load('eltf-jenkins03'); } -- cgit v1.2.3-54-g00ecf