Commit Graph
981 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 94a8789b69 [SECURITY-49] actively invalidate bad API tokens.
If the user still has the API token that's generated from secret.key,
don't accept that.

Hopefully this is the last fix
2013-01-05 16:55:07 -08:00
Kohsuke Kawaguchi 4895eaafca [SECURITY-49] added a tool to re-key secrets
As an AdministrativeMonitor, it shows up in the manage Jenkins UI, and
allows the administrator to run a re-keying operation.
2013-01-05 09:26:10 -08:00
Kohsuke Kawaguchi a9aff088f3 [SECURITY-49] Deprecating Jenkins.getSecretKey()
We are replacing it by the ConfidentialStore class and the
ConfidentialKey class, which provides purpose-specific confidential
information that are separated from each other.

In this way, not all eggs are in one basket, and in case of a
compromise, the impact will contained.

Also replaced several insecure use of digest(secret|messsage) or
digest(message|secret) by HMAC.
2013-01-05 09:26:05 -08:00
imod 193173f559 [FIXED JENKINS-14102] fix also for maven2 and add test cases 2012-12-21 18:49:03 +01:00
imod 5f4f68be00 [FIXED JENKINS-14102] mark maven build with test failures as unstable 2012-12-21 17:51:06 +01:00
Jesse Glick 46c170c9b1 Merge branch 'master' of github.com:jenkinsci/jenkins 2012-12-10 12:35:47 -05:00
Jesse Glick 327b93168f Comment. 2012-12-10 11:13:06 -05:00
Kohsuke Kawaguchi 4666a8764d Needed to resurrect validation, too. 2012-12-09 22:04:56 -08:00
Kohsuke Kawaguchi 148ed0d480 Merge branch 'pull-628' 2012-12-09 06:07:12 -08:00
Kohsuke Kawaguchi fe8319f971 alert should be considered a test failure unless overridden by the test case 2012-12-09 05:48:31 -08:00
Kohsuke Kawaguchi 32be422813 Merge branch 'pull-629' 2012-12-08 16:25:54 -08:00
Jesse Glick e7f56d3d3d Fixing and testing 7eeb79e (CopyJobCommand with folders). 2012-12-05 15:39:58 -05:00
Jesse Glick a8ba1162a3 Introduced MockFolder for testing. 2012-12-05 15:38:09 -05:00
Oliver Gondža fd3ee4a4d8 Mailer removed from core 2012-11-27 14:41:17 +01:00
Christoph Kutzinski 214c23d4ad disambiguate method call to make Eclipse happy 2012-11-26 11:55:23 +01:00
Kohsuke Kawaguchi d32f9e5113 merged back the RC branch 2012-11-18 17:59:10 -08:00
Kohsuke Kawaguchi eeb99ed843 increased the timeout to 180 2012-11-18 10:20:44 -08:00
Kohsuke Kawaguchi a3742920fd added a test case 2012-11-17 11:00:42 -08:00
Jesse Glick 9e205379fb [JENKINS-15818] Adding safeName fields takes a bit more heap. 2012-11-13 19:01:08 -05:00
Jesse Glick 7d2c0efa7b [FIXED JENKINS-15817] XStream form of projects excessively strict about null fields. 2012-11-13 14:08:26 -05:00
Jesse Glick b47cb5d23d Give it even some more padding.
https://ci.jenkins-ci.org/job/jenkins_rc_branch/285/testReport/hudson.tasks.junit/SuiteResultTest/sizeSurefire/ failed at 4 over.
2012-10-30 16:20:13 -04:00
Jesse Glick b1c906ec0f sizeSurefire occasionally fails at 2 bytes over limit.
Probably due to some as-yet-undiagnosed interaction between variable workdir path lengths and 8-byte alignment boundaries.
(Could not reproduce on Linux after running from various long workdirs.)
2012-10-30 16:17:37 -04:00
Kohsuke Kawaguchi f88881d445 Fixed a regression in ba23c8b555 2012-10-29 09:39:40 -07:00
Kohsuke Kawaguchi 11eb4c72b1 testing external script as well 2012-10-24 16:52:29 -07:00
Kohsuke Kawaguchi ee43b8e7e1 Testing the behaviour of lazy-loaded inline script.
<script> added via innerText doesn't get executed by itself, so we need
to handle them separately in renderOnDemand
2012-10-24 16:46:44 -07:00
Kohsuke Kawaguchi ae03a5bbf9 handle relative path 2012-10-25 03:02:23 +09:00
Kohsuke Kawaguchi 5e9992336a adding auto-completion method 2012-10-25 03:02:23 +09:00
Jesse Glick 6f77ed9312 8-byte alignment makes size estimation on a structure with some unknown elements tricky. 2012-10-18 17:11:35 -04:00
Jesse Glick 9f22e33ebd Verifying that the heap size of a SuiteResult (from Surefire) is linear in the sizes of TEST-*.xml + *-output.txt even when there is lots of stdio. 2012-10-18 15:54:29 -04:00
Jesse Glick 2e9ec45161 Updated a bit. 2012-10-18 14:25:12 -04:00
Jesse Glick d9ba4814f9 Removing stale references to dev.java.net. 2012-10-18 10:29:14 -04:00
Jesse Glick 918cf8dfca [FIXED JENKINS-15426] Run animal-sniffer:check by default (-DskipTests suppresses). 2012-10-17 13:09:02 -04:00
Jesse Glick dcea7d5bf6 [JENKINS-12307] More helpful error message for getItemTypeDescriptorOrDie on a non-collection field. 2012-10-15 11:03:24 -04:00
Jesse Glick 9a7ed1fd0c Basic test for glob functionality in workspace.
Lots left untested—*fingerprint* and so on.
2012-10-02 12:40:15 -04:00
Kohsuke Kawaguchi 2a80811ed3 Merged the lazy-load branch 2012-09-24 08:23:07 -07:00
Jesse Glick 23ade1cda5 [FIXED JENKINS-15271] NPE in <code>MatrixProject.onLoad</code>. 2012-09-21 12:52:07 -04:00
Jesse Glick ec3005e1a0 /people is now a 404.
https://ci.jenkins-ci.org/job/jenkins_main_trunk/1943/testReport/junit/hudson.model/ViewTest/testAllImagesCanBeLoaded/
2012-09-21 09:57:17 -04:00
Kohsuke Kawaguchi 5b00127eab Needs to copy the collection before it mutates them. 2012-09-20 11:31:05 -07:00
Kohsuke Kawaguchi e1b7ac281b Merge branch 'pull-566' 2012-09-14 14:57:29 -07:00
Jesse Glick 1278f0319b Rearranging imports. 2012-09-14 17:08:16 -04:00
Jesse Glick 2197911aa7 Comment. 2012-09-14 16:55:01 -04:00
Jesse Glick 2658f36994 Basic implementation of prevalidateConfig working. 2012-09-14 14:56:10 -04:00
Jesse Glick fe6dbcd779 The actual file is named tasks.jpi, not tasks.hpi. 2012-09-14 14:54:12 -04:00
Jesse Glick 8d25a60100 @kohsuke suggests using '@' as separator between shortName & version, rather than ' ', in case we want to allow multiple owners in the future. 2012-09-14 13:37:15 -04:00
Kohsuke Kawaguchi 8b8e751dca Merge branch 'rc' 2012-09-13 14:17:31 -07:00
Kohsuke Kawaguchi 0b1d3e8420 fixed a flaky test
(cherry picked from commit 43ff1688ee)
2012-09-13 14:16:51 -07:00
Jesse Glick deb9195907 Basic test case written. 2012-09-11 16:49:11 -04:00
Jesse Glick f8daafd032 Permit URLs in an update center to be relative. (Useful for tests.) 2012-09-11 16:21:46 -04:00
Kohsuke Kawaguchi ed28a20831 fixed a test regression 2012-09-10 12:32:57 -07:00
Jesse Glick 597ea1e6a2 [FIXED JENKINS-14759] Job created by posting config.xml to /createItem does not set GitHub webhook. 2012-09-05 20:30:44 -04:00