upload_jobid=`curl_wrapped "https://beta-cps.trafficmanager.net/cis.client.svc/Public/$cis_namespace.$workflow_name/Packages?null" | json2table Actions/ActionLink,Version -p | grep-F"|$release_ver|" | grep-oE'[0-9]+_[0-9a-f-]{36}'`# Ignore the failure because jobid need time to generate.
[[$novalidate!= 1 ]]&&upload_jobid=`curl_wrapped "https://beta-cps.trafficmanager.net/cis.client.svc/Public/$cis_namespace.$workflow_name/Packages?null" | json2table Actions/ActionLink,Version -p | grep-F"|$release_ver|" | grep-oE'[0-9]+_[0-9a-f-]{36}'`||continue# Ignore the failure because jobid need time to generate.
if[["$upload_jobid"!=""]];then
upload_jobstat=`cis_namespace=System cis_get_job_status "$upload_jobid"`||! echo2 "Failed to check the status of uploading job... The error checking is now disabled, and we are not waiting anymore. "||return 2
upload_jobstat=`cis_namespace=System cis_get_job_status "$upload_jobid"`||! echo2 "Failed to check the status of uploading job... The error checking is now disabled, and it might wait forever. "||novalidate=1