Commit Graph
1038 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi b82d944926 added a test case concerning a single extension implementing multiple extension points 2013-03-13 17:05:06 -07:00
Kohsuke Kawaguchi c7ad5e9706 [JENKINS-15533] testing if the lazy loading can gracefully tolerate a RuntimeException during unmarshalling.
At least in the current version this working as expected
2013-03-13 10:52:05 -07:00
Kohsuke Kawaguchi f7c9e81060 [JENKINS-16089] Revising 88feabb429
Based on comments from Jesse, revising the fix.

I'm now putting permlinks inside the builds/ directory to avoid the computing hassle involved in the split $JENKINS_HOME.

What we historically had in $JENKINS_HOME/jobs/JOB/lastSuccessfulBuild is also now subsumed by this feature. I initially attempted to create these permalinks in the buidl root directory, but turns out those symlinks aren't the same name as the ID of permalinks, so it doesn't mesh well.

And finally, a test!
2013-03-12 18:22:54 -07:00
Jesse Glick d98716dfba [FIXED JENKINS-17138] Deleting/renaming jobs using external builds directory does not move builds. 2013-03-08 20:43:49 -05:00
Jesse Glick b90b20227e [FIXED JENKINS-17137] Bogus permalinks created when using external builds directory. 2013-03-08 20:08:00 -05:00
Kohsuke Kawaguchi 9514fb1a9f fixed the test regression caused by json-lib 2.4 2013-03-06 09:02:02 -08:00
Jesse Glick 508d326361 /pluginManager/advanced would sometimes claim “Update information obtained: 43 yr ago”.
Due to a confusion between 0 and -1. Easier and clearer to use 0 as the “uninitialized” value.
2013-03-06 09:28:07 -05:00
Jesse Glick 90ab89564a UDPBroadcastThreadTest was often failing on ci.jenkins-ci.org; making more lenient.
Mar 4, 2013 10:55:46 PM hudson.UDPBroadcastThread run
WARNING: UDP handling problem
java.io.IOException: Operation not permitted
	at java.net.PlainDatagramSocketImpl.send(Native Method)
	at java.net.DatagramSocket.send(DatagramSocket.java:625)
	at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:98)
→
java.net.SocketTimeoutException: Receive timed out
	at java.net.PlainDatagramSocketImpl.receive0(Native Method)
	at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:145)
	at java.net.DatagramSocket.receive(DatagramSocket.java:725)
	at hudson.UDPBroadcastThreadTest.receiveAndVerify(UDPBroadcastThreadTest.java:70)
	at hudson.UDPBroadcastThreadTest.testMulticast(UDPBroadcastThreadTest.java:51)
2013-03-05 12:44:46 -05:00
Christoph Kutzinski 5aef97cebc Added regression test for broken Maven 2 builds with maven-failsafe-plugin [JENKINS-15865] 2013-03-03 12:10:05 +01:00
Jesse Glick ef9c30c665 Merge pull request #722 from ndeloof/master
[FIXED JENKINS-13502] Fix dependency graph computation when upstream build trigger is involved
2013-03-01 15:10:25 -08:00
Kohsuke Kawaguchi 36d7e31de6 Merge branch 'rc' 2013-02-28 19:34:07 -08:00
Kohsuke Kawaguchi a33e147a0d [FIXED JENKINS-16979]
Added backward compatible data loader and a corresponding test case.
2013-02-28 18:47:25 -08:00
Nicolas De Loof dbc212e2e3 unit test to reproduce JENKINS-13502 and confirm fix 2013-02-28 11:31:36 +01:00
Kohsuke Kawaguchi 94a537906f Merge branch 'master' into pull-667 2013-02-27 10:02:07 -08:00
Pei-Tang Huang 0d864db7f5 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2013-02-23 23:01:34 +08:00
Jesse Glick 54bbbaa253 JUnit 4 broadly supported; no reason to keep a separate junit4 root just for UseRecipesWithJenkinsRuleTest. 2013-02-22 16:40:57 -05:00
Jesse Glick 5d68a20700 Using new assertFails method wherever possible to simplify tests. 2013-02-22 16:35:27 -05:00
Jesse Glick 940d743e4d interactiveBreak should never been committed without being commented out. 2013-02-21 13:22:24 -05:00
Pei-Tang Huang 427726b85f Add/update Chinese (traditional) translation. 2013-02-20 12:57:44 +08:00
Kohsuke Kawaguchi acd9f2c040 Merge branch 'master' of github.com:jenkinsci/jenkins 2013-02-16 11:40:51 -08:00
Kohsuke Kawaguchi 9e68fed9fe merged back the RC branch
Conflicts:
	core/src/main/java/jenkins/model/Jenkins.java
	test/src/test/java/hudson/bugs/JnlpAccessWithSecuredHudsonTest.java
2013-02-16 11:40:16 -08:00
John McNally e746643566 [FIXED JENKINS-16719] Combobox with relative dependencies does not work
* core/src/main/resources/lib/form/combobox/combobox.js
  Increase index to 100, so that parent form elements can be initialized before
  parameters in fillDependsOn are extracted.

* test/src/test/java/lib/form/ComboBoxTest.java
* test/src/test/resources/lib/form/ComboBoxTest/CompoundField/config.jelly
* test/src/test/resources/lib/form/ComboBoxTest/CompoundFieldComboBoxBuilder/config.jelly
  New test to confirm null is not passed for relative dependent arguments
