summaryrefslogtreecommitdiffstats
path: root/scripts/ci/Jenkinsfile
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2018-06-21 16:21:52 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2018-06-22 10:10:13 +0200
commit991c2752340bfd8140e6254ca1e9cd3c48bceff7 (patch)
tree596da1fa7764cf22f6dc6ec1e1702d434fcaca54 /scripts/ci/Jenkinsfile
parent7dc8262c88cd40687fdf52770cf581c2b1c1e796 (diff)
downloadmeta-updater-991c2752340bfd8140e6254ca1e9cd3c48bceff7.tar.gz
Try to bitbake on CI inside docker
Diffstat (limited to 'scripts/ci/Jenkinsfile')
-rw-r--r--scripts/ci/Jenkinsfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/ci/Jenkinsfile b/scripts/ci/Jenkinsfile
index 2a9f5cf..fd0bc3b 100644
--- a/scripts/ci/Jenkinsfile
+++ b/scripts/ci/Jenkinsfile
@@ -4,12 +4,11 @@ pipeline {
4 TEST_LOCAL_CONF_APPEND = 'scripts/ci/local.conf.append' 4 TEST_LOCAL_CONF_APPEND = 'scripts/ci/local.conf.append'
5 TEST_AKTUALIZR_DIR = 'aktualizr' 5 TEST_AKTUALIZR_DIR = 'aktualizr'
6 TEST_AKTUALIZR_BRANCH = 'aktualizr/master' 6 TEST_AKTUALIZR_BRANCH = 'aktualizr/master'
7 TEST_BITBAKE_COMMON_DIR = "${env.HOME}/bitbake-common"
7 } 8 }
8 stages { 9 stages {
9 stage('checkout') { 10 stage('checkout') {
10 agent { 11 agent any
11 label 'bitbake'
12 }
13 steps { 12 steps {
14 checkout([$class: 'GitSCM', 13 checkout([$class: 'GitSCM',
15 userRemoteConfigs: [ 14 userRemoteConfigs: [
@@ -53,7 +52,9 @@ pipeline {
53 } 52 }
54 stage('build-core-image-minimal') { 53 stage('build-core-image-minimal') {
55 agent { 54 agent {
56 label 'bitbake' 55 dockerfile {
56 filename 'scripts/ci/Dockerfile.bitbake'
57 }
57 } 58 }
58 steps { 59 steps {
59 sh 'scripts/ci/configure.sh' 60 sh 'scripts/ci/configure.sh'