diff options
author | Gabriel Ionescu <gabriel.ionescu@enea.com> | 2016-11-21 16:33:14 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2016-11-22 13:15:57 +0100 |
commit | 77c4419a99657e3b917903426df5a4150835d80b (patch) | |
tree | 9a0576cb41913783432f6b6a9227c1bb453a6d94 /Jenkinsfile | |
parent | 5769296daaeaa1e211bf2738ee0d9797350417e5 (diff) | |
download | el_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-- | Jenkinsfile | 20 |
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 | |||
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 | 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 | } | ||