diff options
| author | Laurent Bonnans <laurent.bonnans@here.com> | 2018-06-25 14:11:41 +0200 |
|---|---|---|
| committer | Laurent Bonnans <laurent.bonnans@here.com> | 2018-06-25 14:11:41 +0200 |
| commit | e27183cfb12e56a6a81aa6fd5bb870ff2fe57fda (patch) | |
| tree | ce91b295fa25a1719694c9960645d1a7d4549b7c /scripts/ci/Jenkinsfile | |
| parent | 9278ad8c3322b9a3ec713ba86006e901bd824486 (diff) | |
| download | meta-updater-e27183cfb12e56a6a81aa6fd5bb870ff2fe57fda.tar.gz | |
Rename Jenkinsfile to Jenkinsfile.bleeding
+ small doc comment
Diffstat (limited to 'scripts/ci/Jenkinsfile')
| -rw-r--r-- | scripts/ci/Jenkinsfile | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/scripts/ci/Jenkinsfile b/scripts/ci/Jenkinsfile deleted file mode 100644 index 803664f..0000000 --- a/scripts/ci/Jenkinsfile +++ /dev/null | |||
| @@ -1,71 +0,0 @@ | |||
| 1 | pipeline { | ||
| 2 | agent none | ||
| 3 | environment { | ||
| 4 | TEST_AKTUALIZR_REMOTE = 'aktualizr' | ||
| 5 | TEST_AKTUALIZR_DIR = 'aktualizr' | ||
| 6 | TEST_AKTUALIZR_BRANCH = 'master' | ||
| 7 | TEST_BITBAKE_COMMON_DIR = "/opt/jenkins/bitbake-common" | ||
| 8 | } | ||
| 9 | stages { | ||
| 10 | stage('checkout') { | ||
| 11 | agent any | ||
| 12 | steps { | ||
| 13 | checkout([$class: 'GitSCM', | ||
| 14 | userRemoteConfigs: [ | ||
| 15 | [url: 'https://github.com/advancedtelematic/aktualizr', name: 'aktualizr'] | ||
| 16 | ], | ||
| 17 | branches: [[name: 'refs/heads/master']], | ||
| 18 | extensions: [ | ||
| 19 | [$class: 'DisableRemotePoll'], | ||
| 20 | [$class: 'PruneStaleBranch'], | ||
| 21 | [$class: 'RelativeTargetDirectory', | ||
| 22 | relativeTargetDir: 'aktualizr' | ||
| 23 | ] | ||
| 24 | ], | ||
| 25 | ]) | ||
| 26 | |||
| 27 | checkout([$class: 'RepoScm', | ||
| 28 | manifestRepositoryUrl: 'https://github.com/advancedtelematic/updater-repo', | ||
| 29 | manifestBranch: null, | ||
| 30 | manifestFile: 'master.xml', | ||
| 31 | manifestGroup: null, | ||
| 32 | mirrorDir: null, | ||
| 33 | jobs: 0, | ||
| 34 | depth: 0, | ||
| 35 | localManifest: null, | ||
| 36 | destinationDir: 'updater-repo', | ||
| 37 | repoUrl: null, | ||
| 38 | currentBranch: false, | ||
| 39 | resetFirst: true, | ||
| 40 | quiet: false, | ||
| 41 | trace: false, | ||
| 42 | showAllChanges: false, | ||
| 43 | ]) | ||
| 44 | |||
| 45 | // ignore bitbake build directories in docker | ||
| 46 | sh 'echo \'build*\' > .dockerignore' | ||
| 47 | |||
| 48 | // override meta-updater commit with currently tested branch | ||
| 49 | sh ''' | ||
| 50 | META_UPDATER_COMMIT=$(git rev-parse HEAD) | ||
| 51 | cd updater-repo/meta-updater | ||
| 52 | git checkout $META_UPDATER_COMMIT | ||
| 53 | ''' | ||
| 54 | } | ||
| 55 | } | ||
| 56 | stage('build-core-image-minimal') { | ||
| 57 | agent { | ||
| 58 | dockerfile { | ||
| 59 | filename 'scripts/ci/Dockerfile.bitbake' | ||
| 60 | args '-v /opt/jenkins/bitbake-common:/opt/jenkins/bitbake-common' | ||
| 61 | } | ||
| 62 | } | ||
| 63 | steps { | ||
| 64 | sh 'scripts/ci/configure.sh' | ||
| 65 | |||
| 66 | sh 'scripts/ci/build.sh core-image-minimal' | ||
| 67 | } | ||
| 68 | } | ||
| 69 | } | ||
| 70 | } | ||
| 71 | // vim: set ft=groovy tabstop=2 shiftwidth=2 expandtab: | ||
