Commit Graph
32590 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 990db1069f [maven-release-plugin] prepare release jenkins-2.80 jenkins-2.80 2017-09-25 08:17:25 -07:00
James Nord c8a2b53376 [JENKINS-37062] use release version of javax.servlet:servlet-api:0 2017-09-25 13:16:58 +01:00
Oliver Gondža b291a2acdc Launch SSHD service asynchronously 2017-09-25 10:50:33 +02:00
Jesse Glick fa96a02a3e [FIXED JENKINS-46754] Remove org.mindrot:jbcrypt:0.4 since we already bundle org.connectbot.jbcrypt:jbcrypt:1.0.0.
(cherry picked from commit 1784f90806)
2017-09-25 10:02:11 +02:00
Oliver Gondža f09d00dd32 Merge branch 'master' of github.com:jenkinsci/jenkins 2017-09-24 20:04:42 +02:00
Oliver Gondža 5ec4515e0b Merge pull request #2976 from olivergondza/JENKINS-19473
[FIXED JENKINS-21905] Present human readable error when archiving unreadable artifacts
2017-09-24 16:07:01 +02:00
Oliver Gondža fd08d75213 Merge branch 'master' into JENKINS-19473 2017-09-24 16:05:51 +02:00
Oliver Gondža 08a4c5d05e [JENKINS-21905] fix typo 2017-09-24 16:05:16 +02:00
Oliver Gondža efbdac0f76 [JENKINS-21905] Skip unittest on windows 2017-09-24 16:05:15 +02:00
Oliver Gondža 9bd9c48af3 [JENKINS-21905] Log the diagnosed cause just in case 2017-09-24 16:05:10 +02:00
Oliver Gondža 7139382011 [JENKINS-21905] Diagnose the known cause without printing stacktrace 2017-09-24 16:05:05 +02:00
Oliver Gondža d3f75a9036 [JENKINS-21905] Do not wrap problem with reading into an exception indicating write problem 2017-09-24 16:05:00 +02:00
Oliver Gondža 3f3e3b80a0 [JENKINS-21905] Take advantage of suppressed exceptions 2017-09-24 16:04:50 +02:00
Oliver Gondža 4948d60345 [JENKINS-21905] Do not rewrap possibly more specific exception into a less specific one 2017-09-24 16:04:45 +02:00
Oliver Gondža a9d7caa81f [JENKINS-21905] Unwrap the unnecessary ExecutionExceptions 2017-09-24 16:04:38 +02:00
Oliver Gondža 489068e753 [JENKINS-21905] Reproduce in unittest 2017-09-24 16:04:28 +02:00
Oleg Nenashev 49de269da8 Merge pull request #3039 from liketic/bugfix/pull/3007
[Fix JENKINS-23411] Fix testing failure introduced in PR-3007
2017-09-24 13:29:36 +03:00
liketic 0b56fb5354 [Fix JENKINS-23411] Fix testing failure introduced in PR-3007 2017-09-24 12:50:44 +08:00
Robert Sandell 3adfed4b06 [JENKINS-44657] Move sub-job's buildsdir when outside of itemrootdir (#2932)
* A test to verify JENKINS-44657 is working in core

* [JENKINS-44657] Move sub-job's buildsdir when outside of itemrootdir.

* [JENKINS-44657] Fix UsageStatisticsTest

Because we've added a test dependency that affects it.

* [JENKINS-44657] Normalize the path before comparing

* [JENKINS-44657] Use MockFolder instead of folders-plugin

for tests

* [JENKINS-44657] Document and annotate isDefaultBuildDir

* [JENKINS-44657] isDescendant doesn't throw IOException any more

* [JENKINS-44657] catch InvalidPathException and rethrow as IOException
2017-09-23 22:59:39 +03:00
Jesse Glick 4de2e3a793 Merge branch 'security-stable-2.73' into security-master 2017-09-22 09:39:56 -04:00
Jesse Glick dc063c3328 Merge branch 'master' of git://github.com/jenkinsci/jenkins 2017-09-22 09:39:26 -04:00
Jesse Glick be8af15dd2 Merge branch 'security-stable-2.60' into security-stable-2.73 2017-09-22 09:39:10 -04:00
Jesse Glick d7073bfab4 Merge branch 'security-stable-2.46' into security-stable-2.60 2017-09-22 09:38:38 -04:00
Jesse Glick 09d60462b9 [SECURITY-616] Password fields should use POST requests for form validation to avoid disclosing secrets in request URLs. 2017-09-22 09:35:52 -04:00
Thomas de Grenier de Latour 061493c8ed make POST requests when checking AbstractCommandInstaller.command (textarea) 2017-09-22 15:28:00 +02:00
James Nord 982a8faf5a [JENKINS-37062] incorporate changes from stapler servlet 3.1
Downstream updates from stapler/stapler#131

The stapler API was built using servlet 2.5 and yet Jenkins uses 3.1.
This meant some of the code that stapler used was missing new methods
that where part of the updated spec and if a plugin happened to call
them you would end up with a LinkageError or some other crazyness.

This also make Jenkins depend on a dummy version of the old serlet-api
maven co-ordinates such that if any plugin gets aa dependency on it
transitivly (e.g. Jenkins test harness) they will get a version with no
code so the classpath should always be clean (this was more an issue for
eclipse than an mvn command)
2017-09-22 12:15:23 +01:00
surenpi 39dfa055b0 remove unused imports (#3032)
* del unused imports

* del unused imports
2017-09-22 13:35:52 +03:00
Oleg Nenashev 2dba9881ee Merge pull request #3020 from jglick/ysoserial
Suppress compiler warnings about non-API classes used by gadgets
2017-09-22 13:35:32 +03:00
Oleg Nenashev 849e76e661 Merge pull request #3027 from jglick/HudsonPrivateSecurityRealmTest
Consolidate HudsonPrivateSecurityRealmTest & HudsonPrivateSecurityRealm2Test
2017-09-22 12:12:12 +03:00
kel fddffb4fbc [Fix JENKINS-23411] Throws Failure if the item does not exist (#3007)
* [Fix JENKINS-23411] Throws Failure if the item does not exist

* [Fix JENKINS-23411] Adress wording in error message
2017-09-22 12:05:36 +03:00
kel 27569a965a [Fix JENKINS-42577] Save jenkins version in Jenkins.save() (#3010)
* [Fix JENKINS-42577] Save jenkins version in Jenkins.save()

* [Fix JENKINS-42577] Fix unit test failures
2017-09-22 11:56:30 +03:00
Jesse Glick 5e84c5470f [JENKINS-18114] Fixing CLI crumbs (#3019)
* [JENKINS-18114] The CLI client already asks for a crumb; we just to actually serve it, from CrumbIssuer.RestrictedApi.

* serveCliActionToAnonymousUserWithoutPermissions() was checking some stuff better checked by authentication(), and was failing since this fake client was not passing a crumb.

* Bring back CliCrumbExclusion, needed for anonymous use with no read access, and just let the client stop asking for a crumb.

* Added FullDuplexHttpServiceTest; useful to have a simple, self-contained demonstration of the HTTP Duplex transport.
2017-09-22 11:55:52 +03:00
Oleg Nenashev 3f84d3076f Merge pull request #3011 from jglick/CLI-ping-JENKINS-46659
[JENKINS-46659] Avoid Jetty timeouts by sending pings
2017-09-22 11:53:41 +03:00
Jesse Glick d14db49057 Merge branch 'security-stable-2.73' into security-master 2017-09-19 11:23:10 -04:00
Jesse Glick 9da9131c2c Merge branch 'master' into security-master 2017-09-19 11:22:49 -04:00
Jesse Glick 6e9ac291d0 Merge branch 'stable-2.73' 2017-09-19 11:21:24 -04:00
Jesse Glick 1187de9d64 Merge branch 'master' of git://github.com/jenkinsci/jenkins 2017-09-19 11:21:21 -04:00
Jesse Glick 14a3576b15 Merge branch 'stable-2.73' into security-stable-2.73 2017-09-19 11:21:10 -04:00
Jesse Glick e7004d0c74 Merge branch 'stable-2.73' of git://github.com/jenkinsci/jenkins into stable-2.73 2017-09-19 11:20:54 -04:00
Baptiste Mathus 112ceeba3a Merge pull request #2892 from batmat/deprecate-timeunit2
Deprecate TimeUnit2
2017-09-18 21:49:35 +02:00
Baptiste Mathus b22b02ab60 Add missing @link 2017-09-18 21:48:11 +02:00
Oleg Nenashev bbde97d3dc Merge pull request #3024 from jglick/JTH
jenkins-test-harness 2.24 → 2.26
2017-09-18 18:03:28 +02:00
Kohsuke Kawaguchi a0396a0766 [maven-release-plugin] prepare for next development iteration 2017-09-17 18:34:02 -07:00
Kohsuke Kawaguchi b0504aa2eb [maven-release-plugin] prepare release jenkins-2.79 jenkins-2.79 2017-09-17 18:34:02 -07:00
Baptiste Mathus 8048f6d2d9 Merge pull request #2998 from batmat/JENKINS-46603
[JENKINS-46603] Bump to latest parent 1.39
2017-09-17 19:54:54 +02:00
Baptiste Mathus 3823cbf39e Downgrade restriction from DoNotUse to NoExternalUse
There's a failure with accmod using DoNotUse. So taking the
easy path here to move forward. This will already have the intended
effect: clarify that TimeUnit2 is not to be used anymore.
2017-09-17 15:26:07 +02:00
Oleg Nenashev 0b2c682aea Merge pull request #2807 from istrangiu/AddApiNodeDescription
JENKINS-42854: Added description field to the 'Computer' api
2017-09-15 19:00:52 +02:00
Oleg Nenashev b3fa926818 Merge pull request #3015 from daniel-beck/letsencrypt
Require at least Java 8u101 for the updates.jenkins.io certs
2017-09-15 18:54:22 +02:00
Oliver Gondža dbb5e443b9 [JENKINS-46680] Disconnect computer on ping timeout (#3005)
* [JENKINS-46680] Reproduce in unittest

* [FIX JENKINS-46680] Reset SlaveComputer channel before closing it on ping timeout

* [JENKINS-46680] Attach channel termination offline cause on ping timeouts
2017-09-15 18:44:50 +02:00
Oleg Nenashev 2ae37219fe Merge pull request #3000 from liketic/JENKINS-46161
[Fix JENKINS-46161] Make ReverseBuildTrigger#getUpstreamProjects null…
2017-09-15 18:42:53 +02:00