Skip to content

Commit

Permalink
jenkins-job.sh: show git log at the beginning of each build job (v1.8…
Browse files Browse the repository at this point in the history
….30)

* use the same function as at the end of the report, but include it
  just after updating the checkouts, so that when different MACHINEs
  are built from different metadata it's easier to find out what
  exactly was included in given build

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
  • Loading branch information
shr-project committed Sep 19, 2017
1 parent 532a904 commit dbb5e4e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions jenkins-job.sh
@@ -1,6 +1,6 @@
#!/bin/bash

BUILD_SCRIPT_VERSION="1.8.29"
BUILD_SCRIPT_VERSION="1.8.30"
BUILD_SCRIPT_NAME=`basename ${0}`

# These are used by in following functions, declare them here so that
Expand Down Expand Up @@ -124,6 +124,7 @@ function run_build {

make update 2>&1
cd ${BUILD_TOPDIR}
show-git-log
export LC_ALL=en_US.utf8
. ./setup-env
export MACHINE=${BUILD_MACHINE}
Expand Down Expand Up @@ -609,6 +610,17 @@ function show-failed-tasks {
echo; echo;
show-qa-issues

echo
echo "This git log matches with the metadata as seen by qemuarm build."
echo "In some cases qemux86 and qemux86-64 builds are built with slightly"
echo "different metadata, you can see the exact version near the top of each"
echo "log.world.qemu* files linked from the report"
show-git-log

printf "\n==================== REPORT STOP ================== \n"
}

function show-git-log() {
for i in bitbake openembedded-core meta-openembedded meta-qt5 meta-browser; do
printf "\n== Tested changes (not included in master yet) - $i ==\n"
cd $i;
Expand All @@ -620,7 +632,6 @@ function show-failed-tasks {
git log --oneline --reverse -${COUNT} jansa/master
cd ..;
done
printf "\n==================== REPORT STOP ================== \n"
}

function show-failed-signatures() {
Expand Down

0 comments on commit dbb5e4e

Please sign in to comment.