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

Support JCasC in the Ownership plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Requirements:

      • There are symbols defined for extension point implementations
      • Getters are aligned with constructors so there is no issues like "Can't read attribute 'slaveOwnership' from com.synopsys.arc.jenkins.plugins.ownership.nodes.OwnerNodeProperty" in the exporter
      • There is a sample in the documentation + some automatic tests

        Attachments

          Issue Links

            Activity

            Hide
            cimbi Martin Cimbalek added a comment - - edited

            Hello, are there any plans for resolving this? It would be very useful if either this is resolved or the behaviour described in [1] is altered. Thanks!

            [1] https://issues.jenkins.io/browse/JENKINS-58000?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

             

            Show
            cimbi Martin Cimbalek added a comment - - edited Hello, are there any plans for resolving this? It would be very useful if either this is resolved or the behaviour described in [1] is altered. Thanks! [1] https://issues.jenkins.io/browse/JENKINS-58000?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel  
            Hide
            ts3648 Ted Sanders added a comment -

            Hello.  I have 3000 application teams that depend on this functionality. Is this being fixed?  My users are blocked from shifting primary and secondary ownership. 

            We use casc, we also use ownership plugin to manage nodes. We do this because we don't provide global admin rights.  The two parts compliment each other. 

            When I set a new primary or secondary owner, restart of the instance sets the owner back to the original person.

            I see this in view casc configuration: 

                  nodeProperties: |-
                    FAILED TO EXPORT
                    hudson.slaves.DumbSlave#nodeProperties: io.jenkins.plugins.casc.ConfiguratorException: Can't read attribute 'slaveOwnership' from com.synopsys.arc.jenkins.plugins.ownership.nodes.OwnerNodeProperty@146690a9
                      at io.jenkins.plugins.casc.Attribute._getValue(Attribute.java:461)
            
            Show
            ts3648 Ted Sanders added a comment - Hello.  I have 3000 application teams that depend on this functionality. Is this being fixed?  My users are blocked from shifting primary and secondary ownership.  We use casc, we also use ownership plugin to manage nodes. We do this because we don't provide global admin rights.  The two parts compliment each other.  When I set a new primary or secondary owner, restart of the instance sets the owner back to the original person. I see this in view casc configuration:  nodeProperties: |- FAILED TO EXPORT hudson.slaves.DumbSlave#nodeProperties: io.jenkins.plugins.casc.ConfiguratorException: Can 't read attribute ' slaveOwnership' from com.synopsys.arc.jenkins.plugins.ownership.nodes.OwnerNodeProperty@146690a9 at io.jenkins.plugins.casc.Attribute._getValue(Attribute.java:461)

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              oleg_nenashev Oleg Nenashev
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: