You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I created a pipeline as YAML. Then ran it, so build n.1 completed. Clicked on the build, then hit the "replay" button, it showed the code of the pipeline, not as YAML anymore, but instead as its corresponding declarative code.
To Reproduce
Steps to reproduce the behaviour:
Create a simple "hello world" pipeline as YAML and save it.
Build the pipeline, wait until build completes.
Click on the build, then, click on "replay"
See the code is not YAML anymore. Instead, it is the declarative version of the previous YAML code.
Expected behaviour
Replaying a build from a pipeline defined as YAML should show the original YAML code.
Replay option comes from another plugin that shows the script which is run. As this pipeline converts yaml format into declarative and passes converted script, behavior of the Replay is true.
Another option can be to put "Replay with Yaml" link and show yaml content instead.
Hi @aytuncbeken,
Yes I realised that when I looked at the code. I agree the replay plugin behaves correctly, although I guess - from the user prospective - the expectation would be to see in the replay text box exactly what their input was (which, in this case, would be the YAML definition).
I think having a "replay with Yaml" would be ok. It might feel slightly inconsistent with the configuration of the pipeline, but still better than not having the option to modify the YAML code when replaying.
Describe the bug
I created a pipeline as YAML. Then ran it, so build n.1 completed. Clicked on the build, then hit the "replay" button, it showed the code of the pipeline, not as YAML anymore, but instead as its corresponding declarative code.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Replaying a build from a pipeline defined as YAML should show the original YAML code.
Example of YAML pipeline
Declarative pipeline
When replaying the code of the pipeline above, this is shown
The text was updated successfully, but these errors were encountered: