Commit Graph
9480 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi ff7f272a4b Fixing StringIndexOutOfBoundsException
I'm not really sure what this code is doing or what ID is supposed to look like. So this is just a minimum-intrusion change to avoid an exception.

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1875)
        at hudson.tasks.junit.PackageResult.findCorrespondingResult(PackageResult.java:86)
        at hudson.tasks.junit.TestResult.findCorrespondingResult(TestResult.java:295)
        at hudson.tasks.test.AbstractTestResultAction.findCorrespondingResult(AbstractTestResultAction.java:183)
        at hudson.tasks.test.TestResult.getResultInBuild(TestResult.java:162)
        at hudson.tasks.junit.History.getList(History.java:82)
        at hudson.tasks.junit.History$1.createDataSet(History.java:105)
        at hudson.tasks.junit.History$GraphImpl.createGraph(History.java:169)
        at hudson.util.Graph.render(Graph.java:87)
        at hudson.util.Graph.doPng(Graph.java:98)
2013-04-16 12:56:37 -07:00
Jesse Glick 5ee9ab5451 Merge pull request #760 from mpapo/JENKINS-17416
JENKINS-17416 - Improve Wipe Out Workspace label
2013-04-16 12:48:32 -07:00
Kohsuke Kawaguchi 084da443e1 [JENKINS-13995]
Added logging more liberally, and fixed the problem.
The root cause was that when the mouse enters a hot spot, I wasn't cancelling the previous delayed hide timer.

This fix eliminates the need for the hack in the hide method where I was testing if the mouse was still over the hotspot.
2013-04-16 12:04:34 -07:00
Kohsuke Kawaguchi 6fb7a50d07 [JENKINS-13995]
Fixed a bug where the context menu anchor 'v' disappears even when the mouse is still over a model link.
2013-04-16 12:03:47 -07:00
Kohsuke Kawaguchi d9ec2ce7f3 matching the size with font size since the context menu is most likely aligned with text 2013-04-16 12:03:47 -07:00
Kohsuke Kawaguchi 7547681a24 need to prefer linked files over archives.
This regression appeared to be introduced in 32d5c23.
2013-04-16 12:03:47 -07:00
Michael Pailloncy 15cc52276e JENKINS-17416 - Improve Wipe Out Workspace label 2013-04-16 19:59:32 +02:00
Jesse Glick f8ce8c6e5a Removed junk from cdee827d55. 2013-04-16 11:55:58 -04:00
Nicolas De loof cdee827d55 restore backward compatibility
d3096819f6 changed constructor signature. Add a backward-compatible one
2013-04-16 13:52:23 +02:00
ssogabe 3a855b876d updated Japanese localization 2013-04-13 19:40:42 +09:00
ssogabe ac562d821a check view name with ajax 2013-04-13 09:53:51 +09:00
Seiji Sogabe 477e8979eb rawEncode should be used instead of encode 2013-04-13 04:48:07 +09:00
Jesse Glick 299af75293 Touch-ups related to PR #757. 2013-04-12 14:09:12 -04:00
Vincent Latombe bcd9456933 Merge branch 'master' into views_include_jobs_folder 2013-04-12 15:56:11 +02:00
Jesse Glick 7d31e7c5d6 Using l:confirmationLink instead of AbstractItem/delete.jelly and AbstractProject/wipeOutWorkspace.jelly. 2013-04-11 17:45:40 -04:00
Jesse Glick 704d870a13 Merge branch 'master' of github.com:jenkinsci/jenkins 2013-04-11 11:36:30 -04:00
Jesse Glick 1205e9f6c4 [FIXED JENKINS-17575] Redirecting properly after deleting jobs in folders.
Expanded MockFolder to be a ViewGroup so that it is possible to test views inside folders,
and generally fixed it to service Stapler hierarchies properly so that WebClient-based tests can work.
2013-04-11 11:34:56 -04:00
Seiji Sogabe c86b6d7055 Merge pull request #657 from ssogabe/JENKINS-5408
[FIXED JENKINS-5408] Quoting Issue with JDK Installer with Windows Slave
2013-04-11 08:21:27 -07:00
Jesse Glick e3346be374 Better toString. 2013-04-11 11:07:51 -04:00
Vincent Latombe c4847d1b95 Deprecated jobBaseUrl from projectView.jelly.
The reason is that we always determine the job url using
Functions#getRelativeLinkTo, which keeps the view navigation info if it
exists, and can produce an absolute url if required by the context. So
it is no longer needed for the caller to worry about jobBaseUrl.

By default, names are interpreted in relatively to the current item
group, so Label and Computer views no longer need to set useFullName to
true to have correct behaviour.
2013-04-11 09:19:10 +02:00
Seiji Sogabe d33e22d392 [FIXED JENKINS-17317] ”My Views" links leads to 404 Not Found. 2013-04-11 06:31:21 +09:00
Vincent Latombe 719975595d Merge branch 'master' into views_include_jobs_folder
Conflicts:
	changelog.html
