Commit Graph
1864 Commits
Author SHA1 Message Date
Mark Waite eb62812d27 Fully qualify JenkinsRule reference from package-info javadoc 2013-12-06 21:30:56 -07:00
Mark Waite fa36dbfb16 Remove javadoc reference to non-existent class in test source code 2013-12-06 21:29:52 -07:00
Jesse Glick 46e3a5c56f Trying to make test pass after changing the progress bar to use a generated ID.
Also trying (without success) to diagnose an earlier local test failure.
2013-12-06 21:10:10 -05:00
Jesse Glick 3896aabc0b [FIXED JENKINS-17929] Pick up transport authentication from groovysh command, by overriding run rather than main. 2013-12-05 11:45:12 -05:00
Kohsuke Kawaguchi b89baa56bf [FIXED JENKINS-20866] 2013-12-04 10:56:34 -08:00
Oliver Gondža 777d232053 [JENKINS-9120] Add test 2013-12-03 12:18:53 +01:00
Kohsuke Kawaguchi 7c711ac8bc the trunk is toward 1.544-SNAPSHOT 2013-12-02 18:24:03 -08:00
Kohsuke Kawaguchi 3f2abe4b28 the trunk is toward 1.543-SNAPSHOT 2013-11-25 07:53:59 -08:00
Oliver Gondža ececa60cb0 Refactor CopyJobCommandTest 2013-11-25 10:54:22 +01:00
Daniel Beck 19a2246fe6 [FIXED JENKINS-20744] Don't hold off building jobs copied from CLI 2013-11-24 23:38:01 +01:00
Kohsuke Kawaguchi ba72debc9f the trunk is toward 1.542-SNAPSHOT 2013-11-18 13:29:28 -08:00
Kohsuke Kawaguchi a106b57107 Test regression fix 2013-11-18 13:07:35 -08:00
Kohsuke Kawaguchi 3b0e6ac02a [JENKINS-20609] test case 2013-11-16 12:56:28 -08:00
Oliver Gondža 140eaf07c6 Introduce jenkins.model.JenkinsReloadConfigurationTest 2013-11-16 12:56:23 +01:00
Oliver Gondža 76b33c83df Simplify ProjectTest 2013-11-16 09:46:08 +01:00
Jesse Glick 8cd900362d Random test failure. 2013-11-15 11:19:31 -05:00
Jesse Glick 24052ea590 Deprecating Hudson.getInstance. 2013-11-15 08:33:02 -05:00
Jesse Glick 15ac490af1 Now that we use Java 6, can finally deprecate IOException2. 2013-11-15 08:19:59 -05:00
Oliver Gondža 9328c42985 Correctly restrict read permission in CLIActionTest.serveCliActionToAnonymousUser() 2013-11-12 12:55:03 +01:00
Kohsuke Kawaguchi e33cac27d2 the trunk is toward 1.541-SNAPSHOT 2013-11-12 00:40:01 -08:00
Jesse Glick bdbac28472 [FIXED JENKINS-20415] Lack of type safety in JENKINS-20143 fix sometimes caused CCEs. 2013-11-11 11:54:58 -05:00
Oliver Gondža ebeda2add8 Remove unused import 2013-11-11 14:57:26 +01:00
Oliver Gondža 184690c8f3 Merge branch 'master' of github.com:jenkinsci/jenkins 2013-11-11 14:22:00 +01:00
Oliver Gondža d513253d28 Tidy up after #1005 2013-11-11 13:52:18 +01:00
Stephen Connolly f68638a8fa Fix compiler error 2013-11-11 12:40:49 +00:00
Oliver Gondža a494868c47 Merge pull request #1005 from christ66/master
[FIXED JENKINS-8815] Fixed issue where CLI required giving Overall read ...

Conflicts:
	core/src/main/java/hudson/cli/CLIAction.java
2013-11-11 12:05:38 +01:00
mrebasti a8f6d6bc68 * Adding a warning message when HudsonTestCase and JenkinsRule reach the configured timeout. This message will be very useful to diagnose test failures caused by timeouts.
* Adding a mechanism to allow users running tests in slow systems can change the default timeout. Now they can change this value using the environment variable "jenkins.test.timeout" expresed in seconds. Example: mvn test -Djenkins.test.timeout=300
2013-11-10 16:42:04 -03:00
Kohsuke Kawaguchi 1b6ba71f9c [JENKINS-20128] reproduced the problem 2013-11-09 14:56:47 -08:00
christ66 a2ff61010e [FIXED JENKINS-8815] Fixed issue where CLI required giving Overall read permission to anonymous.
Added test unit.
2013-11-08 17:10:26 -08:00
Kohsuke Kawaguchi 61cf2df066 [JENKINS-10615]
Reproduced the problem. Workspace is getting released prematurely, before publishers run. This has all sorts of serious problems.
2013-11-08 11:50:35 -08:00
Stephen Connolly dec369e68e Merge pull request #994 from daniel-beck/dont-remember-me
[JENKINS-15757] Ignore 'remember me' if disabled in configuration
2013-11-06 02:21:20 -08:00
Daniel Beck 9ed2ed5fd9 [JENKINS-15757] Add tests
A new test for the existing 'Remember me' functionality that verifies that
the cookie is set, and a new test showing that, even if requested by the
user, no cookie will be set, if 'Remember me' is disabled in the security
configuration.
2013-11-06 10:17:05 +01:00
Kohsuke Kawaguchi 1be677da36 the trunk is toward 1.540-SNAPSHOT 2013-11-03 22:39:53 -08:00
Jesse Glick 8661222f2d Synchronizing XPath-related assertions with implementations in HudsonTestCase, using HtmlUnit’s XPath engine rather than Hamcrest’s which does not seem to work in this context at least. 2013-10-31 16:09:47 -04:00
Jesse Glick ac5767e3bc Deprecating hudson field; use jenkins instead. 2013-10-31 13:39:50 -04:00
Jesse Glick 5e3387c6ae Noting that this class is not really necessary now that cloudbees-folder is open source. 2013-10-28 14:56:33 -04:00
Kohsuke Kawaguchi eb1de2c175 the trunk is toward 1.539-SNAPSHOT 2013-10-28 07:33:14 -07:00
Kohsuke Kawaguchi b96d227f97 [FIXED JENKINS-19996] Support view manipulation via Jenkins CLI
Merged pull request #971.
2013-10-26 14:50:57 -07:00
Kohsuke Kawaguchi 9ee9684681 Merge pull request #973 from olivergondza/cli-help
[JENKINS-20023] Make CLI interface help more accesible
2013-10-26 14:43:43 -07:00
Kohsuke Kawaguchi 42ced243af Merge pull request #977 from olivergondza/build-name-command-npe
[FIXED JENKINS-20057] NPE when issuing set-build-display-name CLI command
2013-10-26 14:33:52 -07:00
Kohsuke Kawaguchi 3e4733c7a4 Merge branch 'rc' 2013-10-25 16:02:49 -07:00
Kohsuke Kawaguchi b3225944d1 Revert "[FIXED JENKINS-18629]"
This reverts commit c01333c346.
See
https://issues.jenkins-ci.org/browse/JENKINS-20262?focusedCommentId=188404&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-188404
for the discussion why this should be reverted.

Conflicts:

	core/pom.xml
2013-10-25 15:59:59 -07:00
Jesse Glick d0c45040d6 Get/UpdateJobCommand should work with the most generic possible type—AbstractItem. 2013-10-24 14:55:08 -04:00
Jesse Glick 7c606ae5c8 Merge branch 'fix-refused-build-cli-npe' of github.com:marco-miller/jenkins into marco-miller-fix-refused-build-cli-npe 2013-10-23 14:58:58 -04:00
Marco Miller 365df70b1f Refactor string constant duplicate in BuildCommand and BuildCommandTest. 2013-10-23 14:14:14 -04:00
Marco Miller eaeb45bdaa Null check for if build scheduling Refused by extension => not in Queue.
New test in hudson/cli/BuildCommandTest.groovy, as well as companion
@TestExtension class, thanks to Jesse' suggestion. This is so that we
test this hereby fixed case of a QueueDecisionHandler Refusing a build,
leading to that null value now checked and handled accordingly.

Commit also includes sorted imports and a few minor indentation fixes,
as well as another (very) minor string change.
2013-10-23 11:05:03 -04:00
Jesse Glick dceac8f0ac [FIXED JENKINS-19173] Added ContextMenuVisibility marker interface for Action’s. 2013-10-23 10:44:01 -04:00
Jesse Glick 08aaf2b9b3 Trying to make AsynchPeopleTest more robust.
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1369/testReport/junit/hudson.model/AsynchPeopleTest/display/
org.junit.ComparisonFailure: expected:<[display: none;]> but was:<[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at hudson.model.AsynchPeopleTest.display(AsynchPeopleTest.java:44)
was presumably a race condition.
Could reproduce by adding a Thread.sleep into AsynchPeople.compute.
This patch (with waitForBackgroundJavaScript) avoids that error;
but causes the assertNotNull at the end to fail, for reasons TBD.
2013-10-22 17:38:49 -04:00
Kohsuke Kawaguchi f9f1483865 the trunk is toward 1.538-SNAPSHOT 2013-10-21 21:56:36 -07:00
Oliver Gondža b2651f22b2 [JENKINS-19996] Support nested views in Jenkins CLI 2013-10-18 14:34:46 +02:00