Commit Graph
7089 Commits
Author SHA1 Message Date
Jesse Glick 51fbd2d867 [JENKINS-16301] Replace impl of getDigestOf with standard (Commons Codec) DigestUtils.md5Hex, for simplicity. 2013-05-21 17:41:39 -04:00
Jesse Glick b5d96e27dd [JENKINS-17030] Noting, fixing/adding @since, adding @Bug. 2013-05-21 14:07:10 -04:00
Jesse Glick e31b750c58 Merge pull request #767 from olivergondza/wbr_layout
[FIXED JENKINS-17030] Enable word breaking for job names.
2013-05-21 11:04:21 -07:00
Jesse Glick df53cc7d72 Lack of HTML escape made Javadoc misleading. 2013-05-20 13:27:19 -04:00
Jesse Glick ab2774362f [JENKINS-15652] Include directory in assertion messages so it is possible to tell which project is broken. 2013-05-20 13:04:27 -04:00
Jesse Glick 84d1abdcd4 [FIXED JENKINS-17983] Empty LogRecorder.Target.name was not working. 2013-05-16 17:22:51 -04:00
Jesse Glick 5ecbbefb6d [FIXED JENKINS-16652] Use UpdateSite.Plugin.deploy from PluginManager.doUploadPlugin. 2013-05-14 20:15:07 -04:00
Jesse Glick 8c53e2f394 [FIXED JENKINS-17935] NPE from Run.getDynamic when a transient build action is invisible.
Amends lvotypko’s 33e0df7 to be as careful as bdff425 + f65da7f + 10e9b00 for persistent actions.
2013-05-13 13:27:29 -04:00
Jesse Glick 688420177a [FIXED JENKINS-17933] Catch errors in init.groovy. 2013-05-13 10:42:20 -04:00
Jesse Glick e1473e208c Missing equals/hashCode/toString impls for CopyOnWriteMap. 2013-05-13 10:20:00 -04:00
Kohsuke Kawaguchi 76b455184a expose the submitted file name 2013-05-08 12:13:44 -07:00
Kohsuke Kawaguchi c4d36adb69 typo 2013-05-08 10:20:12 -07:00
ssogabe 3f12c11115 fixed i18n. use Localizable object. 2013-05-08 19:36:09 +09:00
Oliver Gondža b26835ffeb [fixed JENKINS-7285] Use build parameters in combination filters
Based on the work of Michael Elkin [1].

[1] https://issues.jenkins-ci.org/secure/attachment/20588/0001-tag-1.414-for-parameters-in-multiconfig-filters.patch
2013-05-07 13:03:54 +02:00
Olivier Lamy 70f457d90e Merge pull request #772 from imod/default-maven-settings
FIXES JENKINS-17723 - Default maven settings
Good change !
2013-05-05 18:29:21 -07:00
imod 91f0352ea2 try using defaulting of dropdownDescriptorSelector 2013-05-04 17:35:40 +02:00
dnadolny 4e37084360 Merge pull request #769 from dnadolny/master
[FIXED JENKINS-17478] Add extension point to rewrite JUnit test names
2013-05-02 13:14:59 -07:00
Jesse Glick 53d1e20f62 If an optional component cannot be loaded, print a polite one-line message, not a big scary stack trace.
(To reproduce: BuildNowTextPropertyTest from cloudbees-template warns about FolderProxyGroupContainer.)
2013-05-02 14:55:06 -04:00
Donny Nadolny d658f55c30 Add extension point to rewrite JUnit test names
This adds an extension point, TestNameTransformer, which is called to transform JUnit test case names.
This is useful for JVM languages like scala which are more flexible than java with identifier naming.
Scala, for example, allows you to write test names between back ticks, and then encodes the name using valid java identifiers.
This extension point would allow a plugin to transform those names back in to readable names when they are displayed on the test result page.
2013-05-02 14:03:03 -04:00
Jesse Glick 21bf5c45d4 Diagnosis for test failure.
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/850/testReport/jenkins.security/RekeySecretAdminMonitorTest/testBasicWorkflow/
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 400 Bad Request for http://localhost:60027//administrativeMonitor/jenkins.security.RekeySecretAdminMonitor/scan
	at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:549)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:333)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:357)
	at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:196)
	at org.jvnet.hudson.test.HudsonTestCase.submit(HudsonTestCase.java:1178)
	at jenkins.security.RekeySecretAdminMonitorTest.testBasicWorkflow(RekeySecretAdminMonitorTest.java:112)
java.lang.Exception: Invalid request submission
	at org.kohsuke.stapler.HttpResponses.error(HttpResponses.java:79)
	at jenkins.security.RekeySecretAdminMonitor.doScan(RekeySecretAdminMonitor.java:117)
