Commit Graph
32590 Commits
Author SHA1 Message Date
kzantow 8a84cb8e2c Address outstanding issues: XStream deserialzation from existing
installs would have had altered behavior with the FullControl auth
strategy, erroneous return while creating the default user, added help
file, added ability to skip first user or cancel the wizard altogether.
2016-03-08 02:33:03 -05:00
Kohsuke Kawaguchi 04651f24d9 Pick up a released version 2016-03-07 21:24:44 -08:00
Stephen Connolly bb7c8fcedb Jenkins.getInstance() should be non-null
- It is never too late to do the right thing.
- The vast majority of usages of `Jenkins.getInstance()` in core currently assume that its return value is non-null
- This commit changes those that are written to correctly check for non-null values will call `Jenkins.getInstanceOrNull()`
- We deprecate the `Jenkins.getActiveInstance()` madness
- I checked with @kohsuke who said not to bother with a PR and just commit this strongly opinionated change direct to master as a PR will just degrade into a bikeshedding.
2016-03-07 22:08:36 +00:00
Daniel Beck 7597c98a90 Merge pull request #2062 from daniel-beck/JENKINS-33127
[FIX JENKINS-33127] BootFailures send HTTP 500
2016-03-07 18:54:12 +01:00
Jesse Glick 785811a85d Merge pull request #2071 from svanoort/remove-broken-xstream-test
Remove broken XStream2 test of legacy custom ConcurrentHashMapSerialization
2016-03-07 09:34:19 -05:00
Ing. Pavel Janousek c2d8b31001 [JENKINS-31847] CLI command clear-queue extracted from core to CLI
clear-queue covered by test-cases
2016-03-07 13:39:44 +01:00
Stephen Connolly 738800ea5e [FIXED JENKINS-33319] Fix up @since tags post merge 2016-03-07 10:00:08 +00:00
Stephen Connolly 14af3036f7 Merge pull request #2082 from stephenc/jenkins-33319
[FIXED JENKINS-33319] Premtively wake the acceptor thread to let it close cleanly
2016-03-07 09:57:47 +00:00
Stephen Connolly ad3ccffc00 [JENKINS-33319] fix javadoc comment 2016-03-07 09:19:24 +00:00
Allan Burdajewicz 10699e2a50 [JENKINS-32525] - Handle null @AncestorInPath when selecting Downstream Jobs. 2016-03-07 18:07:32 +10:00
Kohsuke Kawaguchi 9cb52bf42e updated changelog for release 2016-03-06 19:36:07 -08:00
Kohsuke Kawaguchi eed5e913be [maven-release-plugin] prepare for next development iteration 2016-03-06 19:28:52 -08:00
Kohsuke Kawaguchi 12a290c44a [maven-release-plugin] prepare release jenkins-1.652 jenkins-1.652 2016-03-06 19:28:51 -08:00
kzantow 08b6ff3368 Fix test 2016-03-05 19:22:03 -05:00
kzantow 41252c27f3 Move dependency toggle out of label, so it won't affect the nearby
checkbox, fix stray 'deps' element
2016-03-05 19:19:07 -05:00
kzantow 72c2ffc10d Merge remote-tracking branch 'primary/2.0' into 2.0-install-dependency-view 2016-03-05 19:16:33 -05:00
kzantow 5368c96404 JENKINS-30749 - make Jenkins secure out of the box:
* create initial admin user with difficult password (based on UUID)
* force login with password as security token
* force initial admin user creation
2016-03-05 18:51:02 -05:00
Jesse Glick 239b7f521e Merge pull request #2083 from jtnord/bad-enforcer
Excluded jenkins-war from the test harness.
2016-03-04 19:02:15 -05:00
Kohsuke Kawaguchi 6e5c81ee1f Merge pull request #2076 from jenkinsci/stapler-1.240
Latest & greatest version of Stapler
2016-03-04 15:56:24 -08:00
Kohsuke Kawaguchi d0d3970510 Pick up a new version of remoting
See https://github.com/jenkinsci/remoting/pull/78
2016-03-04 14:31:29 -08:00
Jesse Glick 290af8dd1f [JENKINS-25440] Merged #2072. 2016-03-04 16:50:09 -05:00
Kohsuke Kawaguchi 0ca7814aab Merge remote-tracking branch 'origin/master' into jnlp3
Conflicts:
	pom.xml
2016-03-04 13:47:12 -08:00
Kohsuke Kawaguchi b1e3f6fdd2 A/B test this feature in production
JNLP3 is activated now for 10% of users. Let's keep it like this for a
while and if no major issue occurs we should expose it to everyone.
2016-03-04 13:45:54 -08:00
Kohsuke Kawaguchi 920f20fd06 Fixing a test
Previously, when the 2nd `e.click()` is called, the page has already transitioned to another page, so the anchor objects have become invalid.

