diff options
-rw-r--r-- | Jenkinsfile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index efde794..0a139b6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile | |||
@@ -1,23 +1,19 @@ | |||
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 | ||
5 | //MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() | 5 | MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() |
6 | 6 | ||
7 | //def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] | 7 | def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] |
8 | //def git_repo_name = git_repo.replace('.git','') | 8 | def git_repo_name = git_repo.replace('.git','') |
9 | //env.PROFILE = git_repo_name.split('-')[-1] | 9 | env.PROFILE = git_repo_name.split('-')[-1] |
10 | //BRANCH = env.BRANCH_NAME | 10 | BRANCH = env.BRANCH_NAME |
11 | 11 | ||
12 | //fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { | 12 | fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { |
13 | // fileLoader.load('freeze_manifest.groovy'); | 13 | fileLoader.load('freeze_manifest.groovy'); |
14 | //} | 14 | } |
15 | 15 | ||
16 | //fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { | 16 | fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { |
17 | // fileLoader.load('eltf_pipeline.groovy'); | 17 | fileLoader.load('eltf_pipeline.groovy'); |
18 | //} | 18 | } |
19 | 19 | ||
20 | |||
21 | |||
22 | print "the jenkins job is disabled on this repository (git.enea.se), please use the public one - git.enea.com" | ||
23 | print "the new jobs name, at the time of editing this file, is Enea Linux Standard" | ||