diff options
| author | Laurent Bonnans <laurent.bonnans@here.com> | 2018-06-18 11:52:05 +0200 |
|---|---|---|
| committer | Laurent Bonnans <laurent.bonnans@here.com> | 2018-06-18 15:41:45 +0200 |
| commit | 8d021e159daf094d6056654a1ff5957353357163 (patch) | |
| tree | b709a5a9239806a744bcca38b200960e471921fe | |
| parent | 855b031e7597b0c16b2bd9f4c18321b6320c8ffe (diff) | |
| download | meta-updater-8d021e159daf094d6056654a1ff5957353357163.tar.gz | |
Try to checkout aktualizr from pipeline
| -rw-r--r-- | scripts/ci/Jenkinsfile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/ci/Jenkinsfile b/scripts/ci/Jenkinsfile index e7bcf6c..83bd49c 100644 --- a/scripts/ci/Jenkinsfile +++ b/scripts/ci/Jenkinsfile | |||
| @@ -2,8 +2,8 @@ pipeline { | |||
| 2 | agent none | 2 | agent none |
| 3 | environment { | 3 | environment { |
| 4 | TEST_LOCAL_CONF_APPEND = 'scripts/ci/local.conf.append' | 4 | TEST_LOCAL_CONF_APPEND = 'scripts/ci/local.conf.append' |
| 5 | TEST_AKTUALIZR_DIR = '.' | 5 | TEST_AKTUALIZR_DIR = 'aktualizr' |
| 6 | TEST_AKTUALIZR_BRANCH = 'aktualizr/master' | 6 | TEST_AKTUALIZR_BRANCH = 'origin/master' |
| 7 | } | 7 | } |
| 8 | stages { | 8 | stages { |
| 9 | stage('checkout') { | 9 | stage('checkout') { |
| @@ -11,6 +11,15 @@ pipeline { | |||
| 11 | label 'bitbake' | 11 | label 'bitbake' |
| 12 | } | 12 | } |
| 13 | steps { | 13 | steps { |
| 14 | dir('aktualizr') { | ||
| 15 | checkout([$class: 'GitSCM', | ||
| 16 | userRemoteConfigs: [[url: 'https://github.com/advancedtelematic/aktualizr']], | ||
| 17 | branches: [[name: '*/master']], | ||
| 18 | changelog: true, | ||
| 19 | poll: true, | ||
| 20 | ]) | ||
| 21 | } | ||
| 22 | |||
| 14 | checkout([$class: 'RepoScm', | 23 | checkout([$class: 'RepoScm', |
| 15 | manifestRepositoryUrl: 'https://github.com/advancedtelematic/updater-repo', | 24 | manifestRepositoryUrl: 'https://github.com/advancedtelematic/updater-repo', |
| 16 | manifestBranch: null, | 25 | manifestBranch: null, |
