diff options
| author | Petr Mladek <pmladek@suse.cz> | 2012-12-03 10:38:50 +0100 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.cz> | 2012-12-03 10:43:50 +0100 |
| commit | d2c42f2c2143c614bb74d2f9603c951d94ab32fe (patch) | |
| tree | 8bb692f8efb82ea78e32545e4e6801ea93d68c86 | |
| parent | 2279a581a20f98362b27c252b4f7169551f43d63 (diff) | |
show build indentification about the tinderbox in about dialog
Pass it via "EXTRA_BUILDID" variable. It is easier than updating
--with-extra-buildid" option in autogen.lastrun for every build.
The information makes the life easier for QA guys.
| -rw-r--r-- | bin/tinbuild_phases.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/tinbuild_phases.sh b/bin/tinbuild_phases.sh index fb753ac..a4d7aec 100644 --- a/bin/tinbuild_phases.sh +++ b/bin/tinbuild_phases.sh @@ -47,15 +47,17 @@ do_clean() do_make() { optdir="" + current_timestamp=$(sed -e "s/ /_/" "${METADATA_DIR?}/tb_${B}_current-git-timestamp.log") + EXTRA_BUILDID="TinderBox: $TINDER_NAME, Branch:${B}, Time: $current_timestamp" if [ "${retval}" = "0" ] ; then - if ! $NICE $WATCHDOG ${MAKE?} -s $target >tb_${B}_build.log 2>&1 ; then + if ! $NICE $WATCHDOG ${MAKE?} EXTRA_BUILDID="$EXTRA_BUILDID" -s $target >tb_${B}_build.log 2>&1 ; then report_log=tb_${B}_build.log report_msgs="build failed - error is:" retval=1 else # if we want to populate bibisect we need to 'install' if [ "${build_type}" = "tb" -a $PUSH_TO_BIBISECT_REPO != "0" ] ; then - if ! $NICE $WATCHDOG ${MAKE?} -s install-tb >>tb_${B}_build.log 2>&1 ; then + if ! $NICE $WATCHDOG ${MAKE?} EXTRA_BUILDID="$EXTRA_BUILDID" -s install-tb >>tb_${B}_build.log 2>&1 ; then report_log=tb_${B}_build.log report_msgs="build failed - error is:" retval=1 |
