-
Task
-
Resolution: Duplicate
-
Major
Is there a way to get which parallel branch is failing and get more details on the steps being executed/logs of that failure.
Other objective is to compile list of all failed branches.
def list=[ "abc" , "def" , "xyz" , "pqr" ] def branches = [:] def listLength=list.size() for (i=0;i<listLength;i++) { def excl = list.get(i); branches[excl]={ node (){ sh """echo hello $excl""" scm sh " ant build.xml" mail } } } try { parallel branches } catch(err) { print err <GET_PARALLEL_BRANCH_NAME/FAILURE_DETAILS> }
- duplicates
-
JENKINS-28119 Link to log of failed step
-
- In Progress
-
- relates to
-
JENKINS-25894 Ugly reporting of errors from parallel step
-
- Resolved
-
[JENKINS-38156] Need branch name and other details from parallel branches
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Link | New: This issue duplicates JENKINS-28119 [ JENKINS-28119 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link |
New:
This issue relates to |
Description |
Original:
Is there a way to get which parallel branch is failing and get more details on the steps being executed/logs of that failure. Other objective is to compile list of all failed branches. def list=[ "abc" , "def" , "xyz" , "pqr" ] def branches = [:] def listLength=list.size() for (i=0;i<listLength;i++) { def excl = list.get(i); branches[excl]={ node (){ sh """echo hello $excl""" scm sh " ant build.xml" } } } try { parallel branches } catch(err) { print err <GET_PARALLEL_BRANCH_NAME/FAILURE_DETAILS> } |
New:
Is there a way to get which parallel branch is failing and get more details on the steps being executed/logs of that failure. Other objective is to compile list of all failed branches. {code} def list=[ "abc" , "def" , "xyz" , "pqr" ] def branches = [:] def listLength=list.size() for (i=0;i<listLength;i++) { def excl = list.get(i); branches[excl]={ node (){ sh """echo hello $excl""" scm sh " ant build.xml" } } } try { parallel branches } catch(err) { print err <GET_PARALLEL_BRANCH_NAME/FAILURE_DETAILS> } {code} |