1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

[releng] Save baseline-compare-and-replace.log all the time

We have had sometimeouts running the baseline-compare-and-replace,
so save the log all the time.

Change-Id: I0e0d98c2f27dbce0f46f15757959e70a13fb53c3
This commit is contained in:
Jonah Graham 2020-05-25 14:32:26 -04:00
parent 3ef8f2c844
commit cd0f01a5be

View file

@ -135,8 +135,10 @@ fi
## ##
# Make sure all versions have been bumped appropriately compared to the baseline # Make sure all versions have been bumped appropriately compared to the baseline
## ##
echo "Running 'mvn verify -P baseline-compare-and-replace' to make sure all versions have been appropriately incremented" logfile=baseline-compare-and-replace.log
logfile=$(mktemp /tmp/baseline-compare-and-replace.XXXXXX) echo "Running 'mvn verify -P baseline-compare-and-replace' to make sure all versions"
echo "have been appropriately incremented. The check output is very verbose, so it is"
echo "redirected to ${logfile} which is archived as part of the build artifacts."
if ${MVN:-mvn} \ if ${MVN:-mvn} \
clean verify -B -V \ clean verify -B -V \
-DskipDoc=true \ -DskipDoc=true \
@ -165,6 +167,5 @@ else
echo "log of the failed maven run which is available as part of the artifacts in a" echo "log of the failed maven run which is available as part of the artifacts in a"
echo "file called baseline-compare-and-replace.log" echo "file called baseline-compare-and-replace.log"
fi fi
cp ${logfile} baseline-compare-and-replace.log
exit 1 exit 1
fi fi