1. 28 9月, 2014 2 次提交
  2. 26 9月, 2014 1 次提交
  3. 25 9月, 2014 1 次提交
  4. 23 9月, 2014 2 次提交
  5. 20 9月, 2014 10 次提交
    • J
      Skip a test if starting Jenkins was interrupted. · 6e1defe5
      Jesse Glick 提交于
      For reasons TBD, sometimes CI tests fail with (1.565.x):
      java.lang.InterruptedException: null
      	at java.lang.Object.wait(Native Method)
      	at java.lang.Object.wait(Object.java:503)
      	at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:267)
      	at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
      	at jenkins.model.Jenkins.executeReactor(Jenkins.java:915)
      	at jenkins.model.Jenkins.<init>(Jenkins.java:814)
      	at hudson.model.Hudson.<init>(Hudson.java:82)
      	at org.jvnet.hudson.test.JenkinsRule.newHudson(JenkinsRule.java:539)
      	at org.jvnet.hudson.test.JenkinsRule.before(JenkinsRule.java:331)
      	at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:479)
      (cherry picked from commit 7bbf36b7)
      6e1defe5
    • J
      Trying to make SocketTimeoutException’s (as originally noted in 3ec7e562) not... · 201065ff
      Jesse Glick 提交于
      Trying to make SocketTimeoutException’s (as originally noted in 3ec7e562) not turn into test errors. (Works only in JenkinsRule, not HudsonTestCase.) Still have no clue as to cause.
      
      (cherry picked from commit 6fd76ea2)
      
      Conflicts:
      	test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
      201065ff
    • J
      Trying to diagnose recent CI failures of HtmlUnit calls. · d44f8589
      Jesse Glick 提交于
      For example https://jenkins.ci.cloudbees.com/job/core/job/jenkins-core-validated-merge/38/testReport/lib.layout/LayoutTest/rejectedLinks/ failed with:
      java.io.IOException: GET http://localhost:52099/jenkins/login failed
      	at java.net.SocketInputStream.socketRead0(Native Method)
      	at java.net.SocketInputStream.read(SocketInputStream.java:152)
      	at java.net.SocketInputStream.read(SocketInputStream.java:122)
      	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
      	at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
      	at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
      	at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
      	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
      	at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
      	at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
      	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
      	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
      	at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:101)
      	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1456)
      	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1387)
      	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:328)
      	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
      	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374)
      	at org.jvnet.hudson.test.JenkinsRule$WebClient.goTo(JenkinsRule.java:1944)
      	at org.jvnet.hudson.test.JenkinsRule$WebClient.goTo(JenkinsRule.java:1926)
      	at lib.layout.LayoutTest.rejectedLinks(LayoutTest.java:44)
      which makes little sense since the named IOException is actually thrown from HttpWebConnection.java:130.
      Perhaps Surefire is not reporting the original cause correctly, conflating the wrapper’s message with the original stack trace.
      As a temporary measure, printing the original stack trace to stderr if there is any.
      (cherry picked from commit 3ec7e562)
      
      Conflicts:
      	test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
      d44f8589
    • J
      [JENKINS-10615] AbstractProjectTest.testWorkspaceLock frequently fails on... · 389a565d
      Jesse Glick 提交于
      [JENKINS-10615] AbstractProjectTest.testWorkspaceLock frequently fails on jenkins.ci due to InterruptedException in HudsonTestCase.setUp.
      Possibly because it is sorted after [JENKINS-15156] testGetBuildAfterGC and the test suite times out.
      
      (cherry picked from commit 85e9e126)
      389a565d
    • J
      [JENKINS-19192] Using JNR 3.0.1 which includes JNR-FFI 1.0.7; 1.0.6 has the... · 47c254aa
      Jesse Glick 提交于
      [JENKINS-19192] Using JNR 3.0.1 which includes JNR-FFI 1.0.7; 1.0.6 has the backported fix for Guava #1505, the root cause.
      So this upgrade ought to prevent a recurrence of the issue in case some other code refers to JNR from the CLI.
      (As yet untested, and we do not especially want to send JNR over the CLI channel anyway for performance reasons.)
      47c254aa
    • K
      Completing the migration to Java6 · ae839570
      Kohsuke Kawaguchi 提交于
      (cherry picked from commit 5e7b844b)
      
      Conflicts:
      	changelog.html
      ae839570
    • J
      Stapler 1.218.1 was apparently never even deployed to the Maven repo, so let... · c0445767
      Jesse Glick 提交于
      Stapler 1.218.1 was apparently never even deployed to the Maven repo, so let us just skip straight to 1.229 which has the fix and which we are using in the merged release branches anyway.
      c0445767
    • J
      @DataBoundConstructor makes no sense on an abstract class. · 38563d34
      Jesse Glick 提交于
      (cherry picked from commit 71600d8b)
      38563d34
    • J
      Updated to maven-plugin 2.0 general release. · e1d2322e
      Jesse Glick 提交于
      (cherry picked from commit 9b53643c)
      
      Conflicts:
      	pom.xml
      e1d2322e
    • K
      maven plugin is moved off to a separate repository. · 048d7597
      Kohsuke Kawaguchi 提交于
      See https://github.com/jenkinsci/maven-plugin
      
      (cherry picked from commit f98070d3)
      
      Conflicts:
      	maven-plugin/pom.xml
      	maven-plugin/src/main/java/hudson/maven/AbstractMavenProcessFactory.java
      	maven-plugin/src/main/java/hudson/maven/MavenModuleSetBuild.java
      	maven-plugin/src/main/java/hudson/maven/MavenProcessFactory.java
      	maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
      	plugins/pom.xml
      	pom.xml
      048d7597
  6. 03 9月, 2014 5 次提交
    • K
      [FIXED SECURITY-122] · b119f865
      Kohsuke Kawaguchi 提交于
      Added "X-Content-Type-Options: nosniff" for serving user-generated
      contents to improve security a little bit
      b119f865
    • K
      [SECURITY-128] · c93635b9
      Kohsuke Kawaguchi 提交于
      Plugins that depend on LTS shouldn't be using this API.
      c93635b9
    • K
      [FIXED SECURITY-127] · 54d44502
      Kohsuke Kawaguchi 提交于
      CONFIGURE permission shouldn't allow the type of the job to be changed.
      That's more of CREATE+DELETE.
      
      In any case, the code doesn't correctly handling submitting config.xml
      for a different type.
      54d44502
    • K
      [SECURITY-87] · 31df138d
      Kohsuke Kawaguchi 提交于
      After talking to Jesse, he's OK with me bringing it back to public so
      long as we don't allow other programmatic dependencies to it.
      
      The intention of leaving them mutable is to allow admins to play with
      this in the groovy script during the initialization and at runtime.
      
      Groovy currently ignores the private access modifier anyway, but that is
      considered as a bug in the upstream
      (https://jira.codehaus.org/browse/GROOVY-3010)
      31df138d
    • K
      [FIXED SECURITY-128] · db757116
      Kohsuke Kawaguchi 提交于
      It may be that the 'newName' exists and just not visible to the user trying to do a rename
      db757116
  7. 01 9月, 2014 1 次提交
  8. 31 8月, 2014 1 次提交
  9. 30 8月, 2014 6 次提交
    • K
      [FIXED SECURITY-120] · 79c905e6
      Kohsuke Kawaguchi 提交于
      If Jenkins URL is set to https, force the secure flag. Also force the
      cookie to be HTTP only, which mitigates the damage that XSS can cause.
      
      See https://www.owasp.org/index.php/SecureFlag
      79c905e6
    • K
      [FIXED SECURITY-110] · b1803a95
      Kohsuke Kawaguchi 提交于
      Don't let UsernameNotFoundException vs BadCredentialsException
      difference to be seen by the caller, for that tells whether the user
      exists or not.
      
      But to assist trouble-shooting, do report that error to the server. UUID
      helps the user finds the information in the log file
      b1803a95
    • K
      [FIXED SECURITY-87] · 880e101b
      Kohsuke Kawaguchi 提交于
      Don't wait for a connection forever, which can cause the thread to hang forever if the upload link never arrives
      880e101b
    • K
      [FIXED SECURITY-149] · 9db1a1d1
      Kohsuke Kawaguchi 提交于
      ZeroClipboard 1.3.5 is rather incompatible with 1.1.7, and various API changes were needed.
      
       - setText() call doesn't work until the DOM is populated, which is at some unknown time AFAICT.
         installing it via the datarequested event avoids this problem.
       - constructor now demands the element to attach to, and it's unclear if relative positioning is working or not.
       - "display: inline-block" is needed for ZeroClipboard to correctly compute the height of the element
      9db1a1d1
    • K
      [FIXED SECURITY-138] · a6a7bec0
      Kohsuke Kawaguchi 提交于
      Protect default password value from users who are triggering builds.
      a6a7bec0
    • K
      [FIXED SECURITY-143] · 0f63c678
      Kohsuke Kawaguchi 提交于
      Coerce the parameter value to one of a legal value
      0f63c678
  10. 23 8月, 2014 2 次提交
  11. 21 8月, 2014 3 次提交
  12. 31 7月, 2014 1 次提交
  13. 12 2月, 2014 5 次提交