Commit Graph
9571 Commits
Author SHA1 Message Date
Jesse Glick 6ea4532da3 Merge pull request #774 from dnadolny/master
[JENKINS-17478] Various improvements from code reviews
2013-05-21 11:26:35 -07: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 e2d17fb10b When used with MarkupFormatter, make it clear what language is in use. 2013-05-17 03:32:05 -04:00
Jesse Glick 84d1abdcd4 [FIXED JENKINS-17983] Empty LogRecorder.Target.name was not working. 2013-05-16 17:22:51 -04:00
Donny Nadolny 37f91746fa Merge branch 'master' of https://github.com/jenkinsci/jenkins 2013-05-15 16:45:30 -04:00
Donny Nadolny f566c8ae16 Various improvements from code reviews 2013-05-15 16:40:38 -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
Jesse Glick 42fb9c7143 JUnit 4. 2013-05-13 10:09:49 -04:00
Oliver Gondža 0426377cd3 Explicitly turn of default escaping 2013-05-09 10:43:20 +02: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
Kohsuke Kawaguchi 796ae26e3c Auto-restart the service if it fails. 2013-05-06 14:13:33 -07:00
Olivier Lamy 1182fe44c0 Merge pull request #771 from imod/dropdownDescriptorSelector-defaulting-to-instance
[FIXED JENKINS-17858] allow <f:dropdownDescriptorSelector> to be defaulting to an instance
2013-05-05 22:01:08 -07: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 961f691cf0 [FIXED JENKINS-17858] allow <f:dropdownDescriptorSelector> to be defaulting to a specifig instance 2013-05-05 17:49:42 +02: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
ssogabe 0adc32a7e1 fixed typo 2013-04-26 02:35:20 +09: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 749775311a Oops, that was a debug statement 2013-04-24 12:03:44 -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