Commit Graph
4684 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 659b6af190 [maven-release-plugin] prepare for next development iteration 2019-03-24 18:13:28 -07:00
Kohsuke Kawaguchi a273d4f268 [maven-release-plugin] prepare release jenkins-2.169 2019-03-24 18:13:18 -07:00
Kohsuke Kawaguchi 1c9eb43283 [maven-release-plugin] prepare for next development iteration 2019-03-10 22:55:12 -07:00
Kohsuke Kawaguchi 1e48792e61 [maven-release-plugin] prepare release jenkins-2.168 2019-03-10 22:55:05 -07:00
Oleg Nenashev fcc2a66017 Merge pull request #3913 from jsoref/java-cleanup
Java cleanup
2019-03-08 10:18:41 +01:00
Kohsuke Kawaguchi 4d54883e07 [maven-release-plugin] prepare for next development iteration 2019-03-03 19:03:29 -08:00
Kohsuke Kawaguchi c3cd672a57 [maven-release-plugin] prepare release jenkins-2.167 2019-03-03 19:03:21 -08:00
Josh Soref 8825451f67 spelling: dependent (#3821)
* spelling: dependent

Writers following British writing convention often confuse dependent and dependant. Those following US writing convention have an easier time with these words because Americans do not use dependant.

A dependant is a person who is dependent on someone else. (For example, a child is dependent on its parents. Therefore, a child is a dependant of its parents.)

Jenkins does not deal with people, thus the UK rule which is confusing does not apply.

* Add deprecated shims
2019-02-28 14:12:37 +01:00
Josh Soref 0ad7d00099 Switch to using TimeUnit.UNIT.toUnit(...) 2019-02-26 12:13:41 -05:00
Kohsuke Kawaguchi 0dfe346c9c [maven-release-plugin] prepare for next development iteration 2019-02-25 16:05:08 -08:00
Kohsuke Kawaguchi fbd80b9278 [maven-release-plugin] prepare release jenkins-2.166 2019-02-25 16:04:59 -08:00
Kohsuke Kawaguchi fe25f74725 [maven-release-plugin] prepare for next development iteration 2019-02-17 07:55:23 -08:00
Kohsuke Kawaguchi 8515149ad7 [maven-release-plugin] prepare release jenkins-2.165 2019-02-17 07:55:13 -08:00
Ivan Fernandez Calvo d9aa1283e6 [JENKINS-43780] Remove references to Trilead classes (#3876)
* [JENKINS-43780] Remove references to Trilead classes

* Update JSONSignatureValidator.java, Scrambler.java, ConsistentHash.java
2019-02-15 11:51:31 +01:00
Jesse Glick af09aaea67 Merge branch 'master' into remotingCLI 2019-02-12 08:34:24 -05:00
Kohsuke Kawaguchi 746035dd97 [maven-release-plugin] prepare for next development iteration 2019-02-10 23:39:01 -08:00
Kohsuke Kawaguchi ed36a92e99 [maven-release-plugin] prepare release jenkins-2.164 2019-02-10 23:38:52 -08:00
Oleg Nenashev fab166242d Merge pull request #3618 from Wadeck/JENKINS-53511_WEBCLIENT_DISCOVERY_IMPROVEMENT
[JENKINS-53511] Improve discovery and readability of WebClient
2019-02-08 06:43:50 +01:00
Jesse Glick 7ba3d75741 Reverting removal of empty test-jdk8 module at @oleg-nenashev’s request. 2019-02-05 09:29:22 -05:00
Jesse Glick 19bff0be7a Merge branch 'master' into remotingCLI 2019-02-05 09:21:13 -05:00
Kohsuke Kawaguchi 0d7505c56a [maven-release-plugin] prepare for next development iteration 2019-02-03 04:16:01 -08:00
Kohsuke Kawaguchi 3ebd5e014b [maven-release-plugin] prepare release jenkins-2.163 2019-02-03 04:15:49 -08:00
Baptiste Mathus a78312ea0f [JENKINS-55681] - Make JAXB a detached plugin only on Java 11 (#3865)
* Move detached plugins logic into a dedicated class

ClassicPluginStrategy is already long enough, so trying to make things a
bit more focused before adding Java 11 logic. (and even if not, the change
still splits a class that is almost 1k lines).

* Install jaxb as detached only on Java 11+

* Remove duplicate @Restricted

Given the enclosing class already has it.

* Use 1.5 release

* Add more test coverage

* getMinJavaVersion => getMinimumJavaVersion

* Rename DetachedPluginsManager as DetachedPluginsUtil

as requested by Oleg and Jesse. Mainly because of the misleading
relationship (there's no inheritance) with the existing `PluginManager`
class.

* 🤦 adjust to 1.5 release method renaming

* Clarify minimum Java version column

Co-Authored-By: batmat <bmathus@gmail.com>

* Update to 2.3.0 version of the jaxb plugin

* Bump minimum core version to next expected release version

* Add preventive cycle breaks for jaxb while waiting for JENKINS-28942

As requested by Oleg.

* Add test to fail fast on wrong format for split-plugins.txt
2019-02-03 10:56:26 +01:00
Oleg Nenashev 10ced4bda4 Merge pull request #3875 from basil/JENKINS-22566
Test cases for JENKINS-22566
2019-02-01 16:53:38 +01:00
Wadeck Follonier 73c6974d86 [JENKINS-53511] Improve discoverability of new feature in WebClient 2019-02-01 15:18:11 +01:00
Wadeck Follonier 3bb56b81e1 [JENKINS-53511] Bump of JTH to include new methods in WebClient
- And thus, adapt the code due to the breaking changes in JTH sub-lib
2019-02-01 15:17:26 +01:00
Oleg Nenashev 498428acee Merge pull request #3112 from talkdirty/master
[JENKINS-47530] Add null check to RunParameterDefinition#getProject()…
2019-02-01 14:57:17 +01:00
Wadeck Follonier 4ffb95d11b [JENKINS-55049] Avoid NumberFormatException when a symlink is used as… (#3790)
* [JENKINS-55049] Avoid NumberFormatException when a symlink is used as artifact
- display a "0 B" instead of nothing + exception thrown

* Different approach to cover all the specific cases of Long.decode

* Update core/src/main/java/hudson/model/Run.java

Co-Authored-By: Wadeck <Wadeck@users.noreply.github.com>

* Add test for length check
2019-02-01 13:53:03 +01:00
Basil Crow 0592e8c30f Test cases for JENKINS-22566 2019-01-31 13:15:47 -08:00
Jesse Glick 4090a64022 Merge branch 'master' into remotingCLI 2019-01-30 20:07:54 -05:00
James Nord f887a486b5 Merge pull request #3366 from jtnord/buildAuthorisationTokenTest
Adding test coverage for BuildAuthorisationToken
2019-01-29 17:48:38 +00:00
Oleg Nenashev b2dd531465 Update BuildAuthorizationTokenTest.java 2019-01-29 10:20:41 +01:00
Oleg Nenashev a026f89ecf Merge pull request #3456 from jennbriden/master
Replacing text references of "slave" with "agent"
2019-01-29 09:53:40 +01:00
Oleg Nenashev 2820608f2b Security218Test: Fix the Javavadoc the check() method 2019-01-28 17:56:11 +01:00
Kohsuke Kawaguchi a78a6a80f8 [maven-release-plugin] prepare for next development iteration 2019-01-27 13:24:28 -08:00
Kohsuke Kawaguchi 206713a1b8 [maven-release-plugin] prepare release jenkins-2.162 2019-01-27 13:24:18 -08:00
Wadeck Follonier bcf570b7c5 Add default impl. to RootAction (#3172)
* Default methods for RootAction
- reduce code in tests

* - simplification of some existing tests

* - change from RootAction to Action

* - change from Action to a new DefaultRootAction

* using InvisibleAction with the final removed

* adapting the javadoc of InvisibleAction and so remove the usage for non-test class
2019-01-27 17:21:06 +01:00
Victor Martinez ad06551934 [JENKINS-48220] list-jobs command shows all the items recursively of a given item (#3711)
* [JENKINS-48220] Avoid recursive search for a given view/folder

* Moved to the JenkinsRule

* Moved commented code as JenkinsFile
2019-01-27 17:07:53 +01:00
Abhyudaya Sharma 4e14f630d9 [JENKINS-53935] Add 'smoke-test' JUnit Category (#3855)
* Add 'smoke-test' JUnit Category [JENKINS-53925]

* Update test-annotations version to 1.3

* Use org.jvnet.hudson.test.SmokeTest
2019-01-27 14:25:33 +01:00
Baptiste Mathus 42d1d8f533 Merge pull request #3728 from charanbir/JENKINS-53284
JENKINS-53284 Fix warning message for changing workspace directories
2019-01-22 12:51:38 +01:00
Kohsuke Kawaguchi d761ab5986 [maven-release-plugin] prepare for next development iteration 2019-01-20 20:47:06 -08:00
Kohsuke Kawaguchi 58ee2f2fdf [maven-release-plugin] prepare release jenkins-2.161 2019-01-20 20:46:57 -08:00
David Olorundare 77ed68f5d0 [JENKINS-55305] Add new method to SecurityListener (#3825)
Consists of three changes:

[JENKINS-55305] Update SecurityListener method JavaDoc

[JENKINS-55307] Update HudsonPrivateSecurityRealm method

[JENKINS-54965] Add new HudsonPrivateSecurityRealmTest unit-test
2019-01-18 13:43:12 -06:00
David Olorundare 8a666a6d17 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-18 13:36:55 -06:00
Jesse Glick 8b91feb7b4 [JENKINS-55257] Verify fix in test. 2019-01-18 10:17:22 -05:00
David Olorundare f833489cf2 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2019-01-17 11:00:09 -06:00
Mike Glazer 0a6f0bb0fe [JENKINS-55428]: Support API creation with a hashed password (#3817)
* Support API creation with a hashed password

The purpose of this commit is to enable Jenkins Configuration
as Code to construct users via configuration, without the
need to store their passwords in plain text on disk.

* Fix test error

* PR Updates

* Create new method for creating account with a hashed password
* Add method for determining if a password is hashed or not.

* CR Updates

* Add check for hash validity

* Whitespace fix

* Fixup compile errors because PasswordEncoder doesn't have new methods

* Fix whitespace issue

* Add back whitespace

* Improve regex to check the log number of rounds / better version check
- add more tests for versions support to keep aligned with the library
2019-01-17 17:59:18 +01:00
Kohsuke Kawaguchi 055f4bb73e [maven-release-plugin] prepare for next development iteration 2019-01-15 11:05:10 -08:00
Kohsuke Kawaguchi 70a8e57424 [maven-release-plugin] prepare release jenkins-2.160 2019-01-15 11:05:02 -08:00
Baptiste Mathus bb54783549 Reformat new tests (tabs vs. space)
I, for one, prefer tabs, but spaces is the practice in place in Jenkins,
hence aligning.
2019-01-15 11:45:48 +01:00