-
Bug
-
Resolution: Unresolved
-
Major
-
None
Steps to Reproduce:
1. Create a Post-build Action of type Flexible publish
- Run? Always
- Action Post build task
- Script: echo "I am script A"
So far so good. This works just fine. Now add a second one:
2. Create a Post-build Action of type Flexible publish - Run? Always
- Action Post build task
- Script: echo "I am script B"
Save the project and run.
Notice it runs Script A twice and Script B twice.
Also notice that if you click "configure" on this project, things have gone bonkers (that's a technical term):
There are 2 conditional steps, but they both have 2 script executions for the same condition.
It gets more complicated if you have different conditions to run these scripts: It merges them into one condition, making it pretty much useless.
- is duplicated by
-
JENKINS-29305 Flexible Publish duplicates post build task
-
- Resolved
-
[JENKINS-23952] Postbuild task plugin doesn't work with Flexible Publish plugin
Component/s | New: postbuild-task [ 16010 ] | |
Component/s | Original: flexible-publish [ 16130 ] | |
Assignee | Original: bap [ bap ] |
Summary | Original: Cannot create 2 Post Build Tasks | New: Postbuild task plugin doesn't work with Flexible Publish plugin |
Link |
New:
This issue is duplicated by |
Link | New: This issue is duplicated by JENKINS-32460 [ JENKINS-32460 ] |
Link | Original: This issue is duplicated by JENKINS-32460 [ JENKINS-32460 ] |
Workflow | Original: JNJira [ 156822 ] | New: JNJira + In-Review [ 179406 ] |
I've attached the "good" and "bad" xml files, if that helps.