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

Add and check JCasC compatibility for timestamper plugin

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • timestamper-plugin
    • None
    • 1.11.4

      It would be great if XXXXX was compatible with Jenkins Configuration as Code.
      This way the plugin could be configured at Jenkins startup with a single yaml file.

      There is already a bunch of PRs filed on other plugins doing the same, for example how it was done for ec2 plugin:
      https://github.com/jenkinsci/ec2-plugin/blob/master/src/test/java/hudson/plugins/ec2/ConfigurationAsCodeTest.java

      Basically the purpose is:

      • Review CasC support, and implement it if not already in place.
      • Review symbols and YAML format so that it's "nice". Example: avoid the unclassified group.
      • Create automated tests to validate the support.

      Thank you.

          [JENKINS-62445] Add and check JCasC compatibility for timestamper plugin

          Basil Crow added a comment -

          There is already a bunch of PRs filed on other plugins doing the same, for example how it was done for kubernetes plugin: https://github.com/cloudbees/kube-agent-management-plugin/pull/128/files

          I tried to visit that link, but it yields a 404 error.

          Basil Crow added a comment - There is already a bunch of PRs filed on other plugins doing the same, for example how it was done for kubernetes plugin: https://github.com/cloudbees/kube-agent-management-plugin/pull/128/files I tried to visit that link, but it yields a 404 error.

          Ramon Leon added a comment -

          Ramon Leon added a comment - Sorry, my bad, it is a private repo. You can find examples here: https://github.com/jenkinsci/ec2-plugin/blob/master/src/test/java/hudson/plugins/ec2/ConfigurationAsCodeTest.java and here: https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/demos

          Basil Crow added a comment -

          Basil Crow added a comment - Fixed in jenkinsci/timestamper-plugin#63 .

          Basil Crow added a comment -

          Released in 1.11.4.

          Basil Crow added a comment - Released in 1.11.4 .

            basil Basil Crow
            mramonleon Ramon Leon
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: