Commit Graph
452 Commits
Author SHA1 Message Date
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 a11df3f338 Rewrote computeRelativeNamesAfterRenaming to work with moves. 2013-12-19 17:21:11 -05:00
Jesse Glick b65f42c6d0 Working on making it straightforward for plugins to update even relative names after a move. 2013-12-19 12:56:41 -05:00
Jesse Glick 66805b7463 Why did these tests have timeouts?
Seems to have caused spurious timeout errors.
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1748/testReport/junit/hudson.scheduler/CronTabEventualityTest/testFirstSundayOfMonthWillBeEventuallyTriggeredWithinOneMonthAndOneWeek_0_/
java.lang.Exception: test timed out after 1000 milliseconds
	at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
	at java.io.File.exists(File.java:772)
	at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1072)
	at sun.misc.URLClassPath.getResource(URLClassPath.java:199)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:358)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at hudson.scheduler.CronTab.set(CronTab.java:87)
	at hudson.scheduler.CronTab.<init>(CronTab.java:83)
	at hudson.scheduler.CronTab.<init>(CronTab.java:66)
	at hudson.scheduler.CronTabEventualityTest.checkEventuality(CronTabEventualityTest.java:113)
	at hudson.scheduler.CronTabEventualityTest.testFirstSundayOfMonthWillBeEventuallyTriggeredWithinOneMonthAndOneWeek(CronTabEventualityTest.java:109)
