Commit Graph
3186 Commits
Author SHA1 Message Date
Oliver Gondža a3e2831b47 Merge branch 'master' into move-test-classes 2016-05-04 10:30:07 +02:00
Daniel Beck 49a65c2bbb Merge pull request #2257 from pjanouse/JENKINS-32874
[JENKINS-32874] Improved test coverage of AbstractBuildRangeCommand
2016-05-04 00:53:43 +02:00
Kohsuke Kawaguchi 746fdcba38 Merge pull request #2298 from vivek/master
Upgrade to stapler 1.243 and some testcase fix.
2016-05-02 08:49:52 -07:00
Kohsuke Kawaguchi 16465de28b [maven-release-plugin] prepare for next development iteration 2016-05-01 10:04:48 -07:00
Kohsuke Kawaguchi f9f597816c [maven-release-plugin] prepare release jenkins-2.1 2016-05-01 10:04:48 -07:00
Vivek Pandey 114ae54bb9 Some more test fixes. 2016-04-28 23:46:12 -07:00
Vivek Pandey 9e709faea1 Upgrade to stapler 1.241 and some testcase fix.
Stapler 1.241 adds _class element to generated JSON with the name of ExportedBean class, this
was failing couple tests in ApiTest.json(), where the tests were comparing fixed string json.
2016-04-28 17:02:35 -07:00
Kohsuke Kawaguchi 8cb24b6c13 Merge branch '2.0'
2.1 will come from the master branch going forward
2016-04-20 20:55:12 -07:00
Kohsuke Kawaguchi 16a11547c0 [maven-release-plugin] prepare for next development iteration 2016-04-20 16:31:40 -07:00
Kohsuke Kawaguchi 8f7ee11cb4 [maven-release-plugin] prepare release jenkins-2.0 2016-04-20 16:31:40 -07:00
Kohsuke Kawaguchi ae8f650bd9 Ready for shipping 2.0 2016-04-20 16:02:31 -07:00
Daniel Beck 574f83a962 Merge pull request #2264 from daniel-beck/reuseForks=false
[JENKINS-33809] Don't reuse forks
2016-04-19 23:14:08 +02:00
Baptiste Mathus 944571f9b5 Merge pull request #2256 from batmat/pre-java7-code-removal
Remove pre Java 7 reflection's based invocations
2016-04-14 20:56:16 +02:00
Daniel Beck 0d0314ddee [JENKINS-33809] Don't reuse forks 2016-04-14 16:41:04 +02:00
Baptiste Mathus 99c43c8ccd Remove pre Java 7 reflection's based invocations
Simplify the code now the minimum version is Java 7.
2016-04-13 23:09:22 +02:00
Oliver Gondža ac566a91e4 Merge pull request #2146 from olivergondza/hide-management-link
[FIXED JENKINS-33683] - Fix Management link hiding
2016-04-13 21:37:19 +02:00
Oliver Gondža 2578f994d9 Bump jenkins-test-harness version to 2.7 2016-04-13 21:27:19 +02:00
Baptiste Mathus 8b3e4f43a2 Multi-catch refactoring when applicable 2016-04-12 10:17:42 +02:00
Ing. Pavel Janousek 2eef942be6 [JENKINS-32874] Improved test coverage of AbstractBuildRangeCommand 2016-04-12 10:09:24 +02:00
Baptiste Mathus 8ff2ca4c10 Merge pull request #2235 from batmat/harness-usage-statistics-test
More test harnessing of the usage statistics structure
2016-04-10 14:07:38 +02:00
Daniel Beck 66d3fb37ff Merge pull request #2237 from pjanouse/JENKINS-34055
[JENKINS-34055] Test coverage of set-build-description
2016-04-09 16:27:16 +02:00
Daniel Beck ae82f8e93f Merge pull request #2202 from pjanouse/JENKINS-32535
[JENKINS-32535] Improved test coverage 'add-job-to-view' and 'remove-job-from-view'
2016-04-08 20:55:20 +02:00
Baptiste Mathus 3be0f6732a Harnessing the usage stats structure
* added an agent so that the test is closer to reality
* tested every fields (compared to only a subset previously)
2016-04-08 20:34:43 +02:00
Ing. Pavel Janousek c2f1ace15a [JENKINS-32535] Improved test coverage 'add-job-to-view' and 'remove-job-from-view' 2016-04-08 15:25:47 +02:00
Alex Earl 1c60167981 Fix test 2016-04-07 20:10:54 -07:00
Alex Earl fcdebe56c0 Add dependency resolution to manually uploaded plugins. 2016-04-07 10:19:16 -07:00
Daniel Beck 1fe9cf7b7a Merge branch '2.0' of github.com:jenkinsci/jenkins 2016-04-07 11:52:44 +02:00
Ing. Pavel Janousek ab613c9c16 [JENKINS-34055] Test coverage of set-build-description
Improved test coverage of CLI command 'set-build-description'
2016-04-07 09:41:08 +02:00
Kohsuke Kawaguchi 1891deee30 [maven-release-plugin] prepare for next development iteration 2016-04-06 21:02:51 -07:00
Kohsuke Kawaguchi 001493c055 [maven-release-plugin] prepare release jenkins-2.0-rc-1 2016-04-06 21:02:51 -07:00
Kohsuke Kawaguchi d8f90de87b Next milestone is 2.0-rc-1 2016-04-06 20:36:56 -07:00
Craig Rodrigues 0611d0788a Remove use of '<' and '>' which cause javadoc errors
Tested with Java 8 and "mvn javadoc:test-javadoc".  Eliminates errors such as:

    [ERROR] java/hudson/os/DCOMSandbox.java:18: error: bad use of '>'
