Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50563

support declarative pipeline parameter definition

    Details

    • Similar Issues:

      Description

      It would be very helpful to be able to define a maven-metadata parameter in declarative pipeline as described here:

      https://jenkins.io/doc/book/pipeline/syntax/#parameters

       

      I know I can do something similar with 'input', but it is not quite the same, as one has to wait for the pipeline to be running and the parameter is not visible in the job configuration. Also I did not find any docu except this commit: https://github.com/jenkinsci/maven-metadata-plugin/commit/a74b2d65824d13f76e175c406983f104390854a0

       

        Attachments

          Activity

          Hide
          marcrohlfs Marc Rohlfs added a comment -

          Hi Dominik Bartholdi,

          I currently do not have very much time to care about Jenkins and I actually didn't work much with the pipeline so far. The pipeline support was added by Benjamin BONNET (see JENKINS-38619). About documentation on the pipeline support, please refer to him. I just merged his PR and cleaned up code a little (including upgrade to Jenkins 2).

          About support of declarative pipeline parameter definition: I currently can only ask You to implement it yourself and file a pull request. I'd try to merge (and release) it ASPA - depending on my current workload in "real-life" projects.

          As Gesh Markov gave up maintainership for this plugin and I only have spare time to care about this plugin, I'd be glad about additional maintainers. So, if You like, be my guest . Was the same with me: I needed some features and as Gesh didn't have time (nor environment) to merge my PRs, he suggested/offered me to be added as maintainer/owner.

          Maybe not the answer You'd like to read, I'm sorry. But I currently cannot offer much more here...

          Kind regards

          Marc

          Show
          marcrohlfs Marc Rohlfs added a comment - Hi  Dominik Bartholdi , I currently do not have very much time to care about Jenkins and I actually didn't work much with the pipeline so far. The pipeline support was added by Benjamin BONNET (see JENKINS-38619 ). About documentation on the pipeline support, please refer to him. I just merged his PR and cleaned up code a little (including upgrade to Jenkins 2). About support of declarative pipeline parameter definition: I currently can only ask You to implement it yourself and file a pull request. I'd try to merge (and release) it ASPA - depending on my current workload in "real-life" projects. As Gesh Markov gave up maintainership for this plugin and I only have spare time to care about this plugin, I'd be glad about additional maintainers. So, if You like, be my guest . Was the same with me: I needed some features and as Gesh didn't have time (nor environment) to merge my PRs, he suggested/offered me to be added as maintainer/owner. Maybe not the answer You'd like to read, I'm sorry. But I currently cannot offer much more here... Kind regards Marc
          Hide
          imod Dominik Bartholdi added a comment -

          Hi Marc Rohlfs,

          I already have a couple of plugins I'm taking care of - so I don't think I can take more than I already have - but if I find time, I might look into this feature request...

          /Domi

          Show
          imod Dominik Bartholdi added a comment - Hi Marc Rohlfs , I already have a couple of plugins I'm taking care of - so I don't think I can take more than I already have - but if I find time, I might look into this feature request... /Domi

            People

            • Assignee:
              marcrohlfs Marc Rohlfs
              Reporter:
              imod Dominik Bartholdi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: