GithubHelp home page GithubHelp logo

When replaying a pipeline the code shown is the transformed declarative code rather than the original YAML about pipeline-as-yaml-plugin HOT 3 OPEN

jenkinsci avatar jenkinsci commented on May 24, 2024
When replaying a pipeline the code shown is the transformed declarative code rather than the original YAML

from pipeline-as-yaml-plugin.

Comments (3)

aytuncbeken avatar aytuncbeken commented on May 24, 2024

Hi @ferrucciobongianni

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.

from pipeline-as-yaml-plugin.

ferrucciobongianni avatar ferrucciobongianni commented on May 24, 2024

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.

from pipeline-as-yaml-plugin.

aytuncbeken avatar aytuncbeken commented on May 24, 2024

Agree, It is not the best option to have but at least something. I will work on this. Thanks for feedback!

from pipeline-as-yaml-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.