[DevOps] Add debugging messages from when we fail the ./configure (#9102)

Some bots are giving error with this step. Try to add some verbosity and
ensure that $? is 0 when done.
This commit is contained in:
Manuel de la Pena 2020-07-15 20:13:57 -04:00 коммит произвёл GitHub
Родитель 3fccc1e3e0
Коммит fcc410f36a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 12 добавлений и 1 удалений

1
configure поставляемый
Просмотреть файл

@ -138,3 +138,4 @@ while test x$1 != x; do
;; ;;
esac esac
done done
exit 0

Просмотреть файл

@ -99,7 +99,17 @@ steps:
# if we got to this point, it means that we do have at least 50 Gb to run the test, should # if we got to this point, it means that we do have at least 50 Gb to run the test, should
# be more than enough, else the above script would have stopped the pipeline # be more than enough, else the above script would have stopped the pipeline
- bash: cd xamarin-macios && ./configure --enable-xamarin - bash: |
set -x
set -e
cd xamarin-macios
./configure --enable-xamarin
if [[ $? = 0 ]]; then
echo "Xamarin private packages configured."
else
echo "Xamarin packages configuration failed."
echo "Configuration exit code $?"
fi
displayName: 'Enable Xamarin' displayName: 'Enable Xamarin'
timeoutInMinutes: 1 timeoutInMinutes: 1