зеркало из https://github.com/microsoft/lisa.git
Merge branch 'master' of https://github.com/iamshital/LISAv2
This commit is contained in:
Коммит
30b3163ea0
|
@ -206,8 +206,12 @@ then
|
|||
BuildState=$(curl --silent -X GET "https://${JenkinsUser}:${ApiToken}@${JenkinsURL}/job/${TestPipeline}/${BuildNumber}/api/json" | ./jq '.building' | sed 's/"//g')
|
||||
BuildResult=$(curl --silent -X GET "https://${JenkinsUser}:${ApiToken}@${JenkinsURL}/job/${TestPipeline}/${BuildNumber}/api/json" | ./jq '.result' | sed 's/"//g')
|
||||
BlueOceanURL="https://${JenkinsURL}/blue/organizations/jenkins/${TestPipeline}/detail/${TestPipeline}/${BuildNumber}/pipeline"
|
||||
echo "BuildURL (Classic) : ${BuildURL}"
|
||||
echo "--------------------------------------"
|
||||
echo "BuildURL (BlueOcean) : ${BlueOceanURL}"
|
||||
echo "--------------------------------------"
|
||||
echo "BuildURL (Classic) : ${BuildURL}console"
|
||||
echo "--------------------------------------"
|
||||
|
||||
if [[ $WaitForResult == "yes" ]];
|
||||
then
|
||||
while [[ "$BuildState" == "true" ]]
|
||||
|
|
|
@ -69,4 +69,8 @@ LinuxPassword=""
|
|||
|
||||
#Required (Your pipeline name)
|
||||
TestPipeline=""
|
||||
#Example TestPipeline="<PatnerName>-Test-Execution-Pipeline"
|
||||
#Example TestPipeline="<PatnerName>-Test-Execution-Pipeline"
|
||||
|
||||
#Optinal. (Keep the polling enabled after build job is triggered and exit with final result.)
|
||||
WaitForResult=""
|
||||
#Example WaitForResul="yes"
|
Загрузка…
Ссылка в новой задаче