Commit Graph
1943 Commits
Author SHA1 Message Date
Jesse Glick f360ce3ee0 Javadoc for Queue.Task claimed they were compared using .equals(), but in critical cases this was not actually true.
Does not matter for the common case of Job, but when implementing custom tasks this could cause duplicate queue items (and executables).
2014-02-20 11:05:32 -05:00
Jesse Glick b2c69b4a35 Split RawHtmlMarkupFormatter into a bundled plugin (antisamy-markup-formatter).
https://trello.com/c/NvZt4WXu/15-rawhtmlmarkupformatter
2014-02-17 12:22:53 -05:00
Kohsuke Kawaguchi 536f6a10c5 Merge branch 'master' of github.com:jenkinsci/jenkins 2014-02-14 19:29:53 -08:00
Kohsuke Kawaguchi 2e1d9f28fe the trunk is toward 1.553-SNAPSHOT 2014-02-14 18:31:51 -08:00
Kohsuke Kawaguchi c88698c0af [JENKINS-21261] while I originally misdiagnosed the problem, the test is still marginally useful. 2014-02-14 18:29:21 -08:00
Kohsuke Kawaguchi bdd8ca3fe4 merged back the RC branch 2014-02-14 16:34:44 -08:00
Kohsuke Kawaguchi 659aa543b0 [maven-release-plugin] prepare for next development iteration 2014-02-14 15:42:27 -08:00
Kohsuke Kawaguchi 2ba3eb60d6 [maven-release-plugin] prepare release jenkins-1.551 2014-02-14 15:42:26 -08:00
Jesse Glick 724f9e0dfc Strengthening the reverse proxy admin monitor to detect nontransparent slash encoding (/ vs. %2F).
Apache in its default configuration botches this: http://stackoverflow.com/a/9933890/12916
2014-02-13 15:04:32 -05:00
Jesse Glick abc77438d2 Merge branch 'security' into security-rc
Conflicts:
	core/src/main/java/hudson/Functions.java
	core/src/main/java/hudson/markup/MyspacePolicy.java
	core/src/main/java/hudson/util/RobustReflectionConverter.java
	core/src/main/resources/lib/layout/layout.jelly
	war/pom.xml