2013-04-10 19:00:04 +02:00
Jesse Glick 9eb69772a5 [FIXED JENKINS-15340] Ask for confirmation before reloading config from disk, as it may be expensive.
First of all, /reload should require POST (also prevents XSS DoS attacks).
Adding <l:confirmationLink> to encapsulate a link that requires confirmation upon clicking.
Allowing a ManagementLink to request confirmation (also implying POST); could be used also for e.g. /quietDown.
Enhancing <l:task> to support confirmation as well, and honoring this in context menu items.
2013-04-10 11:29:18 -04:00
Vincent Latombe 609487a06f Merge branch 'master' into views_include_jobs_folder
Conflicts:
	changelog.html
2013-04-10 14:30:27 +02:00
Vincent Latombe 0c0959ec10 Call non-ambiguous method 2013-04-10 11:47:15 +02:00
Vincent Latombe d54105c296 Crafting the job parent url by removing the job short url to the
complete relative url, in order to take into account the current view.
2013-04-10 11:27:59 +02:00
Vincent Latombe f6cc507217 Functions#getRelativeLinkTo now normalize the output url.
Added some unit tests
2013-04-10 11:27:10 +02:00
Vincent Latombe a1adf8aeab Removing allJobNames.
The view content needs to be determined by getItems as the content can
change even without view definition modification.
2013-04-10 09:47:10 +02:00
Jesse Glick b22b17c0d6 [FIXED JENKINS-10738] Different "build now" text for parameterized builds.
(Not touching the icon since I do not feel like playing with Inkscape; would be a nice pull request for somebody.)
2013-04-09 13:14:49 -04:00
Jesse Glick 97da1618c5 [FIXED JENKINS-17110] Build Now should be GET for parameterized jobs. 2013-04-09 12:58:49 -04:00
Vincent Latombe b16ae7ade2 Job list was not displayed consistently. 2013-04-09 12:17:52 +02:00
Vincent Latombe 48300d4a27 Fix indentation 2013-04-09 11:48:39 +02:00
Vincent Latombe 85aeb1c263 Revert view change to keep backward compatibility on existing columns. 2013-04-09 11:32:26 +02:00
Vincent Latombe d0a1d8aa9c Fix indentation 2013-04-09 11:17:01 +02:00
Vincent Latombe 6804299ae5 Fix following jglick review on PR
https://github.com/jenkinsci/jenkins/pull/757.
2013-04-09 11:05:58 +02:00
Jesse Glick 7251965dfd Merge branch 'rc' 2013-04-08 11:12:04 -04:00
Jesse Glick 73bf0e5b4f Revert "[FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only."
This reverts commit 3a6de84f67.
(Regressed JENKINS-15666.)
Conflicts:

	changelog.html
2013-04-08 11:11:06 -04:00
Jesse Glick 91000fa569 Merge pull request #752 from lmwang/master
[FIXED JENKINS-8614] ProcessTreeTest fails on Windows
2013-04-08 08:01:10 -07:00
Vincent Latombe a210e48964 ListView can match now items belonging to nested ItemGroups
This changes introduces a 'recurse' option on ListView that allows to
match using regexp jobs contained inside folders.
The full name of the
job is matched so / can be used as separator.
This allows slice and dice of jobs contained in different folders.
2013-04-08 12:31:20 +02:00
Harald Albers 433e0bfea0 [JENKINS-17351] clarified help text 2013-04-07 19:50:46 +02:00
Seiji Sogabe 77a0d6c5ba Merge pull request #755 from albers/JENKINS-10891
[FIXED JENKINS-10891] Page Title French Translation missing
2013-04-06 23:30:54 -07:00
Kohsuke Kawaguchi ca0b4cd24f Oops 2013-04-06 20:53:51 -07:00
Kohsuke Kawaguchi 4f9d0584d0 Fixed regression casued by 25084f5282 2013-04-06 19:00:52 -07:00
Kohsuke Kawaguchi b27bc585a8 merged back the RC branch 2013-04-06 18:58:00 -07:00
Harald Albers 0830d131e7 removed unused translations 2013-04-06 19:14:44 +02:00
Harald Albers a72d2a0e51 [FIXED JENKINS-10891] Page Title French Translation missing for "New
Job" page
2013-04-06 19:14:42 +02:00
Seiji Sogabe afb5ddfa3a updated Japanese localization 2013-04-06 19:41:29 +09:00
Seiji Sogabe ffba14af17 removed unused import 2013-04-06 13:13:39 +09:00
Seiji Sogabe c5be8b13ba fixed redundant it.tiedJobs. 2013-04-06 13:11:28 +09:00
Seiji Sogabe 3a6de84f67 [FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only. 2013-04-06 13:08:25 +09:00