2013-05-02 08:55:31 -04:00
Kohsuke Kawaguchi 31eeb753aa merged back the RC branch 2013-05-01 20:37:34 -07:00
Jesse Glick 3c2b50ecfe [FIXED JENKINS-17681] Do not try to call resolveSymlink on a nonexistent link as you will just get an IOException, breaking peephole permalinks in some Windows environments. 2013-05-01 20:13:18 -04:00
Jesse Glick 00d5e38759 [JENKINS-17681] Set up a test which passes on Unix but fails on Windows when symlinks are enabled on the platform but disabled for the current user. 2013-05-01 19:10:30 -04:00
Jesse Glick 1e51b62298 [SECURITY-63] Check RUN_SCRIPTS for /eval.(cherry picked from commit 3d03990abc) 2013-05-01 14:16:49 -07:00
Jesse Glick 04403edc58 [SECURITY-63] Require POST for running Groovy scripts.(cherry picked from commit 3bbb65df3a) 2013-05-01 14:16:40 -07:00
Jesse Glick d482fc50fb [FIXED SECURITY-67] Forbid CSS links in markup to be on the safe side.(cherry picked from commit 1e19eb3ece) 2013-05-01 14:16:37 -07:00
Oliver Gondža 2c240bdc87 [FIXED JENKINS-17030] Enable word breaking for job names 2013-05-01 18:32:13 +02:00
Jesse Glick d391bbee07 Debugging toString. 2013-04-30 17:09:28 -04:00
Jesse Glick 7f3096c558 Deferring formatting Logger messages unless and until the log formatter is run.
No need to call isLoggable if you are only calling simply getters and relying on toString later.
2013-04-30 16:53:27 -04:00
Jesse Glick fd31a5d85c [FIXED JENKINS-15309] Be robust against serialized ListView with jobNames==null. 2013-04-30 16:00:00 -04:00
imod b8adcb43dd add global maven config to define default settings providers 2013-04-30 20:38:35 +02:00
ssogabe 3f0f25fc6b forgot to replace XXX with 1.515 2013-04-30 22:09:50 +09:00
ssogabe 55a68acca9 [FIXED JENKINS-17715] Display Name is not shown 2013-04-30 20:49:58 +09:00
Kohsuke Kawaguchi 6327e265f8 Added the set-build-parameter command. 2013-04-26 22:03:32 -04:00
Jesse Glick 7fa8fe4096 [FIXED JENKINS-17402] getItem may return null but may not throw IAE. 2013-04-25 11:20:07 -04:00
Jesse Glick 4057463244 [JENKINS-16845] Refinement to hotfix: if build field has already been cleared due to earlier warning, do not throw a new NPE. 2013-04-25 11:11:01 -04:00
Kohsuke Kawaguchi 6e91651a57 [JENKINS-16824] log who's interrupting executors.
This bug indicates that people are having trouble understanding who's
responsible for aborting the build. This change records that
information through the logger.
2013-04-25 07:19:02 -07:00
Kohsuke Kawaguchi 6117578a43 making notes 2013-04-24 12:02:07 -07:00
Kohsuke Kawaguchi 8e6a3f7f03 Converted the build queue and executors into Widgets. 2013-04-24 12:00:58 -07:00
Kohsuke Kawaguchi f1669601e4 [FIXED JENKINS-4543] Identify the short name of the plugin from the manifest. 2013-04-24 11:23:37 -07:00
Jesse Glick 06e459fffe [FIXED JENKINS-17728] ParentBuildAction.parent can sometimes be null. 2013-04-23 20:21:01 -04:00
Jesse Glick 0bf434845b [FIXED JENKINS-17724] /about was not showing licenses.
A recent Stapler update caused the Jelly facet to ignore *.xml.
So need to use raw j:include (as plugins were doing), not st:include (as core did).
2013-04-23 14:46:47 -04:00
Jesse Glick 19f34b54d6 -Dhudson.udp=-1 to disable UDP broadcast. 2013-04-23 12:07:31 -04:00
Kohsuke Kawaguchi 70e1977f21 Call attention to the fact that the security isn't enabled.
This is deemed important because we ship Jenkins without security setting by default.
2013-04-19 14:06:48 -07:00
Kohsuke Kawaguchi ac7e27756f Avoid using now deprecated names 2013-04-19 12:07:52 -07:00
Kohsuke Kawaguchi 368d8c7394 Don't let the error icon get clipped when the text is short.
On Chrome (and possibly others), an inline element like span doesn't enlarge
its size to cover its content, so the 1px place holder wasn't taking effect.

To ensure the minimum height of 16px, make it an inline-block element. I'm
not entirely sure how an inline-block element with no fixed width would behave,
but with a bit of casual testing, the text inside seems to wrap OK.
2013-04-19 10:11:28 -07:00
Kohsuke Kawaguchi 22d1175ac6 Show when the monitor data was obtained 2013-04-18 19:21:56 -07:00
Kohsuke Kawaguchi 58cb75fd28 Improved the robustness in the node monitoring
- Improved logging and recovery for the Record thread that dies in the middle.
- Recover from failing to monitor one node and move on to the next.
2013-04-18 18:54:15 -07:00
Kohsuke Kawaguchi 5c95be34e4 don't let a programming error kill this thread 2013-04-18 18:39:18 -07:00
Kohsuke Kawaguchi e131764850 formatting improvements 2013-04-18 18:09:58 -07:00