зеркало из https://github.com/microsoft/lisa.git
Merge pull request #39 from iamshital/master
Improved the console messages of LaunchTestPipelineRemotely.sh
This commit is contained in:
Коммит
d034de81f0
|
@ -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"
|
Загрузка…
Ссылка в новой задаче