summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile.disabled
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2017-11-21 14:24:33 +0100
committerMartin Borg <martin.borg@enea.com>2017-11-21 14:40:34 +0100
commit21d277c202b622421624658d459f923e7df3858c (patch)
treefc407dd81e44e5ef7da394fd486a97f24a3cc168 /Jenkinsfile.disabled
parent47341cf53acbef70f914aa07941640159fd534ee (diff)
downloadel_manifests-nfv-access-21d277c202b622421624658d459f923e7df3858c.tar.gz
Do not build this branch in ELTF
We build pyro-nfvaccess now instead. 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.disabled30
1 files changed, 30 insertions, 0 deletions
diff --git a/Jenkinsfile.disabled b/Jenkinsfile.disabled
new file mode 100644
index 0000000..99796df
--- /dev/null
+++ b/Jenkinsfile.disabled
@@ -0,0 +1,30 @@
1#!/bin/env groovy
2
3// This script is used internally by Enea for automated tests on Linux builds
4
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','')
11def profile_name = git_repo_name.split('-')
12def result = '';
13for (i = 1; i < profile_name.length; i++) {
14 if (i != 1) {
15 result += '-' + profile_name[i]
16 } else {
17 result += profile_name[i]
18 }
19}
20
21PROFILE = result
22BRANCH = env.BRANCH_NAME
23
24fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') {
25 fileLoader.load('freeze_manifest.groovy');
26}
27
28fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') {
29 fileLoader.load('eltf_pipeline.groovy');
30}