Commit Graph
3391 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi a7b024bbdf [maven-release-plugin] prepare for next development iteration 2016-10-23 19:39:05 -07:00
Kohsuke Kawaguchi 4598b2e954 [maven-release-plugin] prepare release jenkins-2.27 2016-10-23 19:39:05 -07:00
Thorsten Scherler ab16e52519 [FIX JENKINS-35845] Internationalisation for Blue Ocean and JDL (#2586)
* Load i18n resource bundles from plugins if not found in jenkins core

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

* Issue 404 response for missing i18n resource bundles

Currently issues a 200 with an "error" response payload. This change still issues the error response payload, but also sets the HTTP response.

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

* [JENKINS-35845] Fix test since we return now a 404

* [JENKINS-35845] add test for getting locale from plugin. fix comments from oleg.

* [JENKINS-35845] Fix description

* [JENKINS-35845] Update PR with comments from Oleg

* [JENKINS-35845] Add feedback from tom

* eslint - formating changes and fix offences

* eslint - formating changes and fix offences

* [JENKINS-35845] remove code concerning 404 response. Fix resourceBundle test by prevent NPE to happen

* [JENKINS-35845] Link to issue on which we introduced the test
2016-10-22 12:21:56 +02:00
Kohsuke Kawaguchi c3514c87f2 [maven-release-plugin] prepare for next development iteration 2016-10-17 02:33:31 -07:00
Kohsuke Kawaguchi 2a5822cd19 [maven-release-plugin] prepare release jenkins-2.26 2016-10-17 02:33:30 -07:00
Oliver Gondža 7f6f495f86 Avoid deprecated findbugs annotations (#2144)
* Avoid deprecated findbugs annotations

* One more forgotten annotation
2016-10-15 12:53:56 -07:00
Oleg Nenashev b50034c9bf [FIXED JENKINS-38650] - Cleanup spelling in CLi commands + Javadoc updates (#2571)
* [FIXED JENKINS-38650] - Cleanup spelling in CLi commands.

Also adds some javadoc and since definitions.

* [JENKINS-38650] - Move common warning message to the constant

* [JENKINS-38650] - DeleteViewCommand should also use the constant string

* [JENKINS-38650] - Rename the constant in order to make the name more explicit
2016-10-15 08:34:12 -07:00
Oleg Nenashev 720b75f096 Merge pull request #2563 from stochmial/shell-setunstable-rebased
[JENKINS-23786] Permit the Shell plugin to set a build result as unstable via a return code
2016-10-11 12:46:54 +02:00
stochmim 359548efa0 Fix for 23786 Permit 'Execute shell' jobs to return 2 for 'unstable'
refactor and fix

remove duplication and fix FB errors

fix integration tests

consistency fixes

consistency fixes

changed error message to warning

fix comment and warning message

fix comment

fix junit tests

fix junit tests

fix junit tests

fix junit tests

clean import

a commit to trigger jenkins checks
2016-10-10 13:50:21 +02:00
Kohsuke Kawaguchi f4a9089185 [maven-release-plugin] prepare for next development iteration 2016-10-09 17:15:47 -07:00
Kohsuke Kawaguchi 85ed077b5c [maven-release-plugin] prepare release jenkins-2.25 2016-10-09 17:15:46 -07:00
Baptiste Mathus 9ff7cfc4d8 Normalize incorrect line endings 2016-10-04 11:35:49 +02:00
Kohsuke Kawaguchi f4f409cd8b [maven-release-plugin] prepare for next development iteration 2016-10-02 21:40:55 -07:00
Kohsuke Kawaguchi 0987e71ee7 [maven-release-plugin] prepare release jenkins-2.24 2016-10-02 21:40:55 -07:00
Yoann Dubreuil b57875070e Skip test if not running on Jetty instead of failing 2016-09-23 12:07:38 +02:00
Yoann Dubreuil 5b6436f11e Tests web app properties access properly 2016-09-23 09:11:34 +02:00
Daniel Beck de740c756f [FIX JENKINS-18114] Exclude /cli URL from crumb requirement (#2315)
* [FIX JENKINS-18114] Exclude /cli URL from crumb requirement

* [JENKINS-18114] Fix test: Don't send the crumb

The CLI doesn't do this either.
2016-09-22 17:02:06 +02:00
Craig Ringer 4b067fdf15 JENKINS-23786: Allow batch files to set an exit code for unstable builds 2016-09-22 16:18:41 +02:00
Craig Ringer e773eb4462 JENKINS-23786: Allow Shell jobs to set a return code for unstable
Currently a shell job has to make a HTTP call back to Jenkins to set
its build result as unstable. This is slow, requires the slave to
have access to the master's HTTP interface, and is fiddly. The
alternative, the TextFinder plugin, is no better.

Instead, allow a job to set the build result to unstable with a
return value.

Adds the Advanced parameter "unstableReturn" which, if non-zero,
is the code the script must return to set the build as unstable.
2016-09-22 16:11:56 +02:00
Oliver Gondža 0ba90615c7 Present stacktrace when throwable attached to Descriptor.FormException 2016-09-20 10:00:51 +02:00
Kohsuke Kawaguchi 7a92a23e7a [maven-release-plugin] prepare for next development iteration 2016-09-18 15:13:24 -07:00
Kohsuke Kawaguchi 7c69ac8c81 [maven-release-plugin] prepare release jenkins-2.23 2016-09-18 15:13:24 -07:00
Kohsuke Kawaguchi a34bc0d52d [maven-release-plugin] prepare for next development iteration 2016-09-11 22:18:56 -07:00
Kohsuke Kawaguchi 40f08710ae [maven-release-plugin] prepare release jenkins-2.22 2016-09-11 22:18:56 -07:00
Oliver Gondža d988964d5f Fix test class declaration 2016-09-05 16:29:57 +02:00
Kohsuke Kawaguchi d4fc22db17 [maven-release-plugin] prepare for next development iteration 2016-09-04 08:22:23 -07:00
Kohsuke Kawaguchi 5ed74894b7 [maven-release-plugin] prepare release jenkins-2.21 2016-09-04 08:22:23 -07:00
Kohsuke Kawaguchi a38f985cba [maven-release-plugin] prepare for next development iteration 2016-08-28 22:36:44 -07:00
Kohsuke Kawaguchi 6406c15086 [maven-release-plugin] prepare release jenkins-2.20 2016-08-28 22:36:44 -07:00
Felix Belzunce Arcos 4278804582 [JENKINS-36748] Do not process null specs in triggers (#2482)
* [JENKINS-36748] Add a test case and not process null specs

* [JENKINS-36748] Correct license and add a minor comment

* [JENKINS-36748] Add a Waning logger when spec is null
2016-08-25 01:14:06 +02:00
Kohsuke Kawaguchi ea042efcb3 [maven-release-plugin] prepare for next development iteration 2016-08-21 13:03:27 -07:00
Kohsuke Kawaguchi d73a37ced4 [maven-release-plugin] prepare release jenkins-2.19 2016-08-21 13:03:26 -07:00
Kohsuke Kawaguchi bc118c03f1 [maven-release-plugin] prepare for next development iteration 2016-08-15 09:27:37 -07:00
Kohsuke Kawaguchi a0c69751a0 [maven-release-plugin] prepare release jenkins-2.18 2016-08-15 09:27:37 -07:00
Jesse Glick e94c399139 Simplified HTTP calls with basic auth. (#2441) 2016-08-08 20:35:31 +03:00
Kohsuke Kawaguchi 1aac2f6883 [maven-release-plugin] prepare for next development iteration 2016-08-05 22:53:01 -07:00
Kohsuke Kawaguchi 69866d70a6 [maven-release-plugin] prepare release jenkins-2.17 2016-08-05 22:53:01 -07:00
Kohsuke Kawaguchi 172df6a7df [FIXED JENKINS-37223]
Added a simple diagnostic HTTP response to the TcpSlaveAgentListener.
2016-08-05 12:59:40 -07:00
Kohsuke Kawaguchi fa5179ac32 [maven-release-plugin] prepare for next development iteration 2016-07-31 17:23:11 -07:00
Kohsuke Kawaguchi e02419c61a [maven-release-plugin] prepare release jenkins-2.16 2016-07-31 17:23:11 -07:00
Vincent Latombe dff8e806b9 [JENKINS-21486] Only consider plugins detached before the current
version
2016-07-29 14:33:56 +02:00
Vincent Latombe 43ddbdfc1c [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-07-29 14:31:41 +02:00
Jesse Glick 81bc2ef348 Merge pull request #2484 from jglick/ArtifactArchiver.excludes-JENKINS-29922
[JENKINS-29922] Correct the default value handling of ArtifactArchiver.excludes
2016-07-28 14:14:55 -04:00
Jesse Glick edfffb160a Merge pull request #2478 from jglick/Test2
Tests are not run unless the class name ends with "Test"
2016-07-28 11:02:11 -04:00
Alvaro Lobato 404384eefe [JENKINS-36908] Make sure that the All view is created (#2472)
* [JENKINS-36908] Make sure that the All view is created

* Revert old All view behaviour

* Fix changed comment

* Tests

* Delete unwanted file.
2016-07-27 18:31:29 +02:00
Jesse Glick cd24167458 [JENKINS-29922] Correct the default value handling of ArtifactArchiver.excludes. 2016-07-27 10:29:25 -04:00
Stephen Connolly a8ee5752b9 Noting merge of PR#2480 and integrate instance-identity 2.1 release 2016-07-27 14:35:07 +01:00
Stephen Connolly d7f62a29a6 Merge pull request #2480 from stephenc/jenkins-36871-prep
[JENKINS-36871] Allow accessing instance identity from core
2016-07-27 13:47:47 +01:00
Stephen Connolly 80af6cb000 [JENKINS-36923] Make the UsageStatisticsTest less brittle
- We now check the format and assure that all detached plugins are reported
2016-07-26 21:08:56 +01:00
Stephen Connolly 0faae72f36 [ENKINS-36923] Add a test for the /instance-identity root action 2016-07-26 20:10:24 +01:00