Commit Graph
2176 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi fb547c127e the trunk is toward 1.582-SNAPSHOT 2014-09-14 17:56:14 -07:00
Daniel Beck 852ba85c96 Merge pull request #1391 from daniel-beck/JENKINS-21881
[FIXED JENKINS-21881] System property for disabling X-Frame-Options
2014-09-13 14:14:37 +02:00
Daniel Beck 3b5564a4ab [JENKINS-21881] Add test 2014-09-07 19:23:26 +02:00
Kohsuke Kawaguchi 2e39af250a the trunk is toward 1.581-SNAPSHOT 2014-09-06 09:04:49 -07:00
Daniel Beck 9bc2f1d057 Merge pull request #1377 from daniel-beck/JENKINS-19764
[FIXED JENKINS-19764] Ensure parent dir of new builds dir exists.
2014-09-06 00:31:47 +02:00
Kohsuke Kawaguchi 1a4aef1172 the trunk is toward 1.580-SNAPSHOT 2014-09-01 08:21:17 -07:00
Jesse Glick 52c28ae38d NPE diagnosis from ProjectTest.testCheckout.
java.lang.NullPointerException: null
	at hudson.model.AbstractBuild.setWorkspace(AbstractBuild.java:296)
	at hudson.model.ProjectTest.testCheckout(ProjectTest.java:423)
2014-08-29 20:01:13 -04:00
Jesse Glick bdc91654f6 [JENKINS-24317] Amending 80f78d5732.
If we are running on a case-insensitive FS, the test makes no sense because migration would never even be attempted to begin with.
2014-08-28 15:45:47 -04:00
tfennelly 80f78d5732 Fixing dir listing in test to not be case sensitive (related to JENKINS-24317) 2014-08-27 22:08:16 +01:00
Jesse Glick b3e57f8848 Better advertising createCrumbedUrl. 2014-08-25 12:06:19 -04:00
Kohsuke Kawaguchi 862cb04ca1 the trunk is toward 1.579-SNAPSHOT 2014-08-25 06:19:24 -07:00
Daniel Beck 7f4014c740 [FIXED JENKINS-19764] Ensure parent dir of new builds dir exists. 2014-08-21 19:18:00 +02:00
Jesse Glick 088edabb31 [FIXED JENKINS-24317] Corrected user dir migration code from JENKINS-23872.
Adapted from #1375 by @daniel-beck: omitting change to User construction, and adding test.
2014-08-21 08:00:59 -04:00
Jesse Glick 151e155338 Deleting empty test case. 2014-08-21 07:31:12 -04:00
tfennelly 286337ea39 [FIXED JENKINS-24316] Fixed unknown task icon src path construction 2014-08-20 23:19:13 +01:00
Kohsuke Kawaguchi 8a5d5d752b the trunk is toward 1.578-SNAPSHOT 2014-08-18 22:17:46 -07:00
Daniel Beck c869cfdc0e Merge pull request #1340 from daniel-beck/JENKINS-23988
[FIXED JENKINS-23988] Consider CLIAuthenticator for CLIMethods
2014-08-14 14:52:13 +02:00
Stephen Connolly debc588b30 when using a case sensitive strategy encoded users can appear 2014-08-12 15:36:38 +01:00
Jesse Glick 0cc333faf2 Adjusting test to match different input names (now form-bound). 2014-08-11 17:03:24 -04:00
Jesse Glick 16197ea502 [FIXED JENKINS-23263] JUnit reporter moved to a plugin. 2014-08-11 13:45:23 -04:00
tfennelly 51af70f216 [FIXED JENKINS-24175] Some functional tests for the icon tag 2014-08-11 12:16:33 +01:00
Kohsuke Kawaguchi 90c6cc3172 the trunk is toward 1.577-SNAPSHOT 2014-08-10 17:58:25 -07:00
Jesse Glick 11ab9be6ef [FIXED JENKINS-23027] Added Launcher.ProcStarter.quiet option. 2014-08-08 14:29:40 -04:00
Jesse Glick d0340b2597 f43a450c31 addendum: during migration, if nothing else is being fingerprinted besides archived artifacts, then there is no reason to keep the separate fingerprint publisher at all. 2014-08-08 14:27:38 -04:00
Jesse Glick 2323855f33 Simplifying test to use JenkinsRule.assertLogContains. 2014-08-08 12:51:59 -04:00
Jesse Glick f939db47d3 Upgrade mailer to 1.10 to pick up SECURITY-152 fix. 2014-08-06 17:40:06 -04:00
Jesse Glick 80da8f2958 Only helpful to dump threads in case of a timeout.
For regular test failures this is normally just annoying noise.
2014-08-05 15:18:19 -04:00
tfennelly 7cdb85d09c Modernized projectview and plugin manager (bigtables with tabs) [JENKINS-24030] 2014-08-05 12:21:18 +01:00
Jesse Glick 137c90cc61 [FIXED JENKINS-24080] Improved security of CommandDuringBuild and its current implementations. 2014-08-01 11:06:46 -04:00
Jesse Glick 7bbf36b7f0 Skip a test if starting Jenkins was interrupted.
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)
2014-07-31 11:00:28 -04:00
Kohsuke Kawaguchi b2a98f6bc6 Create a single point in which the basic authentication header is processed.
Previously, basic auth header was processed from two different servlet
filters in a single filter chain.