2013-12-16 16:25:05 -05:00
Oliver Gondža 3f1f122ff4 [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters 2013-12-12 15:16:13 +01:00
Jesse Glick a900b488b5 [FIXED JENKINS-20800] HTML metacharacters not escaped in log messages. 2013-11-27 18:32:22 -08:00
Oliver Gondža 58ee9395cf Merge pull request #1015 from olivergondza/fix-7285
[FIXED JENKINS-7285] Fix regression from 1.536
2013-11-16 15:00:10 +01:00
Jesse Glick 3583f34426 Merge branch 'scheduled-executor-timer' of github.com:recampbell/jenkins into recampbell-scheduled-executor-timer 2013-11-15 17:39:47 -05:00
Jesse Glick 15ac490af1 Now that we use Java 6, can finally deprecate IOException2. 2013-11-15 08:19:59 -05:00
Oliver Gondža d7c016b881 [FIXED JENKINS-7285] Fix regression from 1.536 2013-11-14 13:25:24 +01:00
Oliver Gondža 7648a95a7c Refactor hudson.console.UrlAnnotatorTest 2013-11-08 10:47:21 +01:00
Edmund Wong 4bf5e15b18 [JENKINS 19866] Add log handling line beginning with 'file://' 2013-11-08 16:22:45 +08:00
ikedam 6d56de71cb [JENKINS-20280] Use topological sorting to decide the order to override variables. 2013-11-01 23:55:29 +09:00
ikedam 562c64bbdb [JENKINS-20280] Make it easy to change the implementation. Especially Map.Entry is not so convenient to handle. 2013-11-01 22:11:18 +09:00
Ryan Campbell 6e9b7b7e64 Naming convention 2013-10-28 15:42:38 -05:00
Ryan Campbell 565ced0dba [FIXES JENKINS-19622] Replace hudson.model.Trigger#timer with jenkins.util.Timer, which exposes a ScheduledExecutorService. Up to 10 additional threads will be created to run pending tasks even if running tasks are blocked.
Also, move static initialization of timers to the classes which require them.
2013-10-28 14:44:17 -05:00
Kohsuke Kawaguchi b96d227f97 [FIXED JENKINS-19996] Support view manipulation via Jenkins CLI
Merged pull request #971.
2013-10-26 14:50:57 -07:00
Kohsuke Kawaguchi 705b013c8a Merge pull request #976 from sghill/parametersaction-merge
Adding ParametersAction#merge(ParametersAction) method with tests.
2013-10-26 14:36:21 -07:00
ikedam 4204d22496 [FIX JENKINS-20280] Calculates the order to override variables. This is an improved fix for [JENKINS-19488] and [JENKINS-19926]. 2013-10-26 13:38:30 -07:00
Jesse Glick b8ace7789a Ensuring that getRelativeNameFrom actually inserts ../ sequences where it should.
The implementation of the method is rather hard to follow so this certainly needs to be tested!
2013-10-21 15:34:58 -04:00
Oliver Gondža b2651f22b2 [JENKINS-19996] Support nested views in Jenkins CLI 2013-10-18 14:34:46 +02:00
sghill 2fe47370d1 Adding ParametersAction#merge(ParametersAction) method with tests. 2013-10-16 15:56:04 -04:00
Oliver Gondža f8ec806d74 Merge pull request #823 from olivergondza/jenkins18393
[FIXED JENKINS-18393] Do not list any ItemGroup in list-jobs CLI command
2013-10-14 06:58:25 -07:00
Andrew Kiellor 3f2d003ba5 Move check into ChoiceParameterDefinition.DescriptorImpl. 2013-10-08 09:33:48 -04:00
Andrew Kiellor d244b6b69a FIXES JENKINS-18434 - Added validation error to Parameterized build choice, removed hard error. 2013-10-07 16:29:06 -04:00
Jesse Glick 1c68183ae8 [FIXED JENKINS-19307] Noting merge of pull #937. 2013-10-03 10:34:34 -04:00
Jesse Glick b86d9e94d4 Merge branch 'JENKINS-19486_Polling_with_workspace_gets_incorrect_environment' of https://github.com/Vlatombe/jenkins into Vlatombe-JENKINS-19486_Polling_with_workspace_gets_incorrect_environment 2013-10-03 10:27:07 -04:00
Ian Hopkins ddfa65fae6 [FIXED JENKINS-10675] use X-Forwarded-Proto if present 2013-10-02 11:28:24 -04:00
Vincent Latombe 5d56102232 Check that Computer.currentComputer() is never called
inside buildEnvironmentFor Job since it doesn't make sense
outside of a running build.
2013-09-18 14:16:57 +02:00
Jesse Glick b74750934c Merge branch 'master' into ArtifactManager-JENKINS-17236
Conflicts:
	core/src/main/java/hudson/FilePath.java
	core/src/main/java/hudson/tasks/ArtifactArchiver.java
2013-09-12 07:57:32 -04:00
Jesse Glick 3f3e05fa4a Merge pull request #928 from olivierdagenais/FixRandomHttp404
[FIXED JENKINS-19418] Fix random HTTP 404 when viewing build details
2013-09-12 04:44:41 -07:00
Jesse Glick 89a11462c7 [FIXED JENKINS-18337] Must use xmlEscape for freeform text fields in fingerprint XML. 2013-09-09 10:06:55 -04:00
Jesse Glick 574fe1409e [FIXED JENKINS-9540] Failure of recursive copy on slave side should be reported.
Instead it was being thrown in a Future that the master did not wait for:
the writing side failed with a closed pipe exception, and this meaningless error was thrown up.
Fixing by waiting for the reading side first, so any error there will be thrown up.
(If there was _also_ an error on the writing side, we would miss it, but typically this will just be the closed stream.)
2013-08-29 16:13:48 -04:00
Olivier Dagenais d12b16c66b Minor formatting fixes. 2013-08-29 14:35:29 -04:00
Olivier Dagenais 7c9aab3831 Fix random HTTP 404 when viewing build details
Added a unit test (and supporting localExpiredBuilder) to expose a
defect in the search() method of AbstractLazyLoadRunMap whereby the
index contained an entry for the requested build number, but the
BuildReference's referent was null.
Fixed the search() method to handle this rare[ish] corner case.
2013-08-29 14:31:22 -04:00
Nicolas De Loof 872a6d740d fix computeRelativeNamesAfterRenaming for job tbs using same prefix in name 2013-08-25 12:43:35 +02:00
Jesse Glick 862544b249 Satisfy DirectoryBrowserSupport with a new VirtualFile. 2013-08-21 16:38:27 -04:00
Jesse Glick 01fa0201fc First draft of reworked artifact listing API. 2013-08-21 14:05:25 -04:00
Jesse Glick f846169fb5 Moving what is essentially unit test code out of the test harness module. 2013-08-21 13:06:17 -04:00
ssogabe 923d6e48b6 ComputerLauncherTest failed with LANG=ja_JP. It seems to use invalid expect.
If the output of 'java -version' is 'java version "1.7.0_05" ', then the expect should be 1.7.0 not 1.7
2013-08-07 22:41:24 +09:00
Oliver Gondža 72901837db [FIXED 10539] Preserve backslash in Matrix buildstep properties 2013-08-02 21:55:43 +02:00
Oliver Gondža f18f89d6a0 Avoid deprecated junit.framework.Assert, use org.junit.Assert instead 2013-08-01 15:50:42 +02:00
Larry North 3376cf0158 [FIXED JENKINS-16660] Allow variable names with dots in bracketed references.
Given these <variable,value> mappings: <A,a> and <A.B,a-b>, $A.B would
evaluate to $a.B, as it currently does, and ${A.B} to a-b instead of the
current ${A.B}.

Existing ${A.B}-like references will break (not evaluate to ${A.B}) if
there actually is an A.B variable defined, which I think is very
unlikely.
2013-07-26 21:15:51 -07:00
Vincent Latombe 8b9394dd69 Refactor ListView to allow to set includeRegex programmatically 2013-07-20 10:56:19 +02:00
Kohsuke Kawaguchi bf80986734 Replacing org.kohsuke.gmaven by org.codehaus.gmaven 2013-07-17 17:49:56 -07:00
Oliver Gondža b8a580c9b3 Add unittests for Util.loadProperties 2013-07-09 16:59:31 +02:00
Oliver Gondža 6af228ebc4 Merge branch 'master' into jenkins18393 2013-07-06 23:53:18 +02:00
Christoph Kutzinski 95ac644029 fixed some warnings 2013-07-06 11:54:25 +02:00
Kohsuke Kawaguchi 735713801b [FIXED JENKINS-18438]
Node monitoring should run in parallel to reduce the total round-trip
time in large instances.
2013-06-26 16:29:43 -07:00
Oliver Gondža 0c65654699 Merge branch 'master' into jenkins18393 2013-06-26 14:20:25 +02:00