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

job naming sould be configurable

XMLWordPrintable

      Original reporter vernyquartara

      When creating a new multibranch job, the names of the subjobs are inferred from the repository path.
      For example, if the repo root is http://mysvn.com/repo/* and the include branch expression is branches/, then all the subjobs will be named using the prefix branches/.

      This is not always wanted, for example in the case of a multi-project repository layout, such as

      the job will have 3 subjobs named branches/branch1/project-name, branches/branch2/project-name, branches/branch3/project-name.
      IMHO The user should be able to configure the naming using a configuration option, like a regular expression. For example in the above scenario, using a regex _branches/(.)/._ the subjobs will be called simply branch1, branch2, branch3.

      This issue looks like an enanchement but I noticed that _subjobs defaults names cause an error into the downstream job that uses the copy-artifact plugin_, (the upstream artifact couldn't be found), so perhaps is more likely a bug.

      Verny

            mjdetullio Matthew DeTullio
            mjdetullio Matthew DeTullio
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: