1. 12 11月, 2016 8 次提交
  2. 10 11月, 2016 2 次提交
    • O
      Skip irrelevant test · 8533fb62
      Oliver Gondža 提交于
      8533fb62
    • T
      [FIX JENKINS-35845] Internationalisation for Blue Ocean and JDL (#2586) · 288a66df
      Thorsten Scherler 提交于
      * Load i18n resource bundles from plugins if not found in jenkins core
      Signed-off-by: NThorsten Scherler <scherler@gmail.com>
      
      * Issue 404 response for missing i18n resource bundles
      
      Currently issues a 200 with an "error" response payload. This change still issues the error response payload, but also sets the HTTP response.
      Signed-off-by: NThorsten Scherler <scherler@gmail.com>
      
      * [JENKINS-35845] Fix test since we return now a 404
      
      * [JENKINS-35845] add test for getting locale from plugin. fix comments from oleg.
      
      * [JENKINS-35845] Fix description
      
      * [JENKINS-35845] Update PR with comments from Oleg
      
      * [JENKINS-35845] Add feedback from tom
      
      * eslint - formating changes and fix offences
      
      * eslint - formating changes and fix offences
      
      * [JENKINS-35845] remove code concerning 404 response. Fix resourceBundle test by prevent NPE to happen
      
      * [JENKINS-35845] Link to issue on which we introduced the test
      
      (cherry picked from commit ab16e525)
      288a66df
  3. 08 11月, 2016 2 次提交
    • O
      [JENKINS-39465] - Fix the AgentProtocol settings persistency handling (#2621) · 47a1682d
      Oleg Nenashev 提交于
      * [JENKINS-39465] - Tweak processing of enabled and disabled protocols in Jenkins instance
      
      Due to whatever reason, without a definition of an array recipient field the data goes to the disk in the following way:
      
      ```
      <enabledAgentProtocol>JNLP3-connect</enabledAgentProtocol>
      <enabledAgentProtocol>JNLP4-connect</enabledAgentProtocol>
      ```
      
      It is supposed to processed by Implicit array correctly, but it does not actually happen.
      With a fix the data is being stored in another format:
      
      ```
        <enabledAgentProtocols>
          <string>JNLP3-connect</string>
          <string>JNLP4-connect</string>
        </enabledAgentProtocols>
      ```
      
      This data now works correctly and gets deserialized correctly. readResolve() just adds a fallback for the case when Implicit array handling starts behaving correctly (?).
      
      * [JENKINS-39465] - Add configuration roundtrip tests
      
      * [JENKINS-39465] - Jenkins#agentProtocols cache must be invalidated when we reload the configuration
      
      * [JENKINS-39465] - Remove obsolete comment from Tests
      
      (cherry picked from commit 3e2e0171)
      47a1682d
    • O
      [FIXED JENKINS-38487] - Jenkins startup must not fail in the case of... · b1044070
      Oleg Nenashev 提交于
      [FIXED JENKINS-38487] - Jenkins startup must not fail in the case of ComputerListener failure (#2610)
      
      Without this code Jenkinbs startup fails if EnvInject fails to find global property file on startup.
      
      Javadoc says "Exceptions will be recorded to the listener. Note that throwing an exception doesn't put the computer offline." regarding the listener method exception, hence we should not block Jenkins startup
      (cherry picked from commit 58e1228c)
      b1044070
  4. 07 11月, 2016 1 次提交
  5. 13 10月, 2016 1 次提交
  6. 09 9月, 2016 1 次提交
  7. 09 8月, 2016 2 次提交
  8. 08 8月, 2016 4 次提交
  9. 06 8月, 2016 1 次提交
  10. 29 7月, 2016 2 次提交
    • V
      dff8e806
    • V
      [JENKINS-21486] Fix plugin dependencies resolution · 43ddbdfc
      Vincent Latombe 提交于
      * Check that dependencies are enabled. A disabled optional dependency
        will not prevent a plugin from loading.
      * Check versions of dependencies declared by a plugin before loading it.
        If any dependency (even optional) is older than what is required,
        then the plugin isn't loaded.
      
      This should prevent use cases where a plugin is loaded but one of its
      dependencies is too old so that :
      * its @Extension annotated classes cannot be loaded, causing the full
        Jenkins to blow up with crapload of exceptions which are tedious to
        investigate to understand the root cause.
      * NoSuchMethodError and the likes at runtime even though boot has
        completed.
      
      Version check (for setups where version list is manually crafted but yet
      works) can be disabled by starting Jenkins with
      
      -Dhudson.PluginWrapper.dependenciesVersionCheck.enabled=true
      
      Minor fixes done while implementing this change :
      * Fix version parsing in PluginWrapper.Dependency
      * Dynamic plugin load didn't check for disabled flag
      43ddbdfc
  11. 28 7月, 2016 1 次提交
  12. 27 7月, 2016 5 次提交
  13. 26 7月, 2016 2 次提交
  14. 21 7月, 2016 1 次提交
  15. 20 7月, 2016 2 次提交
  16. 17 7月, 2016 1 次提交
    • J
      [JENKINS-36476] Underprivileged users could not use the default value of a... · c31392d1
      Jesse Glick 提交于
      [JENKINS-36476] Underprivileged users could not use the default value of a password parameter (#2454)
      
      * [FIXED JENKINS-36476] Do not even send the default password in encrypted form; leave the text field blank, and apply the default upon submission.
      
      * [JENKINS-36476] Use a special token, not the empty string, as the marker for the default value.
      c31392d1
  17. 15 7月, 2016 2 次提交
  18. 14 7月, 2016 1 次提交
    • R
      [JENKINS-18435] Tell browsers not to cache or try to autocomplete forms · 88c2d8ed
      Robert Sandell 提交于
      Setting autocomplete to "off" will tell browsers not to try to autofill
      forms during history navigation. Since this seems to be a prominent
      problem in Jenkins I feel it is best to have it default to "off" and let
      individual inputs or pages opt-in to enable it instead
      to indicate they can handle it.
      The standard login page does not seem to use the taglib form tag
      so it is not affected, even so, all modern browsers ignores
      the autocomplete attribute on username and password fields anyway.
      88c2d8ed
  19. 13 7月, 2016 1 次提交
    • S
      [FIXED JENKINS-36629] Add a test · b7c0d93d
      Stephen Connolly 提交于
      The test found out that RunMap's subMap implementation only returns loaded builds, so we needed to introduce a method to test if there was a specific run on the disk. For the weather reports we do not care if the record on the disk fails to load
      b7c0d93d