Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Jenkinsfile: Add new build stage for running device manager tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avalluri committed Nov 21, 2019
1 parent 5d264ab commit 63ca968
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,26 @@ pipeline {
}
}

stage('make dm-test') {
options {
timeout(time: 30, unit: "MINUTES")
}

steps {
sh "docker run --rm ${DockerBuildArgs()} \
--privileged=true \
-e TEST_CHECK_SIGNED_FILES=false \
-e TEST_DISTRO=clear \
-e TEST_DISTRO_VERSION=${env.CLEAR_LINUX_VERSION_1_15} \
-v `pwd`:`pwd`:rshared \
-w `pwd` \
${env.BUILD_IMAGE} bash -c 'set -x; \
swupd bundle-add openssh-client && \
make run_dm_tests; \
make stop'"
}
}

stage('Build test image') {
options {
timeout(time: 60, unit: "MINUTES")
Expand Down

0 comments on commit 63ca968

Please sign in to comment.