Commit Graph
949 Commits
Author SHA1 Message Date
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
Jesse Glick 4557a436bf 5dd905f suffered from a ClassLoader issue visible only in maven-junit-plugin (not Surefire). 2012-09-05 19:18:43 -04:00
Jesse Glick 5dd905f2a2 Make @TestExtension work with JenkinsRule. 2012-09-05 18:15:16 -04:00
Kohsuke Kawaguchi 07198294fc Merge branch 'pull-543' 2012-09-01 11:23:19 -07:00
Kohsuke Kawaguchi f250ead3b5 Create a marker interface for actions to beable to pass matrix configurations
create a Interface that Actions can implement to indicat that they
should be passed from
the matrix parent to the indiviual configurations.
This means that the SVN Parameters can be passed to them.
Partial fix for [JENKINS-14619] also needs changes in SVN SCM plugin to
fix completely.

Developed by cjo9900
2012-09-01 11:21:07 -07:00
Jørgen P. Tjernø 7fead6ff7f DRY Failure/UnstableBuilder. 2012-09-01 09:26:21 -07:00
Kohsuke Kawaguchi c3f002cede merged back the RC branch 2012-08-29 10:03:33 -07:00
Kohsuke Kawaguchi 26276d1387 added a backward compatibility with MethodRule.
Without this, I saw:

FAILURE: initializationError(hudson.model.CauseTest)
[INFO] java.lang.Exception: Field j must implement MethodRule
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner.validateRuleField(BlockJUnit4ClassRunner.java:188)
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner.validateFields(BlockJUnit4ClassRunner.java:183)
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:123)
[INFO] 	at org.junit.runners.ParentRunner.validate(ParentRunner.java:269)
[INFO] 	at org.junit.runners.ParentRunner.<init>(ParentRunner.java:66)
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:58)
[INFO] 	at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:13)
[INFO] 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
[INFO] 	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
[INFO] 	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
[INFO] 	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
[INFO] 	at junit.framework.JUnit4TestAdapter.<init>(JUnit4TestAdapter.java:31)
[INFO] 	at junit.framework.JUnit4TestAdapter.<init>(JUnit4TestAdapter.java:24)
[INFO] 	at com.sun.maven.junit.LocalTestCaseRunner.buildMethodTestCase(LocalTestCaseRunner.java:121)
[INFO] 	at com.sun.maven.junit.LocalTestCaseRunner.buildTestCase(LocalTestCaseRunner.java:83)
[INFO] 	at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:62)
[INFO] 	at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:58)
[INFO] 	at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
[INFO] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO] 	at java.lang.reflect.Method.invoke(Method.java:597)
[INFO] 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
[INFO] 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
[INFO] 	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
[INFO] 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
[INFO] 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
[INFO] 	at hudson.remoting.Request$2.run(Request.java:270)
[INFO] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
[INFO] 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[INFO] 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
[INFO] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[INFO] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[INFO] 	at java.lang.Thread.run(Thread.java:662)
2012-08-29 08:51:07 -07:00
Jesse Glick 4e9443d4dc Merge branch 'master' into Behaviour-specify-14495 2012-08-23 17:42:26 -04:00
Jesse Glick 696f8b8687 More reasonable test names. 2012-08-23 16:19:23 -04:00
Nicolas De loof a3aa29b261 Merge pull request #539 from pgdad/JENKINS-14772
fix JENKINS-14772
2012-08-22 08:29:47 -07:00
Esa Laine 1a5e41bb0f add test case for JENKINS-14772 2012-08-22 11:14:28 -04:00
Jesse Glick fbb77a8ef8 Changed meaning of priority in Behaviour.specify.
Callers seem to expect that priority behaviors are applied before any behaviors in other selectors.
2012-08-21 20:59:41 -04:00
Jesse Glick 19e2a0127f Addition of Behaviour.specify, and basic test updates. 2012-08-21 20:06:34 -04:00
Jesse Glick b027876783 [JENKINS-14814] Reproduced. 2012-08-15 16:39:51 -04:00
c3johnso 7e0d7c0acb [FIXED JENKINS-7162] Add missing parameters as defaults when called from CLI
Add all the job defined Parameters to the ParameterAction using Defaults
if not passed via the command line.
2012-08-14 18:00:10 +01:00
Stephen Connolly b1f0c9dddc This class is useless if these methods are protected
* The whole point of the rule is to allow access to the helper methods, so they need to be public

