sahara-ci-config/host-scripts/check_layout.sh
Evgeny Sikachev 43b0c732c0 Added check for compatibility jjb jobs and layout
We need to check if there no extra jobs in jjb

Change-Id: Ide20b781ced77d6b0c101dac9a78cb457dbb776d
2016-09-16 13:37:24 +00:00

11 lines
243 B
Bash
Executable File

#!/bin/bash
mkdir out
jenkins-jobs test -o out/ $WORKSPACE/jenkins_job_builder/
find out/ -printf "%f\n" > job-list.txt
python $WORKSPACE/host-scripts/check_layout.py $WORKSPACE/config/zuul/layout.yaml job-list.txt
rm -rf out job-list.txt