[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible openwrt: move options to common variable and add IGNORE_ERRORS=1 again
Holger Levsen
holger at moszumanska.debian.org
Sun Jul 19 16:36:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 3d8040fd2fed98ece467a542728864ef68ae59ef
Author: Reiner Herrmann <reiner at reiner-h.de>
Date: Sun Jul 19 18:31:51 2015 +0200
reproducible openwrt: move options to common variable and add IGNORE_ERRORS=1 again
---
bin/reproducible_openwrt.sh | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 4daa4c3..621ee73 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -68,21 +68,23 @@ openwrt_build() {
RUN=$1
TARGET=$2
+ OPTIONS="-j $NUM_CPU IGNORE_ERRORS=1"
+
echo "============================================================================="
echo "$(date -u) - Building OpenWrt ${OPENWRT_VERSION} ($TARGET) - $RUN build run."
echo "============================================================================="
ionice -c 3 nice \
- $MAKE -j $NUM_CPU target/compile
+ $MAKE $OPTIONS target/compile
ionice -c 3 nice \
- $MAKE -j $NUM_CPU package/cleanup
+ $MAKE $OPTIONS package/cleanup
ionice -c 3 nice \
- $MAKE -j $NUM_CPU package/compile || true # don't let some packages fail the whole build
+ $MAKE $OPTIONS package/compile || true # don't let some packages fail the whole build
ionice -c 3 nice \
- $MAKE -j $NUM_CPU package/install
+ $MAKE $OPTIONS package/install
ionice -c 3 nice \
- $MAKE -j $NUM_CPU target/install
+ $MAKE $OPTIONS target/install
ionice -c 3 nice \
- $MAKE -j $NUM_CPU package/index || true # don't let some packages fail the whole build
+ $MAKE $OPTIONS package/index || true # don't let some packages fail the whole build
}
openwrt_cleanup() {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list