diff options
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 | } | ||