Commit Graph
1882 Commits
Author SHA1 Message Date
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 f024fb0fa6 Merge branch 'rc' 2012-09-10 12:33:07 -07:00
Kohsuke Kawaguchi ed28a20831 fixed a test regression 2012-09-10 12:32:57 -07:00
Kohsuke Kawaguchi 6782f84895 the trunk is toward 1.483-SNAPSHOT 2012-09-10 08:05:14 -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 ba2a88ead9 the trunk is toward 1.482-SNAPSHOT 2012-09-03 20:42:53 -07: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 ec843dd402 the trunk is toward 1.481-SNAPSHOT 2012-08-29 10:26:35 -07:00
Kohsuke Kawaguchi c3f002cede merged back the RC branch 2012-08-29 10:03:33 -07:00
Kohsuke Kawaguchi 2424329605 [maven-release-plugin] prepare for next development iteration 2012-08-29 09:15:02 -07:00
Kohsuke Kawaguchi a30106bedc [maven-release-plugin] prepare release jenkins-1.479 2012-08-29 09:15:02 -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 1d9f010045 Merge branch 'master' into no-maven-junit-plugin
Conflicts:
	pom.xml
	test/pom.xml
2012-08-29 08:01:35 -04:00
Jesse Glick 8ade14eee2 Merge branch 'master' into Behaviour-specify-14495 2012-08-23 17:46:36 -04:00
Jesse Glick e5ea09ffe3 5a40fe9 refinement: maven-junit-plugin matches *.class whereas Surefire matches *.java. 2012-08-23 17:46:04 -04:00
Jesse Glick 4e9443d4dc Merge branch 'master' into Behaviour-specify-14495 2012-08-23 17:42:26 -04:00
Jesse Glick 3b5daaaa15 Removing maven-junit-plugin as it does not support JUnit 4 and Surefire has parallel testing features. 2012-08-23 16:50:52 -04:00
Jesse Glick 5a40fe965c Hotfix for failure of maven-junit-plugin to handle JUnit 4. 2012-08-23 16:45:37 -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
Kohsuke Kawaguchi 00c578598b the trunk is toward 1.480-SNAPSHOT 2012-08-20 08:49:35 -07: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
Kohsuke Kawaguchi beeecf93f5 the trunk is toward 1.479-SNAPSHOT 2012-08-08 22:47:47 -07:00
Kohsuke Kawaguchi f8e7b6a654 the trunk is toward 1.478-SNAPSHOT 2012-08-05 19:44:50 -07: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
Kohsuke Kawaguchi 8afad9f8a4 the trunk is toward 1.477-SNAPSHOT 2012-07-23 08:34:59 -07:00
Kohsuke Kawaguchi 6a80b2af5e the trunk is toward 1.476-SNAPSHOT 2012-07-11 08:51:59 -07:00
Jesse Glick 8e14051c18 @since 2012-07-10 00:39:50 -03:00
Kohsuke Kawaguchi 12ee4f9f22 the trunk is toward 1.475-SNAPSHOT 2012-07-02 02:27:28 -07:00
Kohsuke Kawaguchi d7bd7f59ee the trunk is toward 1.474-SNAPSHOT 2012-06-25 08:40:09 -07: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
Nicolas De Loof 9bdaf8daaf Revert "Revert "Improved the mechanism of how we store passwords hashed."" 2012-06-19 09:22:01 +02:00
Kohsuke Kawaguchi f52c7f7da2 Merge remote-tracking branch 'origin/master' 2012-06-18 23:26:51 -07:00