html tool

2017年7月4日星期二

pipeline bulid other job 忽略或记录测试结果

忽略测试结果:
 
pipeline bulid other job  忽略err , propagate: false

check_res[i]=build job: 'check_0package_ue', parameters: [string(name: 'message', value: reslist[i]) ], propagate: false


记录测试结果
       try{
            check_res[i]="pass"
            build job: 'check_0package_ue', parameters: [string(name: 'ue_message', value: reslist[i]) ]
        }catch(e){
            currentBuild.result="FAILURE"
            check_res[i]="false"
            //throw e
        }finally{
            echo check_res[i]
        }

没有评论:

发表评论