summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2017-09-05 13:01:57 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-09-05 13:01:57 +0200
commit6659eb1482df255009564ee17d6d9e25e0c8e975 (patch)
treed09ba02130b60754575dc439a2db975560d457b6 /Jenkinsfile
downloadel_manifests-nfv-access-6659eb1482df255009564ee17d6d9e25e0c8e975.tar.gz
Initial commit
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..9c3b442
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,20 @@
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','')
11PROFILE = git_repo_name.split('-')[-1]
12BRANCH = env.BRANCH_NAME
13
14fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') {
15 fileLoader.load('freeze_manifest.groovy');
16}
17
18fileLoader.withGit('git@git.enea.se:eltf/jenkins.git', 'master', null, '') {
19 fileLoader.load('eltf_pipeline.groovy');
20}