HtmlUnit somehow still manages to follow a link, except when there's some JavaScript attached to the onclick() handler it's going to execute in a strange environment. Some management link requires a POST, and that was done via JavaScript. So that broke the test.
2016-03-04 13:11:53 -08:00
Kohsuke Kawaguchi ac878e012b Merge remote-tracking branch 'origin/master' into stapler-1.240 2016-03-04 10:01:50 -08:00
James Nord 06d936f695 Excluded war from test from the test harness.
Whilst this is not used in the dependencies, the enforcer plugin downloads
the i1.580.1 jar so it can scan it.  Most likely a bug in the
extra-enforcer-rules but we obviously don;t need it as we have an explicit
dependency on the latest version!
2016-03-04 16:16:35 +00:00
Daniel Beck ecf9e3b8b2 Merge pull request #2078 from tfennelly/JENKINS-33245
[Fix JENKINS-33245] core asset artifacts bloated due to faulty build assembly step
2016-03-04 13:36:06 +01:00
Daniel Beck ec95aa5b21 Merge pull request #2073 from daniel-beck/JENKINS-32303
[FIX JENKINS-32303] Fix readonly behavior for f:checkbox
2016-03-04 11:51:36 +01:00
Daniel Beck aa57b83105 Merge remote-tracking branch 'jenkinsci/master' into JENKINS-33127 2016-03-04 11:46:28 +01:00
Stephen Connolly 2a61f30250 [FIXED JENKINS-33319] Premtively wake the acceptor thread to let it close cleanly
- Also adds a Ping Agent protocol that could be used by nagios monitoring, etc. to verify that the slave agent listener is alive
- We use the ping agent protocol to ensure that the acceptor thread wakes up, loops and sees that the shutdown is started
  that prevents the socket close exception from being thrown
2016-03-04 10:12:25 +00:00
Jesse Glick f187d706e5 [JENKINS-27152] Merging #2066. 2016-03-03 21:26:20 -05:00
Tom Fennelly a15b814d27 Merge pull request #2038 from tfennelly/more-config-tab-tests
More config tab tests (Jenkins 2.0)
2016-03-03 15:54:19 +00:00
tfennelly 9fe3362f01 Test section adoption
As well as finding in sections after adoption.
2016-03-03 13:47:19 +00:00
tfennelly cdbbc8ccc5 Added some finder tests 2016-03-03 13:47:19 +00:00
tfennelly cd604628da Cleaned up tests a bit 2016-03-03 13:47:19 +00:00
tfennelly 21bb7c2097 [Fix JENKINS-33245] core asset artifacts bloated due to faulty build assembly step 2016-03-03 12:26:12 +00:00
kzantow aaa53ef71a Fix dependency display in setup wizard: remove tooltip, add clickable
link
2016-03-03 01:43:15 -05:00
Kohsuke Kawaguchi 0d0d2a9c13 Latest & greatest 2016-03-02 13:24:35 -08:00
Kohsuke Kawaguchi eed343f7d1 Merge branch 'stable-1.642' of github.com:jenkinsci/jenkins into stable-1.642 2016-03-02 13:23:20 -08:00
Sam Van Oort 7dd72969d9 Remove the broken ConcurrentHashMapConverter impl, since it handles a conversion dating back to 2010 and does not work with Java 8 2016-03-02 11:00:42 -05:00
Sam Van Oort e136952d2a Remove remainder of ConcurrentHashMap testcase 2016-03-02 10:53:03 -05:00
Jesse Glick 383a5aec51 [FIXED JENKINS-22767] Make sure only one thread actually loads a given build.
(cherry picked from commit d5167025a2)
2016-03-02 08:55:48 +01:00
fbonerandi c69a88d9ad [JENKINS-31753] Fields are aligned at the bottom
(cherry picked from commit ad22f4dd4f)
2016-03-02 08:50:40 +01:00
Daniel Beck 58afb04f9d [FIX JENKINS-32303] Fix readonly behavior for f:checkbox 2016-03-02 00:17:15 +01:00
Daniel Spilker 237079512b updated Groovy to 2.4.6 2016-03-01 15:06:37 +01:00
Jesse Glick 1a2d82275c [FIXED JENKINS-25440] Recursively resolve @Inject’ed extensions, too, looking for LinkageError’s. 2016-02-29 15:17:05 -05:00
Sam Van Oort f3a9dd5bb0 Remove broken XStream2 test of legacy custom ConcurrentHashMapSerialiation
This one requires some explanation: there is a bug
As custom serialization of ConcurrentHashMaps was removed circa 2010
(see eb51d46d56)

We can assume that testing conversion is no longer a high priority.
Root cause appears to be a subtle change in the XStream attribute access behavior when run under JDK8 only.
This appears to be the only case that triggers it.
2016-02-29 14:36:39 -05:00
Kohsuke Kawaguchi 08a8f14722 Merge pull request #2063 from jenkinsci/JENKINS-23378
[FIXED JENKINS-23378] Servlet 3.1
2016-02-29 08:56:57 -08:00
Daniel Beck 48e42ae94a Noting #2060 2016-02-29 08:21:33 +01:00
Kohsuke Kawaguchi 40c1f29dd2 updated changelog for release 2016-02-28 21:58:46 -08:00