From f14dfaf72c7aecaa404065eb5d615d1d443bbbf2 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Thu, 18 May 2017 10:19:12 +0200 Subject: removed comments from Jenkins file in order to get it building again --- Jenkinsfile | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index efde794..0a139b6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,23 +1,19 @@ #!/bin/env groovy -// This script is used internally by Enea for automated tests on Linux builds +//This script is used internally by Enea for automated tests on Linux builds -//MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() +MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() -//def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] -//def git_repo_name = git_repo.replace('.git','') -//env.PROFILE = git_repo_name.split('-')[-1] -//BRANCH = env.BRANCH_NAME +def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] +def git_repo_name = git_repo.replace('.git','') +env.PROFILE = git_repo_name.split('-')[-1] +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('freeze_manifest.groovy'); +} -//fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { -// fileLoader.load('eltf_pipeline.groovy'); -//} +fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { + fileLoader.load('eltf_pipeline.groovy'); +} - - -print "the jenkins job is disabled on this repository (git.enea.se), please use the public one - git.enea.com" -print "the new jobs name, at the time of editing this file, is Enea Linux Standard" -- cgit v1.2.3-54-g00ecf