Till Wegmüller
2022-08-19 8923f81856a74b2362e6334c0237d83e1016fd5e
fix failure when no component got touched (#9086)

1 files modified
2 ■■■ changed files
tools/jenkinshelper.ksh 2 ●●● patch | view | raw | blame | history
tools/jenkinshelper.ksh
@@ -55,7 +55,7 @@
# we try to be smart and assume that all updates will always touch
# the components Makefile also (to update COMPONENT_REVISION, etc)
stage_build_changed() {
    for f in $(git diff --name-only HEAD..origin/oi/hipster | grep Makefile); do
    for f in $(git diff --name-only HEAD..origin/oi/hipster | grep Makefile; exit 0); do
        echo "jenkinshelper: building for ${f%/*}..."
        curpwd=$(pwd)
        cd "${f%/*}" && COMPONENT_BUILD_ARGS=-j$(psrinfo -t -c) gmake publish