• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • job-dsl-plugin
    • None

      I'd like to be able to configure the trend graph for graphs from the DRY plugin, the Warnings plugin and possibly others.

          [JENKINS-36910] Configure trend graph from Job DSL

          The trend graphs will appear when using the DRY or warnings publishers. You need to run the generated jobs one or two times until the graphs appear.

          See https://jenkinsci.github.io/job-dsl-plugin/#path/job-publishers-dry and https://jenkinsci.github.io/job-dsl-plugin/#path/job-publishers-warnings.

          Daniel Spilker added a comment - The trend graphs will appear when using the DRY or warnings publishers. You need to run the generated jobs one or two times until the graphs appear. See https://jenkinsci.github.io/job-dsl-plugin/#path/job-publishers-dry and https://jenkinsci.github.io/job-dsl-plugin/#path/job-publishers-warnings .

          Arno Moonen added a comment -

          That does not solve what I am suggesting.
          I'd like to configure in the Job DSL how many builds are included, for example, or any of the other parameters you can change when pressing the Configure link underneath a trend graph.

          Arno Moonen added a comment - That does not solve what I am suggesting. I'd like to configure in the Job DSL how many builds are included, for example, or any of the other parameters you can change when pressing the Configure link underneath a trend graph.

          These parameters are not persisted. The config page says "Configure the trend graph of this plug-in for the current job and user. These values are persisted in a cookie, so please make sure that cookies are enabled in your browser."

          Daniel Spilker added a comment - These parameters are not persisted. The config page says "Configure the trend graph of this plug-in for the current job and user. These values are persisted in a cookie, so please make sure that cookies are enabled in your browser."

          Arno Moonen added a comment -

          I wasn't aware of that. Too bad we can not globally configure it.

          Arno Moonen added a comment - I wasn't aware of that. Too bad we can not globally configure it.

          I re-opened the issue, but I can't do much on the Job DSL side. Open a feature request for the DRY and warnings plugins so that they support persistent config and if that got implemented, we can see what we can do about Job DSL.

          Daniel Spilker added a comment - I re-opened the issue, but I can't do much on the Job DSL side. Open a feature request for the DRY and warnings plugins so that they support persistent config and if that got implemented, we can see what we can do about Job DSL.

            jamietanna Jamie Tanna
            arnom Arno Moonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: