![]() |
|
|
|
|
Change By:
|
Sascha Vet
(06/May/13 12:37 PM)
|
|
Summary:
|
Parallel executed job doesn't stop processing
Future obj not observed
when
failed
same job executed parallel
|
|
Assignee:
|
Sascha Vet
|
|
Description:
|
Two sub-jobs S1 and S2 calling the same job A
within seconds
. Internally
multijob
Jenkins
starts the job A only once
(by the way a great behavior
,
very helpful
because of the "Quiet period". For the second call Jenkins returns null for the future element (see docu for Queue::schedule: "return null if this task is already
in
my use case
the queue"
).
Because of the empty future obj Multijob ignores the status of the job and caused issues.
One example:
Job A fails and S1 stops with the status FAILED. But in sub-job S2 job A gets the status PENDING and the workflow continues whether job A fails or not.
Workflow sketch:
MainJob - Subjob S1 -- Step 1 --- Job A -> fails, subjob s2 stops and result is failed -- Step 2 --- Job B -> not executed (expected) - Subjob S2 -- Step 1 --- Job A -> status pending
and result ignored
.
After failing -> execution goes on
-- Step 2 --- Job C -> executed (BUG!)
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.