* also synced up with HudsonTestCase
2012-08-13 13:07:13 +01:00
Jesse Glick f39fbdb312 [JENKINS-14495] Refined fix - needed to pull uniqueness check out of apply() fn in case we were being passed an Array of nodes.
Fixes test failures introduced by  dbb100d, and adds a test for it now that I know it can be done.
2012-08-03 15:46:32 -04:00
Vincent Latombe 39572fbad7 Add a new Extension Point : TransientUserActionFactory
Displays transient user actions in the User sidebar
Displays UserProperties that are also Action in the User sidebar
2012-08-02 14:44:35 +02:00
Andrew Bayer aa603603e9 [FIXED JENKINS-14327] Added setter for labelString to Node. 2012-07-31 16:30:31 +09:00
Jesse Glick 33735a490d When overriding UserIdCause.getShortDescription, you need to override print as well.
Noticed via failure in BuildCommandTest.testConsoleOutput.
https://github.com/jenkinsci/jenkins/pull/522
2012-07-24 15:49:35 -04:00
Jesse Glick 77a5addcd1 Unused import. 2012-07-24 13:56:43 -04:00
Jesse Glick 8e14051c18 @since 2012-07-10 00:39:50 -03:00
Christoph Kutzinski a2f2ae9b2b I guess it was just an oversight from Kohsuke to put these tests under src/main as Maven won't run them if not located under src/test 2012-06-24 14:08:56 +02:00
Christoph Kutzinski 4b828e4e63 Disambiguate configRoundtrip call for the sake of the Eclipse compiler 2012-06-24 13:58:01 +02:00
Kohsuke Kawaguchi 9fbd6d3a48 [FIXED JENKINS-12318]
Preserve in-progress builds when reloading a job.
Because in-flight builds tend to update the state a lot, with this
change we refrain from reloading those builds from the disk.

This should be acceptable since we are primarily reloading a job, and
reloading of builds are secondary.
2012-06-19 16:15:13 -07:00
Kohsuke Kawaguchi aa5e0790b9 [FIXED JENKINS-13148]
All top-level jobs show up in search, as opposed to just jobs in the
current view or in the primary view.
2012-06-19 14:26:18 -07:00
Kohsuke Kawaguchi 9a178aa8cc Added a mechanism to filter extension points as they are discovered.
I couldn't quite find one place to do this, so it's spread apart
somewhat.
2012-06-15 13:42:23 -07:00
Kohsuke Kawaguchi 4e7a43c586 [FIXED JENKINS-14113]
The proposed fix https://github.com/buckett/jenkins/commit/eec16f1b6156aea76bd0cc6e0262538713ebffb6 has a problem in that it'd allow anything that has the given URL name as a prefix.
2012-06-14 17:01:10 -07:00
Kohsuke Kawaguchi 4ec7ebf879 Added the -v option to report the console output of the build in progress. 2012-06-09 12:45:09 -07:00
Kohsuke Kawaguchi 9e3b4951df added ability to wait for the start of a build in a future, not just the end of it. 2012-06-09 12:16:43 -07:00
Seiji Sogabe 35fc7a13c8 fixed test error. we expected application/json. 2012-06-07 20:50:59 +09:00
Kohsuke Kawaguchi ebc6af72e9 Improved the mechanism of how we store passwords hashed. 2012-06-06 16:31:35 -07:00