In case the 1st filter (ApiTokenFilter) manages to authenticate the
request, the 2nd filter (BasicProcessingFilter) tries to avoid
interpreting the API token as the password and failing authentication
(see BasicProcessingFilter.authenticationIsRequired), but the check
feels rather fragile.

Although I did eventually discover that the original problem (ZD-19640)
was not caused by this, I've already implemented & tested this change,
and this feels like a good work to be wasted, so I'm pushing this in
anyway.

Refrence: ZD-19640
2014-07-29 16:33:57 -07:00
Oliver Gondža d8489fc018 Getting back to existing CLIMethod command as I failed to register CLIMethod from jenkins-test-harness 2014-07-28 12:18:53 +02:00
Kohsuke Kawaguchi 55f8a72e53 the trunk is toward 1.576-SNAPSHOT 2014-07-27 10:56:37 -07:00
Oliver Gondža a641ae1a7f Refactor CLIRegistererTest.testAuthWithSecurityRealmCLIAuthenticator 2014-07-27 10:54:48 +02:00
Daniel Beck 867884f632 [FIXED JENKINS-23988] Consider CLIAuthenticator for CLIMethods 2014-07-26 17:33:41 +02:00
Oliver Gondža 8caf00bf21 Merge pull request #1323 from olivergondza/JENKINS-23893
[FIXED JENKINS-23893] Top level ListView is not updated when job is renamed/deleted
2014-07-23 20:10:11 +02:00
Jesse Glick b25e8e54dc Introduced Run.StatusSummarizer extension point so that Run need not refer directly to AbstractTestResultAction. 2014-07-22 17:47:35 -04:00
Jesse Glick 0f3574bbc1 Merge branch 'JENKINS-22641' of github.com:christ66/jenkins 2014-07-22 13:18:41 -04:00
Jesse Glick f4f28ff927 Deprecating AbstractBuild.getTestResultAction. 2014-07-22 11:58:36 -04:00
christ66 0826f09f99 Use assertLogNotContains to verify that logs do not contain sleep process. 2014-07-21 14:48:20 -07:00
Jesse Glick f03e67a49b Merge branch 'JENKINS-22641' of github.com:christ66/jenkins 2014-07-21 17:35:29 -04:00
Jesse Glick f43a450c31 Replaced Fingerprinter.recordBuildArtifacts with ArtifactArchiver.fingerprint.
This is simpler: we do not need to inspect the configuration of the project.
2014-07-21 16:58:10 -04:00
christ66 0d4c0cb6b2 Add test unit for JENKINS-22641 2014-07-21 13:16:26 -07:00
Jesse Glick f6b43d08af Removing ArtifactArchiver.latestOnly; LogRotator.artifactNumToKeep handles this more generally. 2014-07-21 15:41:27 -04:00
Kohsuke Kawaguchi dd914688d3 the trunk is toward 1.575-SNAPSHOT 2014-07-20 23:27:40 -07:00
Oliver Gondža d74520fd4e [FIXED JENKINS-23893] Top level ListView is not updated when job is renamed/deleted 2014-07-20 22:41:43 +02:00
Jesse Glick 17d9093165 [FIXED JENKINS-17667] Fixed race condition when running tool installers on many slaves at once.
Correcting change made in #1176, which introduced an NPE, to restore original logic merely wrapped in a synchronized block.
Reproduced NPE in new functional test (original bug probably very hard to reproduce).
2014-07-15 13:36:10 -04:00
Jesse Glick 84d49ceef2 [JENKINS-14749] Suppress warnings about expected exception from prototype.js#HAS_EXTENDED_CREATE_ELEMENT_SYNTAX. 2014-07-15 09:37:00 -04:00
Jesse Glick 759c8a52ce [JENKINS-14749] Temporarily work around CSS errors by just suppressing the warnings until they can be fixed. 2014-07-15 09:22:47 -04:00
Jesse Glick d85fd687fe Toning down some uninteresting logging which just clutters test runs. 2014-07-15 09:02:10 -04:00