2016-04-06 15:52:04 -07:00
Daniel Beck 70ee2012e9 Revert "[FIXED JENKINS-21486] Merged #2172: enforce plugin dependencies."
This reverts commit fa39668b81, reversing
changes made to be9bc0dba5.
2016-04-07 00:07:38 +02:00
Daniel Beck 425b727eac Merge branch 'master' of github.com:jenkinsci/jenkins into 2.0
Conflicts:
	cli/pom.xml
	core/pom.xml
	pom.xml
	test/pom.xml
	test/src/test/java/hudson/PluginManagerTest.java
	war/pom.xml
2016-04-04 23:00:39 +02:00
Jesse Glick fa39668b81 [FIXED JENKINS-21486] Merged #2172: enforce plugin dependencies. 2016-04-04 11:06:43 -04:00
Kohsuke Kawaguchi 5e084e9edd [maven-release-plugin] prepare for next development iteration 2016-04-03 19:45:00 -07:00
Kohsuke Kawaguchi c0f49d3b06 [maven-release-plugin] prepare release jenkins-1.656 2016-04-03 19:44:59 -07:00
Kohsuke Kawaguchi 10939b995c [maven-release-plugin] prepare for next development iteration 2016-04-01 21:59:36 -07:00
Kohsuke Kawaguchi 1c8a94e1fe [maven-release-plugin] prepare release jenkins-2.0-beta-2 2016-04-01 21:59:35 -07:00
Daniel Beck a87c38c505 Merge pull request #2198 from daniel-beck/JENKINS-12875
[FIX JENKINS-12875] Change default crumb name to Jenkins-Crumb
2016-04-02 01:57:05 +02:00
Daniel Beck b859206348 Merge branch 'master' into 2.0 2016-03-31 15:56:42 +02:00
Daniel Beck 5b1642252e [JENKINS-12875] Fix test 2016-03-31 12:18:05 +02:00
Daniel Beck ed0ea631cd [FIXED JENKINS-12875] Change default crumb name to Jenkins-Crumb 2016-03-31 10:37:45 +02:00
Vincent Latombe d57db1b1f2 [JENKINS-21486] Fix plugin dependencies resolution
* Check that dependencies are enabled. A disabled optional dependency
  will not prevent a plugin from loading.
* Check versions of dependencies declared by a plugin before loading it.
  If any dependency (even optional) is older than what is required,
  then the plugin isn't loaded.

This should prevent use cases where a plugin is loaded but one of its
dependencies is too old so that :
* its @Extension annotated classes cannot be loaded, causing the full
  Jenkins to blow up with crapload of exceptions which are tedious to
  investigate to understand the root cause.
* NoSuchMethodError and the likes at runtime even though boot has
  completed.

Version check (for setups where version list is manually crafted but yet
works) can be disabled by starting Jenkins with

-Dhudson.PluginWrapper.dependenciesVersionCheck.enabled=true

Minor fixes done while implementing this change :
* Fix version parsing in PluginWrapper.Dependency
* Dynamic plugin load didn't check for disabled flag
2016-03-30 10:40:12 +02:00
Jesse Glick 0aa2858b2e [FIXED JENKINS-20509] Move doCheckJobName to View so that it can be used also from folders. 2016-03-29 12:47:36 -04:00
Jesse Glick 6cb93e6768 Use rerunFailingTestsCount rather than @RandomlyFails. 2016-03-29 10:39:50 -04:00
Jesse Glick 86503c2508 Moving DirectlyModifiableTopLevelItemGroup.canAdd check to a higher UI level, in ViewDescriptor.doAutoCompleteCopyNewItemFrom. 2016-03-28 16:36:50 -04:00
Kohsuke Kawaguchi 83ed203862 [maven-release-plugin] prepare for next development iteration 2016-03-27 19:21:39 -07:00
Kohsuke Kawaguchi 8cd91c1846 [maven-release-plugin] prepare release jenkins-1.655 2016-03-27 19:21:39 -07:00
Jesse Glick d2eb07d91a Make ViewDescriptor.doAutoCompleteCopyNewItemFrom honor DirectlyModifiableTopLevelItemGroup.canAdd. 2016-03-25 13:37:20 -04:00