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

Commit e8b480a

Browse files
committed
Jenkinsfile: Add new build stage for running device manager tests
1 parent d4cb981 commit e8b480a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Jenkinsfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,25 @@ pipeline {
159159
}
160160
}
161161

162+
stage('make dm-test') {
163+
options {
164+
timeout(time: 30, unit: "MINUTES")
165+
}
166+
167+
steps {
168+
sh "docker run --rm ${DockerBuildArgs()} \
169+
--privileged=true \
170+
-e TEST_CHECK_SIGNED_FILES=false \
171+
-e TEST_DISTRO=clear \
172+
-e TEST_DISTRO_VERSION=${env.CLEAR_LINUX_VERSION_1_15} \
173+
-v `pwd`:`pwd`:rshared \
174+
-w `pwd` \
175+
${env.BUILD_IMAGE} bash -c 'set -x; \
176+
swupd bundle-add openssh-client && \
177+
make run_dm_tests'"
178+
}
179+
}
180+
162181
stage('Build test image') {
163182
options {
164183
timeout(time: 60, unit: "MINUTES")

0 commit comments

Comments
 (0)