diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2017-12-04 10:45:46 +0100 |
---|---|---|
committer | Martin Borg <martin.borg@enea.com> | 2017-12-05 15:35:57 +0100 |
commit | ed77ba4c7510f86b47be16931608568938d8adc5 (patch) | |
tree | b9f509df50e3919e192b967b0c47b6c254fa3c25 /Jenkinsfile.disabled | |
parent | f1d1f306d5e40c6042b28a54f80135fec5ea035b (diff) | |
download | el_manifests-standard-ed77ba4c7510f86b47be16931608568938d8adc5.tar.gz |
We don't make any changes to it, so there is no point building it every
night.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Martin Borg <martin.borg@enea.com>
Diffstat (limited to 'Jenkinsfile.disabled')
-rw-r--r-- | Jenkinsfile.disabled | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Jenkinsfile.disabled b/Jenkinsfile.disabled new file mode 100644 index 0000000..4de9ef1 --- /dev/null +++ b/Jenkinsfile.disabled | |||
@@ -0,0 +1,21 @@ | |||
1 | #!/bin/env groovy | ||
2 | |||
3 | //This script is used internally by Enea for automated tests on Linux builds | ||
4 | |||
5 | MANIFEST_REPOSITORY = scm.getUserRemoteConfigs()[0].getUrl() | ||
6 | |||
7 | IS_CI = false | ||
8 | |||
9 | def git_repo = MANIFEST_REPOSITORY.trim().split('/')[-1] | ||
10 | def git_repo_name = git_repo.replace('.git','') | ||
11 | env.PROFILE = git_repo_name.split('-')[-1] | ||
12 | BRANCH = env.BRANCH_NAME | ||
13 | |||
14 | fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { | ||
15 | fileLoader.load('freeze_manifest.groovy'); | ||
16 | } | ||
17 | |||
18 | fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') { | ||
19 | fileLoader.load('eltf_pipeline.groovy'); | ||
20 | } | ||
21 | |||