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

Add support of Configuration-as-Code in Artifact Manager S3

    Details

    • Similar Issues:
    • Released As:
      Artifact Manager S3 1.0

      Description

      Currently ArtifactManager is configured via system properties and environment variables. It is not comfortable for automation purposes, because one would need to setup them for any container for testing purposes. https://github.com/jenkinsci/artifact-manager-s3-plugin/blob/master/src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java

      • Minimum: Make the fields non-final so that the settings can be configured via Groovy hook scripts
      • Nice2Have: Add support of proper UI AND allow configuring ArtifactManagerFactory via DataBoundSetters. It would allow using Configuration-as-Code plugin and other such tools

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java
            http://jenkins-ci.org/commit/artifact-manager-s3-plugin/c423b4f6ba20d984278ff819f927fe091e55702b
            Log:
            JENKINS-50571 - Make JCloudsArtifactManager fields non-final to allow configuration via System Groovy Hooks.

            Ideally a better non-static configuration UI needed so that each run persists information about its artifact manager parameters.
            Otherwise reconfiguration will likely cause regressions.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java http://jenkins-ci.org/commit/artifact-manager-s3-plugin/c423b4f6ba20d984278ff819f927fe091e55702b Log: JENKINS-50571 - Make JCloudsArtifactManager fields non-final to allow configuration via System Groovy Hooks. Ideally a better non-static configuration UI needed so that each run persists information about its artifact manager parameters. Otherwise reconfiguration will likely cause regressions.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java
            http://jenkins-ci.org/commit/artifact-manager-s3-plugin/721f9916b5d465924807505d605b744ff1210360
            Log:
            Merge pull request #5 from oleg-nenashev/JENKINS-50571

            JENKINS-50571 - Make JCloudsArtifactManager fields non-final to allow configuration via System Groovy Hooks.

            Compare: https://github.com/jenkinsci/artifact-manager-s3-plugin/compare/3a5d4d308c0d...721f9916b5d4

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java http://jenkins-ci.org/commit/artifact-manager-s3-plugin/721f9916b5d465924807505d605b744ff1210360 Log: Merge pull request #5 from oleg-nenashev/ JENKINS-50571 JENKINS-50571 - Make JCloudsArtifactManager fields non-final to allow configuration via System Groovy Hooks. Compare: https://github.com/jenkinsci/artifact-manager-s3-plugin/compare/3a5d4d308c0d...721f9916b5d4
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Closing it. JCasC compatibility is trackes as JENKINS-52304 created by Baptiste Mathus

            Show
            oleg_nenashev Oleg Nenashev added a comment - Closing it. JCasC compatibility is trackes as JENKINS-52304 created by Baptiste Mathus

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: