This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      Background: as we're keeping our Jenkins instance configuration under control through source code management, we'd like to avoid having to revert unnecessary changes when a configuration file is saved.
      Currently, we have to do that for hudson.plugins.throttleconcurrents.ThrottleJobProperty.xml each time Jenkins system configuration is saved. The unnecessary changes seem to be related to transient data that should not be persisted:

      ...
        <propertiesByCategory>
          <entry>
            <string>resource_4</string>
            <java.util.WeakHashMap>
              <table>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>1</maxConcurrentPerNode>
                    <maxConcurrentTotal>1</maxConcurrentTotal>
                    <categories>
                      <string>resource_3</string>
                      <string>resource_4</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                    <configVersion>1</configVersion>
                  </referent>
                  <queue>
                    <lock/>
                    <queueLength>0</queueLength>
                  </queue>
                  <hash>172156498</hash>
                </java.util.WeakHashMap_-Entry>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>1</maxConcurrentPerNode>
                    <maxConcurrentTotal>1</maxConcurrentTotal>
                    <categories>
                      <string>resource_4</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                    <configVersion>1</configVersion>
                  </referent>
                  <queue reference="../../java.util.WeakHashMap_-Entry/queue"/>
                  <hash>1143290467</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
              </table>
              <size>2</size>
              <threshold>12</threshold>
              <loadFactor>0.75</loadFactor>
              <queue reference="../table/java.util.WeakHashMap_-Entry/queue"/>
              <modCount>2</modCount>
            </java.util.WeakHashMap>
          </entry>
          <entry>
            <string>resource_3</string>
            <java.util.WeakHashMap>
              <table>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty" reference="../../../../../entry/java.util.WeakHashMap/table/java.util.WeakHashMap_-Entry/referent"/>
                  <queue>
                    <lock/>
                    <queueLength>0</queueLength>
                  </queue>
                  <hash>172156498</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>1</maxConcurrentPerNode>
                    <maxConcurrentTotal>1</maxConcurrentTotal>
                    <categories>
                      <string>resource_3</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                    <configVersion>1</configVersion>
                  </referent>
                  <queue reference="../../java.util.WeakHashMap_-Entry/queue"/>
                  <hash>1627508327</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>1</maxConcurrentPerNode>
                    <maxConcurrentTotal>1</maxConcurrentTotal>
                    <categories>
                      <string>resource_3</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                    <configVersion>1</configVersion>
                  </referent>
                  <queue reference="../../java.util.WeakHashMap_-Entry/queue"/>
                  <hash>2017178701</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>1</maxConcurrentPerNode>
                    <maxConcurrentTotal>1</maxConcurrentTotal>
                    <categories>
                      <string>resource_3</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                  </referent>
                  <queue reference="../../java.util.WeakHashMap_-Entry/queue"/>
                  <hash>176958479</hash>
                </java.util.WeakHashMap_-Entry>
              </table>
              <size>4</size>
              <threshold>12</threshold>
              <loadFactor>0.75</loadFactor>
              <queue reference="../table/java.util.WeakHashMap_-Entry/queue"/>
              <modCount>8</modCount>
            </java.util.WeakHashMap>
          </entry>
          <entry>
            <string>resource_1</string>
            <java.util.WeakHashMap>
              <table>
                <null/>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>0</maxConcurrentPerNode>
                    <maxConcurrentTotal>0</maxConcurrentTotal>
                    <categories>
                      <string>resource_1</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                    <configVersion>1</configVersion>
                  </referent>
                  <queue>
                    <lock/>
                    <queueLength>0</queueLength>
                  </queue>
                  <hash>408298403</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
              </table>
              <size>1</size>
              <threshold>12</threshold>
              <loadFactor>0.75</loadFactor>
              <queue reference="../table/java.util.WeakHashMap_-Entry/queue"/>
              <modCount>1</modCount>
            </java.util.WeakHashMap>
          </entry>
          <entry>
            <string>resource_6</string>
            <java.util.WeakHashMap>
              <table>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>0</maxConcurrentPerNode>
                    <maxConcurrentTotal>0</maxConcurrentTotal>
                    <categories>
                      <string>resource_6</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                  </referent>
                  <queue>
                    <lock/>
                    <queueLength>0</queueLength>
                  </queue>
                  <hash>696214343</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>0</maxConcurrentPerNode>
                    <maxConcurrentTotal>0</maxConcurrentTotal>
                    <categories>
                      <string>resource_6</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                  </referent>
                  <queue reference="../../java.util.WeakHashMap_-Entry/queue"/>
                  <hash>1937466172</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
              </table>
              <size>2</size>
              <threshold>12</threshold>
              <loadFactor>0.75</loadFactor>
              <queue reference="../table/java.util.WeakHashMap_-Entry/queue"/>
              <modCount>2</modCount>
            </java.util.WeakHashMap>
          </entry>
          <entry>
            <string>resource_2</string>
            <java.util.WeakHashMap>
              <table>
                <null/>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>0</maxConcurrentPerNode>
                    <maxConcurrentTotal>0</maxConcurrentTotal>
                    <categories>
                      <string>resource_2</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                    <configVersion>1</configVersion>
                  </referent>
                  <queue>
                    <lock/>
                    <queueLength>0</queueLength>
                  </queue>
                  <hash>520813555</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
                <null/>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>0</maxConcurrentPerNode>
                    <maxConcurrentTotal>0</maxConcurrentTotal>
                    <categories>
                      <string>resource_2</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                    <configVersion>1</configVersion>
                  </referent>
                  <queue reference="../../java.util.WeakHashMap_-Entry/queue"/>
                  <hash>693023304</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
              </table>
              <size>2</size>
              <threshold>12</threshold>
              <loadFactor>0.75</loadFactor>
              <queue reference="../table/java.util.WeakHashMap_-Entry/queue"/>
              <modCount>2</modCount>
            </java.util.WeakHashMap>
          </entry>
          <entry>
            <string>resource_5</string>
            <java.util.WeakHashMap>
              <table>
                <java.util.WeakHashMap_-Entry>
                  <referent class="hudson.plugins.throttleconcurrents.ThrottleJobProperty">
                    <maxConcurrentPerNode>1</maxConcurrentPerNode>
                    <maxConcurrentTotal>1</maxConcurrentTotal>
                    <categories>
                      <string>resource_5</string>
                    </categories>
                    <throttleEnabled>true</throttleEnabled>
                    <throttleOption>category</throttleOption>
                    <configVersion>1</configVersion>
                  </referent>
                  <queue>
                    <lock/>
                    <queueLength>0</queueLength>
                  </queue>
                  <hash>1434572240</hash>
                </java.util.WeakHashMap_-Entry>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
                <null/>
              </table>
              <size>1</size>
              <threshold>12</threshold>
              <loadFactor>0.75</loadFactor>
              <queue reference="../table/java.util.WeakHashMap_-Entry/queue"/>
              <modCount>1</modCount>
            </java.util.WeakHashMap>
          </entry>
        </propertiesByCategory>
      ...
      

            Assignee:
            Andrew Bayer
            Reporter:
            Régis Desgroppes
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: