build( "UPGRADE_LOGGED_94" )
parallel (
// job 1, 2 and 3 will be scheduled in parallel.
{ build("LOGGED_SMOKE_TICKET") },
{ build("LOGGED_SMOKE_SALESLEAD") },
{ build("LOGGED_SMOKE_SEARCH") },
{ build("LOGGED_SMOKE_HOME") },
{ build("LOGGED_SMOKE_BUSINESS") },
{ build("LOGGED_SMOKE_ANNOUNCEMENT") },
{ build("LOGGED_SMOKE_PROJECT") },
{ build("LOGGED_SMOKE_CHANGEREQ") },
{ build("LOGGED_SMOKE_CALENDAR") },
{ build("LOGGED_SMOKE_CUSTOMER") },
{ build("LOGGED_SMOKE_DEVELOPREQ") },
{ build("LOGGED_SMOKE_NAVIGATION") },
{ build("LOGGED_SMOKE_NOTIFICATION") },
{ build("LOGGED_SMOKE_RECURWORKFLOW") },
{ build("LOGGED_SMOKE_SLLIFE") },
{ build("LOGGED_SMOKE_REPORTING") },
{ build("LOGGED_SMOKE_TASK") },
{ build("LOGGED_SMOKE_TRIAGE") },
{ build("LOGGED_SMOKE_USER") },
{ build("LOGGED_SMOKE_WORKFLOW") },
)
ignore(ABORTED ) {
parallel (
{build( "LOGGED_SMOKE_TICKETLIFE" )},
{build( "LOGGED_SMOKE_WORKFLOWLIFE" )}
)
}
答案 0 :(得分:0)
在上游作业中使用IGNORE句子。例如,有工作1和工作2
build("job1")
build("job2")
如果你想即使job1失败也会执行job2,你应该写
IGNORE(FAILURE){
build("job1")
}
build("job2")