Merge pull request #39 from iamshital/master

Improved the console messages of LaunchTestPipelineRemotely.sh
This commit is contained in:
Shital Savekar 2018-05-31 12:43:02 -07:00 коммит произвёл GitHub
Родитель b3f8d42d59 f9c5d0c2b4
Коммит d034de81f0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 10 добавлений и 2 удалений

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

@ -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"