Skip to content

Commit 65ca139

Browse files
committed
[nrf noup] ci: install python reqs from ci-tools before check_compliance
Missing python-magic package Signed-off-by: Thomas Stilwell <[email protected]>
1 parent 381e998 commit 65ca139

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,9 @@ def generateComplianceStage(AGENT_LABELS, DOCKER_REG, IMAGE_TAG, JOB_NAME, CI_ST
333333

334334
// Run the compliance check
335335
try {
336-
sh "(source ../zephyr/zephyr-env.sh && ../tools/ci-tools/scripts/check_compliance.py $COMPLIANCE_ARGS --commits $COMMIT_RANGE)"
336+
sh "source ../zephyr/zephyr-env.sh && \
337+
pip install --user -r ../tools/ci-tools/requirements.txt && \
338+
../tools/ci-tools/scripts/check_compliance.py $COMPLIANCE_ARGS --commits $COMMIT_RANGE"
337339
}
338340
finally {
339341
junit 'compliance.xml'

0 commit comments

Comments
 (0)