• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • ownership-plugin
    • None

      When using owners emails in global/default settings you can only hope that all jobs have the ownership injection set on. It would be nice if one could define a default or preselection in global jenkins settings.

          [JENKINS-23947] Make ownership injection default

          Hubert Grzeskowiak created issue -

          Oleg Nenashev added a comment -

          The feature would be useful, but we will have to replace the BuildWrapper to another mechanism. BTW, it is possible

          Oleg Nenashev added a comment - The feature would be useful, but we will have to replace the BuildWrapper to another mechanism. BTW, it is possible
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-23926 [ JENKINS-23926 ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - I'll add the implementation to https://github.com/jenkinsci/ownership-plugin/pull/30
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "PR #30 (Web Link)" [ 12021 ]

          Oleg Nenashev added a comment -

          Hubert, could you evaluate the feature?

          Oleg Nenashev added a comment - Hubert, could you evaluate the feature?

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPluginConfiguration.java
          src/main/java/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapper.java
          src/main/java/org/jenkinsci/plugins/ownership/model/runs/RunOwnershipAction.java
          src/main/java/org/jenkinsci/plugins/ownership/model/runs/RunOwnershipHelper.java
          src/main/java/org/jenkinsci/plugins/ownership/util/environment/EnvSetupOptions.java
          src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPluginConfiguration/config.jelly
          src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPluginConfiguration/config.properties
          src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPluginConfiguration/help-globalEnvSetupOptions.html
          src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapper/config.jelly
          src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapper/help-injectJobOwnership.html
          src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapper/help-injectNodeOwnership.html
          src/main/resources/org/jenkinsci/plugins/ownership/util/environment/EnvSetupOptions/config.jelly
          src/main/resources/org/jenkinsci/plugins/ownership/util/environment/EnvSetupOptions/help-injectJobOwnership.html
          src/main/resources/org/jenkinsci/plugins/ownership/util/environment/EnvSetupOptions/help-injectNodeOwnership.html
          src/test/java/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapperTest.java
          http://jenkins-ci.org/commit/ownership-plugin/d6f405851d2abf5461a0c2ad9caece73c3ba8965
          Log:
          [FIXED JENKINS-23947] - Support global EnvSetupOptions

          The change also contains a major rework of OwnershipBuildWrapper

          Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPluginConfiguration.java src/main/java/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapper.java src/main/java/org/jenkinsci/plugins/ownership/model/runs/RunOwnershipAction.java src/main/java/org/jenkinsci/plugins/ownership/model/runs/RunOwnershipHelper.java src/main/java/org/jenkinsci/plugins/ownership/util/environment/EnvSetupOptions.java src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPluginConfiguration/config.jelly src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPluginConfiguration/config.properties src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/OwnershipPluginConfiguration/help-globalEnvSetupOptions.html src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapper/config.jelly src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapper/help-injectJobOwnership.html src/main/resources/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapper/help-injectNodeOwnership.html src/main/resources/org/jenkinsci/plugins/ownership/util/environment/EnvSetupOptions/config.jelly src/main/resources/org/jenkinsci/plugins/ownership/util/environment/EnvSetupOptions/help-injectJobOwnership.html src/main/resources/org/jenkinsci/plugins/ownership/util/environment/EnvSetupOptions/help-injectNodeOwnership.html src/test/java/com/synopsys/arc/jenkins/plugins/ownership/wrappers/OwnershipBuildWrapperTest.java http://jenkins-ci.org/commit/ownership-plugin/d6f405851d2abf5461a0c2ad9caece73c3ba8965 Log: [FIXED JENKINS-23947] - Support global EnvSetupOptions The change also contains a major rework of OwnershipBuildWrapper Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Big thanks for this, Oleg. I'll try to test this next week.

          Hubert Grzeskowiak added a comment - Big thanks for this, Oleg. I'll try to test this next week.

            oleg_nenashev Oleg Nenashev
            huuugo Hubert Grzeskowiak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: