Commit Graph
17518 Commits
Author SHA1 Message Date
Oleg Nenashev 260a2576f2 [JENKINS-48946] - Move whitelist ordering test to core to fail fast 2018-01-15 20:02:58 +01:00
Oleg Nenashev ad8fecfbd3 [JENKINS-48946] - Add all private classes of java.util.Collections (OpenJDK) to the whitelist. 2018-01-15 16:47:49 +01:00
Kohsuke Kawaguchi d50004fa4e [maven-release-plugin] prepare for next development iteration 2018-01-14 18:13:39 -08:00
Kohsuke Kawaguchi 066252ee56 [maven-release-plugin] prepare release jenkins-2.102 2018-01-14 18:13:39 -08:00
Oleg Nenashev ee862b8cc3 [JENKINS-48992] - Whitelist StringBuilder and StringBuffer for serialization (#3230)
* [JENKINS-48992] - Whitelist StringBuilder and StringBuffer for serialization.

* [JENKINS-48922] - Reorder the whitelist entries
2018-01-13 23:38:13 +01:00
Oleg Nenashev 51817306f7 Merge pull request #3036 from alonbl/exit-on-restart
[JENKINS-47043] Introduce exit lifecycle to exit instead of restart
2018-01-13 20:34:06 +01:00
Jesse Glick 3a99c2c6fd Merge branch 'master' of github.com:jenkinsci/jenkins 2018-01-12 17:40:48 -05:00
Jesse Glick cb4903c20e [JEP-200] [JENKINS-47736] Merged #3120: ClassFilterImpl 2018-01-12 17:39:05 -05:00
Jesse Glick 47be7c3db3 Fixed order of entries. 2018-01-12 17:37:02 -05:00
Jesse Glick e3bf773cea https://github.com/jenkinsci/kubernetes-pipeline-plugin/pull/66 2018-01-12 16:22:00 -05:00
Oleg Nenashev 8db2ffb217 Merge pull request #3227 from Jimilian/cheap_check_first
Do not search for last build if concurrent build is allowed
2018-01-12 18:46:07 +01:00
Jesse Glick 5f44ee2d85 More ruby-runtime. 2018-01-12 11:49:54 -05:00
Jesse Glick f4be029342 Some additional whitelist entries for RubyBoolean. 2018-01-12 11:03:03 -05:00
Jesse Glick 1c219ba095 Adding general kill switches for the whitelist and blacklist which merely log violations. 2018-01-12 11:02:15 -05:00
Jesse Glick 293897f85f https://github.com/jenkinsci/dependency-check-plugin/pull/20 2018-01-12 09:15:32 -05:00
Baptiste Mathus 438e9296f0 Merge pull request #3170 from batmat/JENKINS-34855
[FIX JENKINS-34855] Create a FileChannelWriter and use it for AtomicFileWriter "enforced" flushing
2018-01-12 10:30:32 +01:00
Jesse Glick 8b3e897cec https://github.com/jenkinsci/ruby-runtime-plugin/pull/5 2018-01-11 17:52:28 -05:00
Jesse Glick 22c9bd0bf4 Javadoc warnings were misleading. For master → slave, the return type matters; for slave → master, the callable fields matter. 2018-01-11 15:45:07 -05:00
Daniel Beck 02d0531add [JENKINS-48773] - Limit which section headers are added to the breadcrumb config outline (#3213)
* [JENKINS-48773] Don't include section elements in repeatables

* Only include visible section headers

* Fix tests by checking for presence of method first
2018-01-11 21:23:12 +01:00
Jesse Glick b844f0fbfd KubernetesTest.upgradeFrom_0_12 2018-01-11 12:57:38 -05:00
Jesse Glick 964e22487a Reminder about JEP-200 impacts on slave → master callables. 2018-01-11 12:12:27 -05:00
Jesse Glick f0138b568d Including permalink in BlacklistedTypesConverter messaging. 2018-01-11 11:47:40 -05:00
Jesse Glick 04cbd5d38c Add the remaining primitive wrappers.
PerformancePublisherTest.testRelativeThresholdFailedPositive showed a rejection of Character.
In fact the field was of type char, but TreeMarshaller.convertAnother boxes primitives; the field type has been discarded by this point.
2018-01-11 10:50:31 -05:00
Jesse Glick 7ba2ea4016 https://github.com/jenkinsci/monitoring-plugin/pull/6 2018-01-11 10:15:10 -05:00
Jesse Glick 18e4154ffc Merge branch 'master' into whitelist-JENKINS-47736 2018-01-11 09:43:37 -05:00
Alexander Akbashev 780050dfc0 Do not search for last build if concurrent build is allowed
The switch of order in check allows to reduce memory consumption in high
loaded systems.
2018-01-11 14:46:33 +01:00
Jesse Glick deeab3a22b Merge pull request #3220 from dwnusbaum/tooldescriptor-constructor
Add new ToolDescriptor constructor so subclasses are not required to be an inner class
2018-01-10 14:29:03 -05:00
Jesse Glick 4f3ede2c5d https://github.com/jenkinsci/xtrigger-lib/pull/9 2018-01-09 15:39:13 -05:00
Daniel Trebbien e8c86a374f Use fileToPath() (#3219)
* Use fileToPath()

This is a follow-up to PR 3210 on GitHub. See:
https://github.com/jenkinsci/jenkins/pull/3210#discussion_r160045107

* Switch two File.toPath() calls to Util.fileToPath()

* Delete an unused import
2018-01-09 21:21:59 +01:00
Jesse Glick 475ef3acd0 war/work/plugins/*.jpl broke mvn -f war hudson-dev:run. 2018-01-09 15:08:14 -05:00
Jesse Glick 7b6f8f5297 Merge branch 'master' into whitelist-JENKINS-47736 2018-01-09 14:52:18 -05:00
Devin Nusbaum cb30818843 Address review feedback 2018-01-08 15:02:28 -05:00
Daniel Beck 08a2b1e441 Update 'since FIXME' and 'since TODO' Javadoc tags 2018-01-08 20:52:30 +01:00
Devin Nusbaum afa209afea Add new ToolDescriptor constructor to allow subclasses to be in a separate file from their describable 2018-01-08 14:16:25 -05:00
Jesse Glick 5a24186d3c Merge branch 'master' into whitelist-JENKINS-47736 2018-01-08 10:48:06 -05:00
Oleg Nenashev d6ff7647dd Merge pull request #3210 from dtrebbien/switch-to-Files-newBufferedReader
Switch to calling Files.newBufferedReader
2018-01-08 15:01:42 +01:00
Kohsuke Kawaguchi 4dbe772a0b [maven-release-plugin] prepare for next development iteration 2018-01-07 18:20:10 -08:00
Kohsuke Kawaguchi 235a9bad68 [maven-release-plugin] prepare release jenkins-2.101 2018-01-07 18:20:10 -08:00
Baptiste Mathus bd2cb36a87 Be less dramatic with the dataloss criteria
As requested especially by Sam
2018-01-07 23:26:51 +01:00
Oleg Nenashev a79fdaa4b3 Revert "[JENKINS-46911] createProjectFromXML not recognizing unsafe character…" (#3218)
* Revert "[JENKINS-48447] Fixed HTTP 404 error when clicking on newView sidebar link from an other view. (#3178)"

This reverts commit 6df06fc19a.

* Revert "[JENKINS-46911] createProjectFromXML not recognizing unsafe character… (#3057)"

This reverts commit ac2a1aaf89.
2018-01-07 18:26:57 +01:00
Jochen A. Fürbacher 6df06fc19a [JENKINS-48447] Fixed HTTP 404 error when clicking on newView sidebar link from an other view. (#3178)
* [JENKINS-48447] Fixed HTTP 404 error when clicking on newView sidebar link from an other view.

* [JENKINS-48447] Fixed unit tests for NewViewLink

* [JENKINS-48447] Load url name each time object gets initialized and adapted tests.

* [JENKINS-48447] Rewrite tests for url name; fixed indenting.

* [JENKINS-48447] Fixed more identing.

* [JENKINS-48447] Added @Restricted to NewViewLink; undo URL_NAME renaming.
2018-01-07 14:43:49 +01:00
godfath3r ac2a1aaf89 [JENKINS-46911] createProjectFromXML not recognizing unsafe character… (#3057)
* [JENKINS-46911] createProjectFromXML not recognizing unsafe character '/'

* Better place for testCreateProjectCheckGoodName()

* Fix failed test

* Make changes suggested on PR review.

* Remove Failure exception, instead throw IOException. Add javadoc

* [JENKINS-46911] - Add TODO according to the comment from @jtnord.
2018-01-07 14:39:10 +01:00
Oleg Nenashev cabc857315 Merge pull request #3216 from suren-jenkins/suren-console
Add console Chinese translation
2018-01-07 14:34:11 +01:00
Gentle Yang adba0d3917 translate into Chinese (simplified) under install/SetupWizard/ (#3204)
* Create pluginSetupWizard_zh_CN.properties

* Create client-scripts_zh_CN.properties

* Create setupWizardFirstUser_zh_CN.properties

* Create proxy-configuration_zh_CN.properties

* Update setupWizardFirstUser_zh_CN.properties

* Create authenticate-security-token_zh_CN.properties

* Update client-scripts_zh_CN.properties

* Update pluginSetupWizard_zh_CN.properties

* Update client-scripts_zh_CN.properties

* Update authenticate-security-token_zh_CN.properties

* Update setupWizardFirstUser_zh_CN.properties

* Update proxy-configuration_zh_CN.properties

* Update pluginSetupWizard_zh_CN.properties

* Update pluginSetupWizard_zh_CN.properties

* Update pluginSetupWizard_zh_CN.properties

* fixed build error
2018-01-07 11:07:51 +01:00
Oleg Nenashev 96c38bec48 Merge pull request #3214 from jglick/UncaughtExceptionHandler-EOFException
UncaughtExceptionHandler should avoid reporting EOFException
2018-01-07 11:03:08 +01:00
Oleg Nenashev 93bf06335d Merge pull request #3179 from Wadeck/NEW_JOB_SMALL_CORR_FR_LANG
Correction of quote for French + space before colon
2018-01-06 17:30:09 +01:00
Oleg Nenashev c001ecf591 Merge pull request #3209 from suren-jenkins/suren-zh
Add Chinese translation
2018-01-06 17:29:15 +01:00
Jesse Glick 358f6e86f4 UncaughtExceptionHandler should avoid reporting EOFException. 2018-01-05 13:39:14 -05:00
Jesse Glick dbc8b71f59 hudson.plugins.mercurial.PipelineTest.multipleSCMs failed to call FilePath.toURI. 2018-01-05 13:10:51 -05:00
Alon Bar-Lev 52ff066b71 [JENKINS-47043] Introduce exit lifecycle to exit instead of restart
If hudson.lifecycle.ExitLifecycle is selected, jenkins will exit when
restart is requested. Exit code is taken out of
jenkins.model.Jenkins.exitCodeOnRestart, default is 5.

This is usable when there is an external watchdog such as SystemD.

SystemD service example:

   ExecStart=@/usr/bin/java jenkins $JAVA_OPTIONS -DJENKINS_HOME=${JENKINS_HOME} -Dhudson.lifecycle=hudson.lifecycle.ExitLifecycle -Djenkins.model.Jenkins.exitCodeOnRestart=55 -jar $JENKINS_WAR --debug=${JENKINS_DEBUG_LEVEL} --httpPort=${JENKINS_PORT} --httpListenAddress=${JENKINS_LISTEN_ADDRESS} $JENKINS_ARGS

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2018-01-05 13:42:57 +02:00