• Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Jenkins 2.22
      Pipeline: Multibranch 2.8

      Hello,

      I have following requirements:

      1. I want several Jobs for a Project with multiple Branches (or even Repositories)
      • Integration: Build everything (with flags for faster compilation), don`t archive anything
      • Staging: Allow a set of Parameters to control the build (what & how), Archive the output files. Usefull for building feature Branches for testing and verifying bug fixes.
      • Release: Build the release artifacts with release settings. Archive release artifacts and sources
      1. Changelogs are preserved for branches.
      2. Incremential Builds should be possible

      To solve this, I would need to create 3 multibranch jobs for the same sources - and a way to differenciate between them
      I could work with job names (eg. adding .staging to the name) and parse the name in the scripts, but I `d prefer a better solution.

      Some possibilities are:

      • Allow defining Env Parameters for Multi-Branch jobs.
      • Allow defining the script (and its repository) similar to the pipeline jobs.

      1) would allow me to pick the right buildscript depending on a variable, and the parameters for the staging build could be seeded and optionally replaced by the pipeline scripts per-branch-job.
      2) would allow to directly specify the build-script (no extra script for parsing env variables needed)

          [JENKINS-38147] Allow per-job Parameters for Multi-Branch

          Norbert Lange created issue -
          Matthew DeTullio made changes -
          Component/s New: workflow-multibranch-plugin [ 21465 ]
          Component/s Original: multi-branch-project-plugin [ 21127 ]
          Matthew DeTullio made changes -
          Assignee Original: Matthew DeTullio [ mjdetullio ] New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-34561 [ JENKINS-34561 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-35415 [ JENKINS-35415 ]
          Patrick Wolf made changes -
          Remote Link New: This issue links to "Wiki Page (Jenkins Wiki)" [ 16959 ]

            jglick Jesse Glick
            nolange79 Norbert Lange
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: