Allow per-job Parameters for Multi-Branch

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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)

            Assignee:
            Jesse Glick
            Reporter:
            Norbert Lange
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: