summaryrefslogtreecommitdiffstats
path: root/scripts/ci/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci/Jenkinsfile')
-rw-r--r--scripts/ci/Jenkinsfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/ci/Jenkinsfile b/scripts/ci/Jenkinsfile
index 84eebca..803664f 100644
--- a/scripts/ci/Jenkinsfile
+++ b/scripts/ci/Jenkinsfile
@@ -1,9 +1,10 @@
1pipeline { 1pipeline {
2 agent none 2 agent none
3 environment { 3 environment {
4 TEST_AKTUALIZR_REMOTE = 'aktualizr'
4 TEST_AKTUALIZR_DIR = 'aktualizr' 5 TEST_AKTUALIZR_DIR = 'aktualizr'
5 TEST_AKTUALIZR_BRANCH = 'aktualizr/master' 6 TEST_AKTUALIZR_BRANCH = 'master'
6 TEST_BITBAKE_COMMON_DIR = "${env.HOME}/bitbake-common" 7 TEST_BITBAKE_COMMON_DIR = "/opt/jenkins/bitbake-common"
7 } 8 }
8 stages { 9 stages {
9 stage('checkout') { 10 stage('checkout') {
@@ -41,6 +42,9 @@ pipeline {
41 showAllChanges: false, 42 showAllChanges: false,
42 ]) 43 ])
43 44
45 // ignore bitbake build directories in docker
46 sh 'echo \'build*\' > .dockerignore'
47
44 // override meta-updater commit with currently tested branch 48 // override meta-updater commit with currently tested branch
45 sh ''' 49 sh '''
46 META_UPDATER_COMMIT=$(git rev-parse HEAD) 50 META_UPDATER_COMMIT=$(git rev-parse HEAD)
@@ -53,6 +57,7 @@ pipeline {
53 agent { 57 agent {
54 dockerfile { 58 dockerfile {
55 filename 'scripts/ci/Dockerfile.bitbake' 59 filename 'scripts/ci/Dockerfile.bitbake'
60 args '-v /opt/jenkins/bitbake-common:/opt/jenkins/bitbake-common'
56 } 61 }
57 } 62 }
58 steps { 63 steps {