Commit Graph
10778 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 31255afbab Deprecated the legacy constructors to call attention to PermissionScope 2011-07-23 15:08:01 -07:00
Kohsuke Kawaguchi 5b74b6347c A bit more concise way to expose variables. 2011-07-23 15:08:01 -07:00
Kohsuke Kawaguchi 5c13e1d14e ported over to Groovy, during the interactive session with wolfs 2011-07-23 15:08:01 -07:00
Christoph Kutzinski 3b154312c8 deleted encoding-less variant of readFirstLine according to https://github.com/jenkinsci/jenkins/commit/4ee8d6890c354e67daeb5f55806c16f6986b32c3#core/src/main/java/hudson/util/IOUtils.java-P13 2011-07-23 23:46:39 +02:00
Kohsuke Kawaguchi 4ee8d6890c Follow up fix to close streams at the end.
To be really correct, the crumb API call should be using the encoding specified in the HTTP response header, but doing so involves various header parsing, which is cumbersome.

Since we know Jenkins always serve the API call in UTF-8 encoding, here I'm baking that assumption in.
2011-07-23 07:11:06 -07:00
Jerome Lacoste 386ec0d15e Ensure that the Readers are closed properly 2011-07-23 07:11:06 -07:00
Jerome Lacoste b58044ada6 Unused import 2011-07-23 07:11:06 -07:00
Christoph Kutzinski 073bd72fc9 finally added a test for JENKINS-6545 2011-07-23 16:08:48 +02:00
Christoph Kutzinski e121335896 Since these are more like unit tests they should be in core and not in test-harness 2011-07-23 16:08:48 +02:00
Kohsuke Kawaguchi 3a38a67cf8 improved the signature validation code 2011-07-23 06:48:15 -07:00
Kohsuke Kawaguchi bf7fff0ef9 allow advanced users to tweak this value, as someone reported in IRC that '@' in token is problematic for his environment. 2011-07-23 06:48:14 -07:00
Christoph Kutzinski a2c8673da1 [FIXED JENKINS-6700] Failure in test class constructor or @Before method was not reported 2011-07-23 11:14:30 +02:00
Vojtech Juranek af7159c8e7 JENKINS-10400 Added support for gzip log file also in case of raw text (consoleText link) 2011-07-20 16:50:33 +02:00
Kohsuke Kawaguchi eea84e5f10 this is meant only for when the bootup fails 2011-07-18 18:26:30 +01:00
Christoph Kutzinski 0cd964074a Close FileReader (FindBugs finding) 2011-07-17 23:26:24 +02:00
Christoph Kutzinski 9cd26cdf45 prevent string concatenation if log level is coarser than FINE 2011-07-17 12:07:12 +02:00
Christoph Kutzinski b36d028260 prevent string concatenation if log level is coarser than FINE 2011-07-17 11:56:36 +02:00
Christoph Kutzinski ae70e829c2 removed unused logger 2011-07-17 11:55:49 +02:00
Christoph Kutzinski bf2f214983 removed unused imports; fixed some generics warnings; added note about current XStream's StringConverter behaviour 2011-07-17 11:40:30 +02:00
Kohsuke Kawaguchi d850715eee Fixed the problem where contextDestroyed() during initialization wasn't
honored correctly.
2011-07-17 08:47:40 +01:00
Kohsuke Kawaguchi 022ab2bac3 also adding Jenkins 2011-07-17 08:47:39 +01:00
Christoph Kutzinski ff3d287035 don't create a new buffer for each loop iteration 2011-07-16 13:55:23 +01:00
Christoph Kutzinski 3c09a0c43a [FIXED JENKINS-10346] thread-safety problem when computing fingerprints 2011-07-16 13:55:23 +01:00
Jerome Lacoste f6d520d4db Fix TaskThread.ListenerAndText chicken and egg issue 2011-07-16 11:03:46 +01:00
Stephen Connolly c6b9c7cd43 faster resource handling 2011-07-12 21:25:29 -07:00
Stephen Connolly db8695be1b remove use of antrun from core (now have another plugin fix required (hpi)) 2011-07-12 21:25:29 -07:00
Seiji Sogabe 72f6f68429 [FIXED JENKINS-10300] Empty emailAddress causes Mailer error. 2011-07-12 00:25:10 +09:00
Seiji Sogabe 4a02e17dd3 [JENKINS 9963] Fix CR/LF and always make it Unix style. 2011-07-11 22:00:24 +09:00
Kohsuke Kawaguchi 6a75fe64e6 [FIXED JENKINS-9681] PAM now supports CLI auth
... by extending from AbstractPasswordBasedSecurityRealm.
2011-07-10 12:31:54 -07:00
Olivier Lamy 4c580ebdfe Merge pull request #191 from redsolo/master
[FIXED JENKINS-10182] - Fixed NPE for Job.doDescription() when description is NULL.
2011-07-10 09:41:20 -07:00
Kohsuke Kawaguchi f5e0f001c0 Added the concept of scope to permissions so that permissions added by
plugins can be properly controlled by per-project matrix security.

