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

Ato guess parameters: Global redmine server url path and get redmine project name from job name

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: redmine-plugin
    • Labels:
      None

      Description

      It would be gerat if there is global settings for alle jobs to set one url for the redmine installation and a regular expression how redmine projectname shall be guessed from jenkins job name.
      E.g
      redmine url: https://redmine.myserver.com/
      redmine project name: .for(.)

      If job name is "myjob for redmine project", the redmine project var would be set to "redmine project" automatically for this job.

        Activity

        Hide
        cforce cforce added a comment -

        At least ist shall not be necesarry to configure the redmine server ulr on every job again. It shall use the default url from global config (which can be optionally overidden.
        Only the redmine project name shall be a required param in jon config (the complete project url can be put togehter from redmine "default base url from jenkins global cfg""/projects/" "redmine project name from jobcfg"

        Show
        cforce cforce added a comment - At least ist shall not be necesarry to configure the redmine server ulr on every job again. It shall use the default url from global config (which can be optionally overidden. Only the redmine project name shall be a required param in jon config (the complete project url can be put togehter from redmine "default base url from jenkins global cfg" "/projects/" "redmine project name from jobcfg"
        Hide
        cforce cforce added a comment -

        There is also a post build action "Aggregate Redmine ticket metrics" which needs a API Key on job level. It would be most useful to be able to define jenkins wide a global api key so i can create a redmine service user jenkins can use in this jobs. Anaywaxy i would give this user's api only read rights.
        It should be optional to defeine the api key on job level again (overrdie) or required if there is no global api key already existing.

        Show
        cforce cforce added a comment - There is also a post build action "Aggregate Redmine ticket metrics" which needs a API Key on job level. It would be most useful to be able to define jenkins wide a global api key so i can create a redmine service user jenkins can use in this jobs. Anaywaxy i would give this user's api only read rights. It should be optional to defeine the api key on job level again (overrdie) or required if there is no global api key already existing.
        Hide
        ljader Łukasz Jąder added a comment -

        Global configuration of multiple redmine websites and being able to reference them in projects is implemented in https://github.com/jenkinsci/redmine-plugin/pull/8

        Show
        ljader Łukasz Jąder added a comment - Global configuration of multiple redmine websites and being able to reference them in projects is implemented in https://github.com/jenkinsci/redmine-plugin/pull/8
        Hide
        ljader Łukasz Jąder added a comment -

        PR 8 with global redmine website configuration were released with 0.15 version.

        Show
        ljader Łukasz Jąder added a comment - PR 8 with global redmine website configuration were released with 0.15 version.

          People

          • Assignee:
            gaooh gaooh
            Reporter:
            cforce cforce
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: