Commit Graph

17963 Commits

Author SHA1 Message Date
Oleg Nenashev 9e64bcdcb4
Merge pull request #3439 from oleg-nenashev/bug/JENKINS-51179
[JENKINS-51179] - Provide diagnostics when loading corrupted fingerprint files
2018-05-15 11:56:13 +02:00
Kohsuke Kawaguchi cdda62c35a mvn incrementals:reincrementalify 2018-05-14 18:18:44 -07:00
Kohsuke Kawaguchi 84e0c40349 [maven-release-plugin] prepare for next development iteration 2018-05-14 12:45:22 -07:00
Kohsuke Kawaguchi 261ddc1c9a [maven-release-plugin] prepare release jenkins-2.122 2018-05-14 12:45:22 -07:00
suren 5b52480559 Fix incorrect i18n resources 2018-05-14 10:06:15 +08:00
Oleg Nenashev 922617509e [JENKINS-51179] - Check type of the loaded object when loading fingerprints 2018-05-14 00:25:24 +02:00
Oleg Nenashev 68ded5c155
Merge pull request #3423 from LinuxSuRen/translate/new-guy
Add Chinese translation for setupWizardConfigureInstance page
2018-05-12 16:35:59 +02:00
Oleg Nenashev 880cdb3859
Merge pull request #3434 from jsoref/patch-1
Remove stray space before period
2018-05-12 16:34:00 +02:00
Jesse Glick 40433c2dd6
Merge branch 'master' into no-build.version 2018-05-11 14:38:33 -04:00
Jesse Glick 6bb85ec23b
Merge pull request #3428 from jglick/perf-JENKINS-51205
[JENKINS-51205] Improve performance of /pluginManager/available service
2018-05-10 12:51:22 -04:00
Josh Soref b043385d47
Remove stray space before period 2018-05-10 12:26:34 -04:00
Jesse Glick 0268cc9929
Remove ${build.version} property in favor of ${project.version}. 2018-05-09 15:17:02 -04:00
Kohsuke Kawaguchi 91e1cf2d3e Merge remote-tracking branch 'origin/master' 2018-05-09 02:44:41 -07:00
Jesse Glick 3b61b96119
[JENKINS-51205] Improve performance of /pluginManager/available service. 2018-05-08 12:04:18 -04:00
Kohsuke Kawaguchi e1132fd4ed [maven-release-plugin] prepare for next development iteration 2018-05-07 12:09:24 -07:00
Kohsuke Kawaguchi 9bc3aa68b1 [maven-release-plugin] prepare release jenkins-2.121 2018-05-07 12:09:24 -07:00
Daniel Beck e992e1153b Merge commit '7250d8b875366ae90fa6aec13b5a5c86720e23a3' into security-master 2018-05-07 14:12:09 +02:00
Jesse Glick b414e3f23b Reincrementalify core. (#3426)
* Reincrementalify core.

* Pick up released version
2018-05-07 13:50:19 +02:00
surenpi a760a37551 Add Chinese translation for setupWizardConfigureInstance page 2018-05-06 17:59:41 +08:00
Kohsuke Kawaguchi 7250d8b875 [maven-release-plugin] prepare for next development iteration 2018-05-06 02:34:22 -07:00
Kohsuke Kawaguchi 23c44bdbfa [maven-release-plugin] prepare release jenkins-2.120 2018-05-06 02:34:21 -07:00
Hangsu Ma 081e400a5b [FIXED JENKINS-14713] make Cancel independent from Build permission (#882)
A script in the confluence page below will make sure configuration is
compatible after this change:
https://wiki.jenkins-ci.org/x/fAAhB
2018-05-05 21:27:15 +02:00
aviadatsnyk 8ede53387e [JENKINS-32778] - Prevent extracting archived plugins outside of target path (#3402) 2018-05-05 14:32:34 +02:00
Wadeck Follonier e7eec1cbe6 [JENKINS-51064] Lenient URL validator for Root URL (#3415)
* [JENKINS-51064] Lenient URL validator for Root URL
- especially with the TLDs
- more test cases

* add blank line

* Adjust comment

* Correction typo
2018-05-04 16:03:22 -04:00
Matt Sicker e229f37dd9 JENKINS-13128: Preserve copied file permissions and mtime (#3400)
* JENKINS-13128: Preserve copied file permissions and mtime

This fixes a bug where files copied locally do not preserve file permissions or last modification time.

* Use IO utility methods for exception handling

* Fix invalid path exception propagation

* Revert hudson.Util
2018-05-04 15:36:33 -04:00
Jeff Thompson a9eafdb973 [JENKINS-50412] Fingerprints logs should be less verbose (#3373)
* JENKINS-50412 - Fingerprints logs should be less verbose

Eliminate the logging line that says
possibly trimming /var/jenkins_home/fingerprints/[...]
This line fills up the fingerprints log file with repetitive, useless information.
The operation it calls provides its own logging that can be turned on if detailed
logging is actually needed instead of running this one repeatedly.

Also, while in the area, convert a couple of FileFilter inner classes to lambdas
and inline them. This reduces unnecessary boilerplate and improves clarity.

In order to make this change testable, I elected to remove the final restriction on the
class and annotate the class as restricted. This allows me to create unit tests for
this change and also verify existing capability at the appropriate level.

* Watch out for varying line endings.

Use a reliable check.

* Correct a few minor issues caught in review.

* Change to correct access modifier.
2018-05-04 14:51:12 -04:00
Wadeck Follonier a03254b99f Admin monitor message: separation between content and display (#3416)
* Better separation between content and display
- also put the version for the RootUrlNotSetMonitor and the HttpResponses new method

* Add blank line
2018-05-04 20:28:59 +02:00
Oleg Nenashev a4a1355f51
Merge pull request #3420 from jglick/gradle-plugin-under-test-JENKINS-51062
[JENKINS-51062] Extend ClassFilterImpl.isLocationWhitelisted Maven-oriented exclusions to plugin under test during Gradle builds
2018-05-04 11:18:16 +02:00
Jesse Glick b14ba46a14
[JENKINS-51062] Extend ClassFilterImpl.isLocationWhitelisted Maven-oriented exclusions to plugin under test during Gradle builds. 2018-05-03 13:57:28 -04:00
Jesse Glick 101f972d41
Merge branch 'master' into InstallState-madness-redux 2018-05-03 10:43:24 -04:00
Jesse Glick 3fb17fb0bb
[JENKINS-50692] [INFRA-1571] #3394: JEP-305 Incrementals in core 2018-05-03 10:13:39 -04:00
Devin Nusbaum 828a7e0225 Fix test failure by cleaning up static state after tests 2018-05-02 16:28:30 -04:00
Kohsuke Kawaguchi b094f9c2eb Merge branch 'master' of github.com:jenkinsci/jenkins 2018-04-30 12:03:52 -07:00
Kohsuke Kawaguchi a669e240af [maven-release-plugin] prepare for next development iteration 2018-04-30 11:56:44 -07:00
Kohsuke Kawaguchi 0a7543c443 [maven-release-plugin] prepare release jenkins-2.119 2018-04-30 11:56:44 -07:00
Andy Neebel 701485e86b [JENKINS-9104] Move process killing veto checks to master (#3357)
* [JENKINS-9104] Add a test method to show that vetos aren't processed on slaves

* Move the veto check to always run on the master

* Add a flag to skip master call if empty list
2018-04-29 12:50:30 +02:00
Wadeck Follonier 79ec930a8e [JENKINS-49839] correct annotation check (#3321)
- also correct a bad annotation in Run
2018-04-29 00:58:35 +02:00
Oleg Nenashev c7bc10341f
Merge pull request #3409 from daniel-beck/at-since-201804
Cleanup since Javadoc tags
2018-04-27 21:16:46 +02:00
Oleg Nenashev b15c21d5b0
Merge pull request #3407 from Jochen-A-Fuerbacher/fixEndcoding
Fixed encoding in German translation (log recorder levels)
2018-04-27 10:47:47 +02:00
Daniel Beck 6e037bfa39 Cleanup since Javadoc tags 2018-04-26 17:21:30 +02:00
Wadeck Follonier 17b94a044a [JENKINS-31661] Check the root url (Admin monitor + Wizard) (#3082)
* [JENKINS-31661] Add an administrative monitor to check the root url configuration
- add the monitor + test

* - corrections requested by Oleg in code review

* - add a field to fill during SetupWizard for the rootUrl (default value using javascript but editable)
- WIP : missing the translation

* - revert whitespace change

* - little refactoring of js methods

* - translation added

* - modification requested during PR by Jesse

* - renaming proposed by Keith

* - rework to have a new page in the SetupWizard for the root URL

* Correct relevant non-conflicting merge changes

* - in case of skip => also skip the instance configuration
- terminate => finish (+ uppercase)
- replace double single quotes
- add help message in the wizard to inform admins
- correct the installState serialization problem
- update working (admin monitor + wizard)

* address Daniel's comment
- skip all steps will show two messages instead of one (like before when clicking on skip twice)
- skip => not now
- remove margin and adjust padding for the wizard forms
- add the "if possible"

* address Arnaud's comment on the sauter vs passer

* address Liam's comment

* correct previous commit typo

* correct previous commit typo (2)

* add blank end line

* address James' comment

* address Daniel's comment

* address Devin's comment
- implement error management in the wizard
- provide different message in the monitor in case of null / invalid url
- add an helper to validate URL (even with _ in domain)
- add @Restricted

* - also update the monitor test to be consistent with its new behavior

* address Devin's comments

* correct header files

* include relevant classes for the url validation from commons-validator:1.6

* Move Apache classes in a more standard package
2018-04-26 16:58:29 +02:00
Jochen Fürbacher 3a124bfdb6 Fixed regression of ed8d905 2018-04-26 12:28:55 +02:00
Jochen Fürbacher aaa068a305 Fixed encoding in German translation (log recorder levels) 2018-04-26 10:45:01 +02:00
Daniel Beck c5497c9a57 Merge branch 'security-stable-2.107' into security-master 2018-04-26 01:49:42 +02:00
Daniel Beck 7e6c0637b1 Merge branch 'security-stable-2.89' into security-stable-2.107 2018-04-26 01:20:01 +02:00
Oleg Nenashev 5be4ddec16
Merge pull request #3401 from LinuxSuRen/slave-zh
Add Chinese translation for slave
2018-04-26 00:45:04 +02:00
Daniel Beck f73b827973 Merge branch 'security-stable-2.73' into security-stable-2.89 2018-04-26 00:37:06 +02:00
Wadeck Follonier 5cf0a77d44 [SECURITY-788] 2018-04-25 23:42:19 +02:00
Wadeck Follonier 7c5b41bfd5 [SECURITY-771] 2018-04-25 23:40:56 +02:00
Wadeck Follonier 809916b59b [SECURITY-771] 2018-04-25 23:40:33 +02:00