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

Radio buttons in the warnings plugin are deselected when the Flexible Publish plugin is installed

    XMLWordPrintable

Details

    Description

      After installing the flexible-publish plugin, the Publishers of some jobs get corrupted on save.

      E.g. I have a WarningsPublisher in my job with the following serialization:

      <publishers>
          <hudson.plugins.warnings.WarningsPublisher>
            <healthy></healthy>
            <unHealthy></unHealthy>
            <pluginName>[WARNINGS] </pluginName>
            <defaultEncoding></defaultEncoding>
            <canRunOnFailed>false</canRunOnFailed>
            <useDeltaValues>false</useDeltaValues>
            <thresholds>
              <unstableTotalAll></unstableTotalAll>
              <unstableTotalHigh></unstableTotalHigh>
              <unstableTotalNormal></unstableTotalNormal>
              <unstableTotalLow></unstableTotalLow>
              <failedTotalAll></failedTotalAll>
              <failedTotalHigh></failedTotalHigh>
              <failedTotalNormal></failedTotalNormal>
              <failedTotalLow></failedTotalLow>
            </thresholds>
            <shouldDetectModules>false</shouldDetectModules>
            <dontComputeNew>true</dontComputeNew>
            <parserConfigurations/>
            <consoleLogParsers>
              <string>Java Compiler</string>
            </consoleLogParsers>
          </hudson.plugins.warnings.WarningsPublisher>
      

      After installing the flexible-publish plug-in, I get the following result when saving the configuration. Seems that there is an interaction between these plug-ins.

      <publishers>
          <hudson.plugins.warnings.WarningsPublisher>
            <healthy></healthy>
            <unHealthy></unHealthy>
            <thresholdLimit>low</thresholdLimit>
            <pluginName>[WARNINGS] </pluginName>
            <defaultEncoding></defaultEncoding>
            <canRunOnFailed>false</canRunOnFailed>
            <useDeltaValues>false</useDeltaValues>
            <thresholds>
              <unstableTotalAll></unstableTotalAll>
              <unstableTotalHigh></unstableTotalHigh>
              <unstableTotalNormal></unstableTotalNormal>
              <unstableTotalLow></unstableTotalLow>
              <failedTotalAll></failedTotalAll>
              <failedTotalHigh></failedTotalHigh>
              <failedTotalNormal></failedTotalNormal>
              <failedTotalLow></failedTotalLow>
            </thresholds>
            <shouldDetectModules>false</shouldDetectModules>
            <dontComputeNew>true</dontComputeNew>
            <parserConfigurations/>
            <consoleLogParsers>
              <string>Java Compiler</string>
            </consoleLogParsers>
          </hudson.plugins.warnings.WarningsPublisher>
      

      The following tag is removed:

       <thresholdLimit>low</thresholdLimit>
      

      I have no idea what is causing that problem. Maybe the reason is something deep in core or in my analysis plug-ins. I need to attach a debugger to our server...

      Any ideas? What exactly is the flexible publisher doing in Jenkins core? Is it intercepting the publishers somehow?

      Interestingly, the problem has been reported with another simpilar plug-ins too: the template project.

      Here some related issues: JENKINS-8185, JENKINS-12182.

      Attachments

        Issue Links

          Activity

            drulli Ulli Hafner created issue -
            drulli Ulli Hafner made changes -
            Field Original Value New Value
            Description After installing the flexible-publish plugin, the Publishers of some jobs get corrupted on save.

            E.g. I have a WarningsPublisher in my job with the following serialization:
            {code}
            <publishers>
                <hudson.plugins.warnings.WarningsPublisher>
                  <healthy></healthy>
                  <unHealthy></unHealthy>
                  <pluginName>[WARNINGS] </pluginName>
                  <defaultEncoding></defaultEncoding>
                  <canRunOnFailed>false</canRunOnFailed>
                  <useDeltaValues>false</useDeltaValues>
                  <thresholds>
                    <unstableTotalAll></unstableTotalAll>
                    <unstableTotalHigh></unstableTotalHigh>
                    <unstableTotalNormal></unstableTotalNormal>
                    <unstableTotalLow></unstableTotalLow>
                    <failedTotalAll></failedTotalAll>
                    <failedTotalHigh></failedTotalHigh>
                    <failedTotalNormal></failedTotalNormal>
                    <failedTotalLow></failedTotalLow>
                  </thresholds>
                  <shouldDetectModules>false</shouldDetectModules>
                  <dontComputeNew>true</dontComputeNew>
                  <parserConfigurations/>
                  <consoleLogParsers>
                    <string>Java Compiler</string>
                  </consoleLogParsers>
                </hudson.plugins.warnings.WarningsPublisher>
            {code}

            After installing the flexible-publish plug-in, I get the following result when saving the configuration. Seems that there is an interaction between these plug-ins.
            {code}
            <publishers>
                <hudson.plugins.warnings.WarningsPublisher>
                  <healthy></healthy>
                  <unHealthy></unHealthy>
                  <thresholdLimit>low</thresholdLimit>
                  <pluginName>[WARNINGS] </pluginName>
                  <defaultEncoding></defaultEncoding>
                  <canRunOnFailed>false</canRunOnFailed>
                  <useDeltaValues>false</useDeltaValues>
                  <thresholds>
                    <unstableTotalAll></unstableTotalAll>
                    <unstableTotalHigh></unstableTotalHigh>
                    <unstableTotalNormal></unstableTotalNormal>
                    <unstableTotalLow></unstableTotalLow>
                    <failedTotalAll></failedTotalAll>
                    <failedTotalHigh></failedTotalHigh>
                    <failedTotalNormal></failedTotalNormal>
                    <failedTotalLow></failedTotalLow>
                  </thresholds>
                  <shouldDetectModules>false</shouldDetectModules>
                  <dontComputeNew>true</dontComputeNew>
                  <parserConfigurations/>
                  <consoleLogParsers>
                    <string>Java Compiler</string>
                  </consoleLogParsers>
                </hudson.plugins.warnings.WarningsPublisher>
            {code}


            I have no idea what is causing that problem. Maybe the reason is something deep in core or in my analysis plug-ins. I need to attach a debugger to our server...

            Any ideas? What exactly is the flexible publisher doing in Jenkins core? Is it intercepting the publishers somehow?

            Interestingly, the problem has been reported with another simpilar plug-ins too: the template project.

            Here some related issues: JENKINS-8185, JENKINS-12812.
            After installing the flexible-publish plugin, the Publishers of some jobs get corrupted on save.

            E.g. I have a WarningsPublisher in my job with the following serialization:
            {code}
            <publishers>
                <hudson.plugins.warnings.WarningsPublisher>
                  <healthy></healthy>
                  <unHealthy></unHealthy>
                  <pluginName>[WARNINGS] </pluginName>
                  <defaultEncoding></defaultEncoding>
                  <canRunOnFailed>false</canRunOnFailed>
                  <useDeltaValues>false</useDeltaValues>
                  <thresholds>
                    <unstableTotalAll></unstableTotalAll>
                    <unstableTotalHigh></unstableTotalHigh>
                    <unstableTotalNormal></unstableTotalNormal>
                    <unstableTotalLow></unstableTotalLow>
                    <failedTotalAll></failedTotalAll>
                    <failedTotalHigh></failedTotalHigh>
                    <failedTotalNormal></failedTotalNormal>
                    <failedTotalLow></failedTotalLow>
                  </thresholds>
                  <shouldDetectModules>false</shouldDetectModules>
                  <dontComputeNew>true</dontComputeNew>
                  <parserConfigurations/>
                  <consoleLogParsers>
                    <string>Java Compiler</string>
                  </consoleLogParsers>
                </hudson.plugins.warnings.WarningsPublisher>
            {code}

            After installing the flexible-publish plug-in, I get the following result when saving the configuration. Seems that there is an interaction between these plug-ins.
            {code}
            <publishers>
                <hudson.plugins.warnings.WarningsPublisher>
                  <healthy></healthy>
                  <unHealthy></unHealthy>
                  <thresholdLimit>low</thresholdLimit>
                  <pluginName>[WARNINGS] </pluginName>
                  <defaultEncoding></defaultEncoding>
                  <canRunOnFailed>false</canRunOnFailed>
                  <useDeltaValues>false</useDeltaValues>
                  <thresholds>
                    <unstableTotalAll></unstableTotalAll>
                    <unstableTotalHigh></unstableTotalHigh>
                    <unstableTotalNormal></unstableTotalNormal>
                    <unstableTotalLow></unstableTotalLow>
                    <failedTotalAll></failedTotalAll>
                    <failedTotalHigh></failedTotalHigh>
                    <failedTotalNormal></failedTotalNormal>
                    <failedTotalLow></failedTotalLow>
                  </thresholds>
                  <shouldDetectModules>false</shouldDetectModules>
                  <dontComputeNew>true</dontComputeNew>
                  <parserConfigurations/>
                  <consoleLogParsers>
                    <string>Java Compiler</string>
                  </consoleLogParsers>
                </hudson.plugins.warnings.WarningsPublisher>
            {code}

            The following tag is removed:
            {code}
             <thresholdLimit>low</thresholdLimit>
            {code}

            I have no idea what is causing that problem. Maybe the reason is something deep in core or in my analysis plug-ins. I need to attach a debugger to our server...

            Any ideas? What exactly is the flexible publisher doing in Jenkins core? Is it intercepting the publishers somehow?

            Interestingly, the problem has been reported with another simpilar plug-ins too: the template project.

            Here some related issues: JENKINS-8185, JENKINS-12812.
            drulli Ulli Hafner made changes -
            Description After installing the flexible-publish plugin, the Publishers of some jobs get corrupted on save.

            E.g. I have a WarningsPublisher in my job with the following serialization:
            {code}
            <publishers>
                <hudson.plugins.warnings.WarningsPublisher>
                  <healthy></healthy>
                  <unHealthy></unHealthy>
                  <pluginName>[WARNINGS] </pluginName>
                  <defaultEncoding></defaultEncoding>
                  <canRunOnFailed>false</canRunOnFailed>
                  <useDeltaValues>false</useDeltaValues>
                  <thresholds>
                    <unstableTotalAll></unstableTotalAll>
                    <unstableTotalHigh></unstableTotalHigh>
                    <unstableTotalNormal></unstableTotalNormal>
                    <unstableTotalLow></unstableTotalLow>
                    <failedTotalAll></failedTotalAll>
                    <failedTotalHigh></failedTotalHigh>
                    <failedTotalNormal></failedTotalNormal>
                    <failedTotalLow></failedTotalLow>
                  </thresholds>
                  <shouldDetectModules>false</shouldDetectModules>
                  <dontComputeNew>true</dontComputeNew>
                  <parserConfigurations/>
                  <consoleLogParsers>
                    <string>Java Compiler</string>
                  </consoleLogParsers>
                </hudson.plugins.warnings.WarningsPublisher>
            {code}

            After installing the flexible-publish plug-in, I get the following result when saving the configuration. Seems that there is an interaction between these plug-ins.
            {code}
            <publishers>
                <hudson.plugins.warnings.WarningsPublisher>
                  <healthy></healthy>
                  <unHealthy></unHealthy>
                  <thresholdLimit>low</thresholdLimit>
                  <pluginName>[WARNINGS] </pluginName>
                  <defaultEncoding></defaultEncoding>
                  <canRunOnFailed>false</canRunOnFailed>
                  <useDeltaValues>false</useDeltaValues>
                  <thresholds>
                    <unstableTotalAll></unstableTotalAll>
                    <unstableTotalHigh></unstableTotalHigh>
                    <unstableTotalNormal></unstableTotalNormal>
                    <unstableTotalLow></unstableTotalLow>
                    <failedTotalAll></failedTotalAll>
                    <failedTotalHigh></failedTotalHigh>
                    <failedTotalNormal></failedTotalNormal>
                    <failedTotalLow></failedTotalLow>
                  </thresholds>
                  <shouldDetectModules>false</shouldDetectModules>
                  <dontComputeNew>true</dontComputeNew>
                  <parserConfigurations/>
                  <consoleLogParsers>
                    <string>Java Compiler</string>
                  </consoleLogParsers>
                </hudson.plugins.warnings.WarningsPublisher>
            {code}

            The following tag is removed:
            {code}
             <thresholdLimit>low</thresholdLimit>
            {code}

            I have no idea what is causing that problem. Maybe the reason is something deep in core or in my analysis plug-ins. I need to attach a debugger to our server...

            Any ideas? What exactly is the flexible publisher doing in Jenkins core? Is it intercepting the publishers somehow?

            Interestingly, the problem has been reported with another simpilar plug-ins too: the template project.

            Here some related issues: JENKINS-8185, JENKINS-12812.
            After installing the flexible-publish plugin, the Publishers of some jobs get corrupted on save.

            E.g. I have a WarningsPublisher in my job with the following serialization:
            {code}
            <publishers>
                <hudson.plugins.warnings.WarningsPublisher>
                  <healthy></healthy>
                  <unHealthy></unHealthy>
                  <pluginName>[WARNINGS] </pluginName>
                  <defaultEncoding></defaultEncoding>
                  <canRunOnFailed>false</canRunOnFailed>
                  <useDeltaValues>false</useDeltaValues>
                  <thresholds>
                    <unstableTotalAll></unstableTotalAll>
                    <unstableTotalHigh></unstableTotalHigh>
                    <unstableTotalNormal></unstableTotalNormal>
                    <unstableTotalLow></unstableTotalLow>
                    <failedTotalAll></failedTotalAll>
                    <failedTotalHigh></failedTotalHigh>
                    <failedTotalNormal></failedTotalNormal>
                    <failedTotalLow></failedTotalLow>
                  </thresholds>
                  <shouldDetectModules>false</shouldDetectModules>
                  <dontComputeNew>true</dontComputeNew>
                  <parserConfigurations/>
                  <consoleLogParsers>
                    <string>Java Compiler</string>
                  </consoleLogParsers>
                </hudson.plugins.warnings.WarningsPublisher>
            {code}

            After installing the flexible-publish plug-in, I get the following result when saving the configuration. Seems that there is an interaction between these plug-ins.
            {code}
            <publishers>
                <hudson.plugins.warnings.WarningsPublisher>
                  <healthy></healthy>
                  <unHealthy></unHealthy>
                  <thresholdLimit>low</thresholdLimit>
                  <pluginName>[WARNINGS] </pluginName>
                  <defaultEncoding></defaultEncoding>
                  <canRunOnFailed>false</canRunOnFailed>
                  <useDeltaValues>false</useDeltaValues>
                  <thresholds>
                    <unstableTotalAll></unstableTotalAll>
                    <unstableTotalHigh></unstableTotalHigh>
                    <unstableTotalNormal></unstableTotalNormal>
                    <unstableTotalLow></unstableTotalLow>
                    <failedTotalAll></failedTotalAll>
                    <failedTotalHigh></failedTotalHigh>
                    <failedTotalNormal></failedTotalNormal>
                    <failedTotalLow></failedTotalLow>
                  </thresholds>
                  <shouldDetectModules>false</shouldDetectModules>
                  <dontComputeNew>true</dontComputeNew>
                  <parserConfigurations/>
                  <consoleLogParsers>
                    <string>Java Compiler</string>
                  </consoleLogParsers>
                </hudson.plugins.warnings.WarningsPublisher>
            {code}

            The following tag is removed:
            {code}
             <thresholdLimit>low</thresholdLimit>
            {code}

            I have no idea what is causing that problem. Maybe the reason is something deep in core or in my analysis plug-ins. I need to attach a debugger to our server...

            Any ideas? What exactly is the flexible publisher doing in Jenkins core? Is it intercepting the publishers somehow?

            Interestingly, the problem has been reported with another simpilar plug-ins too: the template project.

            Here some related issues: JENKINS-8185, JENKINS-12182.
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-12182 [ JENKINS-12182 ]
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-8185 [ JENKINS-8185 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            bap bap made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            bap bap made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            bap bap made changes -
            Summary Plugin destroys configuration of Publishers Radio buttons in the warnings plugin are deselected when the Flexible Publish plugin is installed
            bap bap made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 143149 ] JNJira + In-Review [ 205659 ]

            People

              bap bap
              drulli Ulli Hafner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: