mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00

Since we now have functional buildhistory repository functionality, generate buildhistory-diff output for builds where its enabled. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
377 B
Executable File
377 B
Executable File
#!/bin/bash WORKDIR=$1 DEST=$2 target=$3
RESFILE=$WORKDIR/tmp/log/oeqa/testresults.json
if [ -e $RESFILE ]; then mkdir -p $DEST/$target cp $WORKDIR/tmp/log/oeqa/testresults.json $DEST/$target/ fi
if [ -e $WORKDIR/buildhistory ]; then mkdir -p $DEST/$target $WORKDIR/../scripts/buildhistory-diff -p $WORKDIR/buildhistory > $DEST/$target/buildhistory.txt fi