2018-11-28 02:48:13 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
shopt -s nocasematch
|
|
|
|
|
|
|
|
if [[ "$1" == ARM* ]]
|
|
|
|
then
|
|
|
|
echo "ARM"
|
|
|
|
echo "##vso[task.setvariable variable=TestParameter]"
|
|
|
|
echo "##vso[task.setvariable variable=RunTests]false"
|
|
|
|
else
|
|
|
|
echo "NOT ARM"
|
|
|
|
echo "##vso[task.setvariable variable=TestParameter]--test"
|
|
|
|
echo "##vso[task.setvariable variable=RunTests]true"
|
2018-12-11 23:25:59 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [[ "$AdditionalBuildParameters" == '$(_AdditionalBuildParameters)' ]]
|
|
|
|
then
|
|
|
|
echo "##vso[task.setvariable variable=AdditionalBuildParameters]"
|
2018-11-28 02:48:13 +00:00
|
|
|
fi
|