Commit Graph
2352 Commits
Author SHA1 Message Date
Oliver Gondža fae41b01c9 [JENKINS-26684] Reproduce in unittest. 2015-02-08 14:26:13 +01:00
Oliver Gondža c0bda98396 Refactor ProjectTest#testGetRelationship 2015-02-05 21:32:44 +01:00
Oliver Gondža cb5845db29 Fix ProjectTest#testGetRelationship for Windows 2015-02-05 21:19:04 +01:00
Oliver Gondža 07ecd9e1bf Broken .bat script in LauncherTest#overwriteSystemEnvVars 2015-02-05 21:19:04 +01:00
Oliver Gondža fac3c21367 Do not fail HudsonTestCase test when TestEnvironment.dispose fails
JenkinsRule does the same for years.
2015-02-04 13:54:11 +01:00
Jesse Glick 1e7713402b Merge pull request #1553 from jglick/SimplerBuildWrapperTest.envOverrideExpand
Added test for env var expansion in SimpleBuildWrapper
2015-02-03 13:06:37 -05:00
Ryan Campbell 327f778013 [JENKINS-26718] Allow runs to be discarded even if their project can't be found by its fullname 2015-02-02 11:37:06 -06:00
Jesse Glick a398cabd32 Make WorkspaceList.Lease implement AutoCloseable for Java 7 callers, to make releasing the lease more convenient. 2015-01-29 18:07:07 -05:00
Jesse Glick 62af87b67a [JENKINS-26698] Make sure BuildExecution.cleanUp always calls super, to release the workspace lease.
Also stop closing the build log in Run.handleFatalBuildProblem; we want to see any subsequent messages too.
2015-01-29 17:57:47 -05:00
Jesse Glick 7f827adac2 Verifying that even recursive expansion works, at least in simple cases. 2015-01-29 11:29:38 -05:00
Jesse Glick 9dcd3c0497 Added envOverrideExpand to confirm that ${OTHERVAR} is expanded when needed. 2015-01-29 11:20:25 -05:00
Kohsuke Kawaguchi a66c06fedb the trunk is toward 1.600-SNAPSHOT 2015-01-25 20:53:53 -08:00
CloudBees DEV@Cloud b37af29504 Merge commit 'c1e89aa74ee1a3f9061645fdea9aaeaa8efc70e8' 2015-01-23 18:47:56 +00:00
Kohsuke Kawaguchi c1e89aa74e report URL in case of a failure 2015-01-23 10:46:17 -08:00
Jesse Glick 416bdef94d [JENKINS-24673] Noting merge of #1530. 2015-01-23 12:39:34 -05:00
Jesse Glick bb7b1f950d Updating SingleFileSCM to nondeprecated overload of checkout. 2015-01-22 18:51:01 -05:00
Jesse Glick 94cc487002 Also verifying that initialEnvironment somehow works. 2015-01-22 09:53:07 -05:00
Jesse Glick e926ed313b Added some tests for SimpleBuildWrapper used from a freestyle project as a BuildWrapper.
This demonstrated that we actually need to call EnvVars.overrideAll explicitly (as CoreWrapperStep already did).
2015-01-22 09:21:46 -05:00
Kohsuke Kawaguchi a4165a04dd the trunk is toward 1.599-SNAPSHOT 2015-01-19 10:23:54 -08:00
Jesse Glick c8806c9906 Merge pull request #1532 from jglick/death-to-groovy-long-live-the-new-test
Convert UpdateCenter2Test to Java
2015-01-16 10:23:25 -05:00
Oliver Gondža 555e2d593f [JENKINS-26411] Handle ChannelClosedException as well 2015-01-16 11:17:50 +01:00
Oliver Gondža 788d6ff6e9 [FIXED JENKINS-26411] Improve error reporting when channel closed 2015-01-15 19:21:26 +01:00
Oliver Gondža f61f2cd3ca [JENKINS-26411] Do not interrupt build abruptly when exception is thrown from build step 2015-01-15 19:20:50 +01:00
Jesse Glick b25157adb9 Convert UpdateCenter2Test to Java. 2015-01-15 07:56:14 -05:00
Jesse Glick 9e333bc1e6 [JENKINS-10944] [JENKINS-24519] Noting merge of #1513. 2015-01-09 07:57:57 -05:00
René Scheibe 13ab787d5f don't extend a test class from org.junit.Assert to use its static methods 2015-01-09 12:25:37 +01:00
Jesse Glick 75eeccf866 [FIXED JENKINS-26331] Noting merge of #1519. 2015-01-08 21:08:15 -05:00
Jesse Glick 28984e5920 Merge pull request #1521 from darxriggs/consistent-use-of-Assert
statically import methods used from org.junit.Assert
2015-01-08 20:11:09 -05:00
christ66 3661ed5093 Remove unnecessary check in test unit. Fix misleading test unit comment. 2015-01-08 11:27:29 -08:00
René Scheibe 2d3dbad35a statically import methods used from org.junit.Assert
* that's a common practice so do it consistently in all tests
2015-01-08 20:25:18 +01:00
Daniel Spilker 1fae8c072a [JENKINS-26331] use buildDirectory system property to configure target directory 2015-01-08 15:39:58 +01:00
christ66 c3eb1cac79 If a project action fails to load we should log the project action and continue to load the project. 2015-01-07 15:17:58 -08:00
christ66 cd0752432e Merge remote-tracking branch 'upstream/master' into JENKINS-22811
Conflicts:
	test/src/test/java/hudson/model/ItemGroupMixInTest.java