2014-02-11 21:00:54 -05:00
Jesse Glick b6b2a367a7 [FIXED SECURITY-109] SECURITY-55 fix to BuildTrigger configuration failed if downstream project was not visible. 2014-02-11 14:22:46 -05:00
Jesse Glick bf53919856 [FIXED SECURITY-93] PasswordParameterDefinition should serve existing default value in encrypted form.
And strengthen functional tests (using configRoundTrip) to ensure that the same mistake is not made elsewhere.
2014-02-11 14:19:39 -05:00
Kohsuke Kawaguchi da8eba20ba the trunk is toward 1.552-SNAPSHOT 2014-02-09 10:03:30 -08:00
Stefan Wolf be7a97ee32 [FIXED JENKINS-17606] Reuse existing fingerprint action if present.
Prevents multiple FingerprintActions.
2014-02-04 22:34:13 +01:00
CloudBees DEV@Cloud ef63ccac0a Merge commit 'cd526e99e63ae362f2d1ce1a04c3c68a38032a5c' 2014-02-04 16:35:04 +00:00
Jesse Glick cd526e99e6 [FIXED JENKINS-21023] Rewrote WorkspaceCleanupThread to determine where workspaces for known items should be, rather than looking for directories that look like they might be workspaces.
One key advantage is that this correctly handles the new default workspace location on the master.
Another is that this allows folders to be correctly skipped, and jobs in folders to be correctly deleted.
A subtler advantage would be handling of configured nondefault workspace locations, and compatibility with WorkspaceLocator.
(Orphaned workspaces from deleted jobs are not removed, but these were not removed before either.)
2014-02-04 11:34:14 -05:00
Ulli Hafner 48cb1304c5 Removed "Jenkins" prefix from plugin display names.
Since sorting of plugins in the update manager is based on displayName
this name should not have a common prefix otherwise it's hard to find
a given plugin name.
2014-02-04 15:25:31 +01:00
Oliver Gondža 380dad924e Merge pull request #1109 from olivergondza/JENKINS-21474
[JENKINS-21474] Fix NPE in View.getComputers()
2014-02-01 00:55:52 -08:00
Oliver Gondža e31f8dc2d3 [JENKINS-21474] Fix NPE in View.getComputers() 2014-01-31 23:59:25 +01:00
Kevin P. Fleming d33a73591d Remove unnecessary executable bits on source files 2014-01-31 08:38:07 -05:00
Oliver Gondža 3aa812fe1f Refactor CLI tests 2014-01-29 23:31:49 +01:00
Oliver Gondža 150b8de997 Merge pull request #1103 from olivergondza/refactor-offline-cause
Introduce `OfflineCause.UserCause`
2014-01-29 22:49:32 +01:00
Jesse Glick 08ab1b788f Let -Dignore.random.failures work on UpdateCenterTest, which is currently failing and so blocking validated merge. 2014-01-27 12:43:31 -08:00
Oliver Gondža 244e4dcd59 Introduce OfflineCause.UserCause 2014-01-27 18:34:52 +01:00
Kohsuke Kawaguchi 4f57fbea02 the trunk is toward 1.551-SNAPSHOT 2014-01-26 07:22:20 -08:00
Kohsuke Kawaguchi bea020fd6d the trunk is toward 1.550-SNAPSHOT 2014-01-20 18:14:25 -08:00
Kohsuke Kawaguchi 862bb2017d the trunk is toward 1.549-SNAPSHOT 2014-01-13 08:09:50 -08:00
Oliver Gondža c8930ed1b8 Refactor #992 2014-01-12 18:04:05 +01:00
Oliver Gondža 2767724185 Fix #992 2014-01-10 14:47:21 +01:00
Oliver Gondža 25d8b96c61 Merge pull request #992 from lvotypko/ViewTest
Add tests
2014-01-10 12:06:26 +01:00
Jesse Glick cb623640cc [FIXED JENKINS-18694] Generalizing fix of JENKINS-18678 to include also rename of parent folders, taking advantage of JENKINS-18028 API. 2014-01-09 12:40:48 -05:00
Jesse Glick 6815152cd4 Merge branch 'master' into TransientActionFactory-JENKINS-18224 2014-01-08 19:05:57 -05:00
Jesse Glick a22e9feaae [JENKINS-18224] Introduced Actionable.replaceAction, allowing getActions() to be deprecated except for subclasses. 2014-01-08 17:36:21 -05:00
Jesse Glick ca1ab42491 Merge remote-tracking branch 'origin/master' into TransientActionFactory-JENKINS-18224 2014-01-08 17:19:35 -05:00
Jesse Glick 554be78b9b [JENKINS-18678] [JENKINS-18028] Confirming (as suggested in #1069 by @oleg-nenashev) that build history is retained after a move into a folder. 2014-01-08 16:38:06 -05:00
Jesse Glick 0b5927dc0d Merge branch 'master' into folder-moving 2014-01-08 16:20:36 -05:00
Jesse Glick 7c91c402a7 [FIXED JENKINS-21254] Ensuring that all <link>s offered on the /login page can be read even by anonymous users without Jenkins.READ. 2014-01-07 10:10:27 -05:00
Kohsuke Kawaguchi 67f3465e03 the trunk is toward 1.548-SNAPSHOT 2014-01-06 19:31:42 -08:00
Fernando Boaglio a1a7f282ff pt_BR translation (diagnosis + matrix + logging) 2014-01-05 00:08:08 -02:00
Jesse Glick d29a90150c Introduced @RandomlyFails annotation to make it easier to skip unreliable functional tests.
First tried using excludedGroups and trying to work around SUREFIRE-984.
Made some progress, but not ideal since marked tests are omitted from output, rather than being listed as ignored.
Throwing AssumptionViolatedException from JenkinsRule is much simpler and seems to work better.
https://github.com/junit-team/junit/issues/116 notes its limitations.
2014-01-02 16:27:48 -05:00
Jesse Glick b7d4c6a414 The jenkins_main_trunk job has been retired, so for now just skip these tests when running on any Jenkins server. 2014-01-02 15:00:01 -05:00
Jesse Glick bfaab5118d [JENKINS-18410] NPE from previous fix (fcdf749) under some conditions, which the test case was not exercising.
java.lang.NullPointerException
	at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.getProject(AggregatedTestResultPublisher.java:173)
	at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:146)
	at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:135)
	at hudson.tasks.test.AggregatedTestResultPublisher.perform(AggregatedTestResultPublisher.java:90)
2014-01-02 13:34:42 -05:00
Jesse Glick 2756f08c13 Merge branch 'master' into folder-moving
Conflicts:
	core/src/main/java/hudson/model/Items.java
2014-01-02 12:51:42 -05:00
Kohsuke Kawaguchi 3634681324 the trunk is toward 1.547-SNAPSHOT 2013-12-31 16:00:07 -08:00
Jesse Glick fd97a2f5e8 Fingerprinter calls rebuildDependencyGraphAsync, so since this is now delayed by 500msec, tests incorrect as of 1.522 will now fail pretty reliably unless made to forcibly rebuild the graph. 2013-12-23 18:08:48 -05:00
Jesse Glick 1943801ba7 [JENKINS-18678] Reproduced problem in test. 2013-12-23 10:11:53 -05:00
Jesse Glick 6d3c2e0d84 [FIXED JENKINS-18680] Update members of a ListView using a regular listener, not View.onJobRenamed which does not work with folders. 2013-12-19 18:28:01 -05:00
Jesse Glick 9fc87f4a22 [FIXED JENKINS-18028] Providing a supported way to move an item between folders, firing changes as we go. 2013-12-19 12:22:01 -05:00
Kohsuke Kawaguchi 168c50c4d3 the trunk is toward 1.546-SNAPSHOT 2013-12-18 18:02:32 -08:00
Jesse Glick 3f5b7e7624 ItemListener.fireOnDeleted 2013-12-18 17:43:04 -05:00