2013-02-16 11:01:35 -08:00
Kohsuke Kawaguchi 5e4b7bcc36 [FIXED JENKINS-15918] follow-up changes
- Environment variables are by convention upper case, so I'm switching to upper case. This was what the original ticket requested anyway.
- Since the ".jobName" was never documented to begin with, let's not promote that and stick to "_JOBNAME" as the official version.
2013-02-16 10:21:23 -08:00
gcummings ebcf61ef35 [JENKINS-15918] Updating unit tests 2013-02-16 10:21:19 -08:00
Kohsuke Kawaguchi 61a83bd657 [FIXED JENKINS-12251]
Introduced ${ITEM_FULL_NAME} to address the ticket without causing the
backward compatibility problem.
2013-02-16 10:04:30 -08:00
Jesse Glick 6270556267 [SECURITY-54] Realistic test of connection using -secret as from a service installation. 2013-02-14 13:59:12 -05:00
Jesse Glick b78afe5d7f [SECURITY-49] a9aff08 weakened the existing test; restoring it and introducing a separate test. 2013-02-14 13:06:32 -05:00
Jesse Glick 0de3e9b14e [SECURITY-47]
- My second patch, with whitelisted XPath values and forbidden JSONP.
- Disabling JSONP altogether for REST API (unless explicitly allowed).
- Forbid primitive XPath result sets by default.
- Refuse to serve _crumb=123456 as this could (very hypothetically) be exploited.
(cherry picked from commit f4af9b1ab4)

Conflicts:

	core/src/main/java/hudson/model/Api.java
2013-02-13 15:31:22 -08:00
Kohsuke Kawaguchi 7338713975 [SECURITY-54]
Jesse's original patch
(cherry picked from commit 01a24e2cb1)
2013-02-13 15:24:23 -08:00
Kohsuke Kawaguchi 01a24e2cb1 [SECURITY-54]
Jesse's original patch
2013-02-13 14:04:41 -08:00
Ryan Campbell d614c44947 Provide update centers with valid signatures and check them in the UpdateSiteTest 2013-02-07 13:14:06 -06:00
Jesse Glick 1ce132aafb Adding boolean signatureCheck param to UpdateSite.updateDirectly.
Removing old static field, which was not friendly to tests, especially multithreaded runners.
Cleaned up existing tests to use updateDirectly rather than POSTing raw JSON.
2013-02-07 13:32:45 -05:00
Jesse Glick 93e9c62a10 More descriptive failure message. 2013-02-07 11:57:10 -05:00
Jesse Glick 74e6409a06 [JENKINS-15156] Class loading errors can result from OOME if you are not careful. 2013-02-06 20:56:20 -05:00
Jesse Glick 25f4c60f96 Merge pull request #696 from johnou/JENKINS-15156
[FIXED JENKINS-15156] Initialize AbstractLazyLoadRunMap.dir for newly created jobs.
2013-02-06 16:05:21 -08:00
Johno Crawford fe95fc53f8 [JENKINS-15156] Refactored fix. 2013-02-07 00:56:47 +01:00
Johno Crawford 8f62901ee5 Merge remote-tracking branch 'tsartarzan/JENKINS-15156' into JENKINS-15156 2013-02-07 00:44:44 +01:00
Ryan Campbell 19f3b29f9c Correctly support direct updates of html update sites and other issues pointed out by jglick in https://github.com/jenkinsci/jenkins/pull/692 2013-02-06 15:42:31 -06:00
Ryan Campbell c1c979747e API for updating update sites programatically, enabling automated plugin updates and installation. 2013-02-06 11:14:48 -06:00
Julian Schmidt dbd6b530e7 [JENKINS-15156] Add regression test 2013-02-03 14:00:03 +01:00
Christoph Kutzinski 432c63d985 Changelog and fixed test for [JENKINS-16499] 2013-02-02 18:29:32 +01:00
Christoph Kutzinski 7d422e60d9 Added testcase for [JENKINS-16499] 2013-02-02 11:10:56 +01:00
Jesse Glick d506b32f1f [FIXED JENKINS-15747] Avoid recording too many upstream causes at any depth. 2013-01-31 19:33:33 -05:00
Jesse Glick e11c01cde7 362362951c regressed handling of optional dependencies. 2013-01-30 15:13:12 -05:00
Jesse Glick 8035cda484 Correcting 696f8b8. 2013-01-30 15:11:45 -05:00
Jesse Glick e451687beb Fixed typo DependecyDeclarer → DependencyDeclarer.
While several plugins implemented the interface under the old name, only core was checkcasting it.
2013-01-25 16:33:52 -05:00
Jesse Glick de9002b398 [FIXED JENKINS-16462] Run parameters do not support folders. 2013-01-23 20:04:35 -05:00
Jesse Glick cff4f406f4 @since associated with JenkinsRule. 2013-01-18 13:10:05 -05:00
Jesse Glick f178f0cef4 [JENKINS-16341] INSANE testing shows that a RenderOnDemandClosure binding adds about 380k, with or wothout 08efdf5. 2013-01-15 17:32:53 -05:00
Kohsuke Kawaguchi b4a17d3b45 merged back the RC branch
Conflicts:
	changelog.html
2013-01-07 11:31:49 -08:00