See issues like JENKINS-6888.
2011-07-08 12:41:47 -07:00
Erik Ramfelt ad413c55e3 [FIXED JENKINS-10182] Used Util.fixNull() to handle the case when a jobs description is null 2011-07-08 20:52:29 +02:00
Kohsuke Kawaguchi fe290d757d added AbstractBuild.getRootBuild() that matches up with AbstractProject.getRootProject() 2011-07-08 11:32:12 -07:00
Seiji Sogabe 84ab5d81b8 fixed japanese localizations. 2011-07-08 22:17:28 +09:00
Seiji Sogabe 295780901b remove old job link. 2011-07-08 22:16:37 +09:00
Ulli Hafner 1946d6f617 Replaced UTF characters again with ISO-8995-1. 2011-07-08 11:44:06 +02:00
Kohsuke Kawaguchi 172db3db52 when Descriptor is manually added/removed, ExtensionList<Descriptor> needs to be updated. 2011-07-07 18:12:44 -07:00
Kohsuke Kawaguchi 1c8ddbb57c Revert "adding something to DescriptorExtensionList should cause addition to ExtensionList of Descriptors as well."
This reverts commit 04d64fd49b.
2011-07-07 18:12:41 -07:00
Kohsuke Kawaguchi 67a64152bf Added a mechanism to record arbitrary data to fingerprints 2011-07-07 08:58:12 -07:00
Kohsuke Kawaguchi 4386c94cd9 added the contain method 2011-07-07 08:58:11 -07:00
Kohsuke Kawaguchi 9d5fb67244 added a convenience method 2011-07-07 08:58:11 -07:00
Ulli Hafner fdf0c5aead Replaced german umlauts with UTF encodings. 2011-07-07 15:02:10 +02:00
Ulli Hafner f17f60c711 Fixed broken umlauts. 2011-07-07 14:14:03 +02:00
Kohsuke Kawaguchi 1adb8c9bbc fixed a merge failure 2011-07-06 18:32:39 -07:00
Kohsuke Kawaguchi 039e43cf48 Merged ce27914ce9
Conflicts:
	core/src/main/java/hudson/model/AbstractItem.java
	core/src/main/java/hudson/model/AbstractProject.java
	core/src/main/java/hudson/model/Descriptor.java
	core/src/main/java/hudson/model/Hudson.java
	core/src/main/java/hudson/tasks/BuildTrigger.java
	core/src/main/resources/hudson/model/View/newJob.jelly
	core/src/main/resources/hudson/model/View/sidepanel.jelly
	core/src/main/resources/hudson/views/Messages_ja.properties
	maven-plugin/src/main/java/hudson/maven/MavenBuild.java
	maven-plugin/src/main/java/hudson/maven/reporters/MavenArtifact.java
	maven-plugin/src/main/java/hudson/maven/reporters/MavenArtifactRecord.java
2011-07-05 19:42:20 -07:00
Kohsuke Kawaguchi 4f0ea9da03 [JENKINS-8446] pick more consistent default value if someone is installing Jenkins fresh 2011-07-05 19:03:08 -07:00
Kohsuke Kawaguchi 68d4d22fcf [JENKINS-8446] it's better to let those directories setting be a part of JENKINS_HOME rather than being independent configuration properties, since they aren't orthogonal. 2011-07-05 18:58:09 -07:00
Alex Earl 7fdb8a82da [FIXED JENKINS-8446] Implementing via update to patch attached to JIRA item. 2011-07-05 17:43:10 -07:00
Kohsuke Kawaguchi fcd1a794b7 Merge pull request #183 from wilmoore/feature/correct-jenkins-version-text
Updated Jenkins CLI Version Command Output
2011-07-05 17:37:28 -07:00
Seiji Sogabe ee077a0959 Updated ja. 2011-07-04 13:20:12 +09:00