summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorGabriel Ionescu <gabriel.ionescu@enea.com>2016-11-21 16:33:14 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2016-11-22 13:15:57 +0100
commit77c4419a99657e3b917903426df5a4150835d80b (patch)
tree9a0576cb41913783432f6b6a9227c1bb453a6d94 /Jenkinsfile
parent5769296daaeaa1e211bf2738ee0d9797350417e5 (diff)
downloadel_manifests-networking-77c4419a99657e3b917903426df5a4150835d80b.tar.gz
Added Jenkins configuration files
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com> 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}