2015-12-08 54 views
0
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似乎沒有執行任務,現在我解決了這個問題,因爲IGNORE應該把它放到上游工作中。 –

回答

0

在上游作業中使用IGNORE語句。比如有作業1和作業2

如果你想即使JOB1 JOB2失敗將執行
build("job1") 
build("job2") 

,你應該寫

IGNORE(FAILURE){ 
build("job1") 
} 
build("job2") 
相關問題