2015-01-07 13:12:18 -08:00
christ66 fa40c102f5 Mark test extension with the correct annotation 2015-01-07 10:16:08 -08:00
christ66 8f24c4aa5c Obtain folder from jenkins instead of using local variable. 2015-01-07 10:14:26 -08:00
René Scheibe bd1d6251e0 replace all deprecated @Bug annotations with @Issue 2015-01-07 17:12:21 +01:00
christ66 b5213b3815 Fixed compilation error 2015-01-06 19:46:01 -08:00
christ66 3e29bd7eff [JENKINS-22811] Folder loading can break when an item inside the folder fails to load or throws an Exception. 2015-01-06 19:41:51 -08:00
René Scheibe 3a618a0633 migrate tests from using HudsonTestCase to JenkinsRule
* these are simple tests without Jelly files or actions implemented in the test class
2015-01-06 16:30:04 +01:00
Jesse Glick 1a80973ab8 Merge branch 'master' into FlyweightTask-JENKINS-10944 2015-01-06 07:03:50 -05:00
Jesse Glick 86ed77711b Correcting 9595175f10 (JUnit 4 merge fixup for #1472). 2015-01-06 07:03:08 -05:00
Oliver Gondža 9595175f10 Use JUnit4 in merged patch too 2015-01-06 12:28:01 +01:00
Oliver Gondža 5bfaca449c Merge pull request #1472 from jbaranov/JENKINS-25514
[JENKINS-25514] Fixed lock case in FutureImpl
2015-01-06 11:52:32 +01:00
Jesse Glick 4470b9ea04 JUnit 4. 2015-01-05 18:01:32 -05:00
Jesse Glick 3e344a94a9 [FIXED JENKINS-10944] [FIXED JENKINS-24519] If makeBuildable fails on a FlyweightTask, keep it in queue. 2015-01-05 17:02:52 -05:00
Jesse Glick 449fd234a6 Indentation fix. 2015-01-05 15:52:23 -05:00
Jesse Glick 778e9e194e JUnit 4. 2015-01-05 15:45:16 -05:00
Kohsuke Kawaguchi 239caf89ec the trunk is toward 1.598-SNAPSHOT 2015-01-04 17:45:38 -08:00
Jesse Glick 7d248e3572 Merge pull request #1507 from darxriggs/no-more-GroovyHudsonTestCase
not using the deprecated GroovyHudsonTestCase anymore
2015-01-02 12:36:15 -05:00
René Scheibe 8aebada975 not using the deprecated GroovyHudsonTestCase anymore
* just the two updated classes were affected
2015-01-02 01:52:41 +01:00