| | |
| | | # 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 |
| | | worst=0 |
| | | 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%/*}" && gmake publish |
| | | cd "${f%/*}" && gmake clean && gmake PARALLEL_JOBS=$(psrinfo -t -c) publish |
| | | rc=$? |
| | | cd "${curpwd}" |
| | | echo "jenkinshelper: done with ${f%/*} return code ${rc}" |
| | | if [ rc -ne 0 ] ; then |
| | | worst=$rc |
| | | fi |
| | | done |
| | | return $worst |
| | | } |
| | | |
| | | # prepare the pkg.depotd server instance, if an instance already |