fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/40908?usp=email )
Change subject: jobs/gerrit-verifications: osmo-ttcn3-hacks: do make clean ......................................................................
jobs/gerrit-verifications: osmo-ttcn3-hacks: do make clean
It's easy to break the build verification [for everybody] by submitting a patch that creates a symlink to a non-existent file. The workspace is not wiped, so the stale symlink remains and results in failures like this:
(cd sgsn && ./gen_links.sh && ./regen_makefile.sh) ttcn3_makefilegen: error: Cannot find any source file for argument `NAS_Templates.ttcn'. make: *** [Makefile:131: _build/sgsn/Makefile] Error 1
Let's invoke the 'clean' recipe before 'compile' to avoid this.
Change-Id: I886a99e7b1e8c42ccc7441685ecd7b2c54d5a7af --- M jobs/gerrit-verifications.yml 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/08/40908/1
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml index 48ba632..f91cbb8 100644 --- a/jobs/gerrit-verifications.yml +++ b/jobs/gerrit-verifications.yml @@ -524,7 +524,7 @@ ln -s "$i" /build/deps/ fi done - su build -c "make -C /build compile" + su build -c "make -C /build clean compile" ' pipeline_binpkgs: ""