Commit Graph
19356 Commits
Author SHA1 Message Date
Jesse Glick 383b90eaf5 waitUntilNoActivityUpTo should list OneOffExecutable.executor if that is the problem. changes/264 2014-10-03 16:31:03 -04:00
Jesse Glick c4c55d1c03 waitUntilNoActivityUpTo should also produce a thread dump (despite 80da8f2). builds/263 changes/263 2014-10-03 16:00:56 -04:00
Daniel Beck 2b6c00db34 [FIXED JENKINS-24966] Return failure when port is in use
Both 0 and 1 are used to indicate some kind of success (the latter when Jenkins doesn't need to be started because it was already running), so we need to return 2.
2014-10-03 16:07:24 +02:00
Jesse Glick c3d7e940d6 NPE during shutdown.
java.lang.NullPointerException
	at hudson.model.User.idStrategy(User.java:140)
	at hudson.model.User.getOrCreate(User.java:373)
	at hudson.model.User.get(User.java:366)
	at hudson.model.User.get(User.java:331)
	at hudson.model.User.get(User.java:441)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.getAuthentication(CpsFlowExecution.java:614)
	at org.jenkinsci.plugins.workflow.cps.CpsVmThread.run(CpsVmThread.java:20)
builds/262 changes/262
2014-10-02 16:47:44 -07:00
Daniel Beck d10b9fab1d Fix layout 2014-10-01 23:15:46 +02:00
Kohsuke Kawaguchi 926e5f10bc merged back the RC branch 2014-10-01 12:54:13 -07:00
Kohsuke Kawaguchi b875d2cf0e updated changelog as a part of the release 2014-10-01 12:54:08 -07:00
Kohsuke Kawaguchi 1782a256b3 updated changelog for release 2014-10-01 10:45:16 -07:00
Kohsuke Kawaguchi 357af23467 [maven-release-plugin] prepare for next development iteration 2014-10-01 10:39:00 -07:00
Kohsuke Kawaguchi 4ea483f233 [maven-release-plugin] prepare release jenkins-1.583 jenkins-1.583 2014-10-01 10:39:00 -07:00
Kohsuke Kawaguchi 496f569657 Recording changes 2014-10-01 10:18:36 -07:00
Kohsuke Kawaguchi a0fe61a098 Merge remote-tracking branch 'security/security' into rc
Conflicts:
	.idea/encodings.xml
	core/pom.xml
	pom.xml
	test/src/test/java/hudson/tasks/junit/CaseResultTest.java
2014-10-01 10:09:42 -07:00
Kohsuke Kawaguchi 481f28b73f Merge remote-tracking branch 'security/security-rc' into rc 2014-10-01 10:06:37 -07:00
Kohsuke Kawaguchi be195b0e19 [FIXED SECURITY-150]
Integrated the change
2014-10-01 08:21:06 -07:00
Kohsuke Kawaguchi 09c59c0171 merged back the RC branch 2014-09-28 22:33:54 -07:00
Kohsuke Kawaguchi 45ff0bcb83 updated changelog as a part of the release 2014-09-28 22:33:50 -07:00
Kohsuke Kawaguchi e53fde1060 Merge pull request #1410 from rodrigc/JENKINS-24521
Add getFieldOrder() methods.
2014-09-28 21:34:38 -07:00
Kohsuke Kawaguchi e026d522d3 updated changelog for release 2014-09-28 14:07:38 -07:00
Kohsuke Kawaguchi 4a8f12b3f2 [maven-release-plugin] prepare for next development iteration 2014-09-28 14:01:28 -07:00
Kohsuke Kawaguchi 3c99828edf [maven-release-plugin] prepare release jenkins-1.582 jenkins-1.582 2014-09-28 14:01:28 -07:00
Harald Albers 1759ffb3e1 localization cleanup 2014-09-28 18:01:55 +02:00
Craig Rodrigues 1c1a4b7544 Add getFieldOrder() methods.
Add getFieldOrder() methods to classes which extend com.sun.jna.Structure,
for compatibility with newer versions of JNA.  [JENKINS-24521]
2014-09-27 17:22:54 -07:00
Kohsuke Kawaguchi 28d997704f [FIXED SECURITY-159]
Bumping up dependencies to 1.3.1, with extra precaution to make
DiskFileItem non-serializable
2014-09-27 15:51:47 -07:00
Kohsuke Kawaguchi 5f1ff56d8c Maven module was removed 2014-09-27 15:46:57 -07:00
Kohsuke Kawaguchi b6a15f502c Winstone now report a proper version during startup and in the 'Server' header 2014-09-27 12:54:28 -07:00
Kohsuke Kawaguchi ee19d1e34f Merge pull request #1400 from msrb/rpm-init-script
init script: don't try to run on Java 5
2014-09-25 17:38:53 -07:00
Kohsuke Kawaguchi 99020aed61 Merge pull request #1407 from michaelneale/master
Use copytruncate consistent with .deb packaging
2014-09-25 17:37:38 -07:00
Michael Neale f96f49b7e8 Use copytruncate consistent with .deb packaging
also requires no signalling of the process and less risk of (ironically) lost logs which postrotate attempts to address.
2014-09-26 10:10:48 +10:00
CloudBees DEV@Cloud e1c3d13cd8 Merge commit '19da04619d36b80dcdbc9d69d6ca715b996b2ded' builds/260 2014-09-25 19:24:03 +00:00
Kohsuke Kawaguchi 19da04619d Integrating a newer version of Stapler
The primary change is that the thread name update code now lives in a
filter instead of 'Stapler' servlet, so it happens a lot earlier.
changes/260
2014-09-25 12:21:53 -07:00
Jesse Glick c1e8b150b3 Simplifying JSONException handling in doConfigSubmit to use standard (?) error reporting.
Also sending the exception to the log, which is where plugin developers expect to see it.
(This is also necessary for the exception to be visible say from configRoundtrip in a functional test.
Otherwise you just see a FailingHttpStatusCodeException due to the 400 error code, with no details.)
Might actually suffice to just throw a ServletException wrapping the exception up the chain,
letting Stapler or the container handle it, but this change is more conservative.
builds/259 changes/259
2014-09-25 14:10:44 -04:00
Jesse Glick 2751bf4ac5 sendError(Exception…) should set the exception attribute on the response, since error.jelly handles this nicely. 2014-09-25 14:06:51 -04:00
Jesse Glick 3ba17df3b3 Moving one test case to maven-plugin.
(cherry picked from commit 261f40533e)
2014-09-25 13:30:33 -04:00
Jesse Glick 5612b235ef Moving hudson.maven tests to maven-plugin.
(cherry picked from commit facfc178df)
2014-09-25 10:08:18 -04:00
Nicolas De Loof d54bc061b1 Merge branch 'JENKINS-24825' 2014-09-24 23:21:04 +02:00
Jesse Glick b2bb58895f Trying to improve a useless log warning when starting Docker slaves.
… hudson.tasks.Shell$DescriptorImpl getShellOrDefault
WARNING: Remote call on …@docker failed
builds/258 changes/258
2014-09-24 13:58:12 -04:00
Jesse Glick 511af1cea0 Noting that CloudSlaveRetentionStrategy appears to be a poor reimplementation of CloudRetentionStrategy. builds/257 changes/257 2014-09-24 12:59:45 -04:00
Jesse Glick c04cdcd9f7 [FIXED JENKINS-22769] ItemListener callbacks should run as SYSTEM since they sometimes do ACL-checked calls. builds/256 changes/256 2014-09-24 11:06:00 -04:00
Nicolas De Loof 8975b0e0b5 test case for JENKINS-24825 2014-09-24 16:59:37 +02:00
Jesse Glick 253943e13e [JENKINS-5756] Removing workarounds for HotSpot bug.
https://bugs.openjdk.java.net/browse/JDK-6933067 claims to be fixed as of Java 6, our baseline.
2014-09-24 09:32:50 -04:00
Nicolas De Loof bd3abf6beb javadoc 2014-09-24 15:30:54 +02:00
Jesse Glick 28dfd90d2d Better to use an IllegalStateException rather than assertion in setResult.
Assertions are only for cases where you believe the failure of the condition is impossible.
For cases where external code might mistakenly make an incorrect call, throw an exception.
builds/255 changes/255
2014-09-24 08:49:21 -04:00
Nicolas De Loof 9b3f48853d [FIXED JENKINS-24825] define hudson.model.AbstractItem#movedTo 2014-09-24 14:03:41 +02:00
Harald Albers 7e09c4f8ad Merge pull request #1405 from ebourg/update-jetty-documentation-url
Update the link to the Jetty documentation in realm.properties
2014-09-24 12:26:24 +02:00
Kohsuke Kawaguchi d000cd65a7 [FIXED JENKINS-24453]
The actual fix is made in 040b7d4047
through winp.
2014-09-23 13:14:34 -07:00
Jesse Glick 23f3e0bbe6 Merge branch 'security' into security-rc
Conflicts:
	test/src/test/groovy/hudson/cli/BuildCommandTest.groovy
	test/src/test/groovy/hudson/matrix/MatrixProjectTest.groovy
	test/src/test/groovy/hudson/model/UpdateCenter2Test.groovy
	test/src/test/java/hudson/model/UpdateSiteTest.java
	test/src/test/java/hudson/tasks/FingerprinterTest.java
	test/src/test/java/hudson/tasks/junit/JUnitResultArchiverTest.java
2014-09-23 10:16:54 -04:00
Jesse Glick 1d29041372 [JENKINS-21984] Disabling cert check on updateDirectlyWithJson since the certificate is now expired, and it is no good to have a test which is known to start failing at a particular time in the future!
(cherry picked from commit 334ce1be69)
2014-09-23 09:59:01 -04:00
Jesse Glick 1e8076d569 The jenkins_main_trunk job has been retired, so for now just skip these tests when running on any Jenkins server.
(cherry picked from commit b7d4c6a414)

Conflicts:
	test/src/test/groovy/hudson/cli/BuildCommandTest.groovy
2014-09-23 09:56:19 -04:00
Emmanuel Bourg 14b8997cbb Updated the link to the Jetty documentation in realm.properties 2014-09-23 13:09:01 +02:00
Stephen Connolly bfa9c503d6 Expose the remote cause details 2014-09-23 10:31:39 +01:00