Commit Graph

416 Commits

Author SHA1 Message Date
Joseph Petersen f33b33bb20
fix yaml source constructor
this should not be public, you ought to use the `of` methods
2021-02-10 13:38:06 +01:00
Tim Jacomb d2f06c9876
[maven-release-plugin] prepare for next development iteration 2021-02-04 08:06:21 +00:00
Tim Jacomb 86303b22be
[maven-release-plugin] prepare release configuration-as-code-1.47 2021-02-04 08:06:10 +00:00
David Schott 5bf0f56a62
Export Float and Double as String (#1561)
* test configuring a Double

* export Float and Double as String

* set format to string

* amend exportYaml test for new behavior

* use double quotes bc that's how it's exported

* add a Float to the test

* add a float to exportYaml test

* decimal to string conversion
2021-02-02 19:10:56 +00:00
Aliaksei 161c501ed3
Add possibility to reload secrets from properties file with JCasC reload (#1556) 2021-01-20 20:19:48 +00:00
dependabot[bot] 183d861336
Bump json from 20190722 to 20201115 (#1532)
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20190722 to 20201115.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 08:15:30 +00:00
Naoki Kanatani 6b4808f689
Check only input YAML in doCheck (#1518)
It always fails check input configuration due to call getStandardConfigSources for now.
So use only input configuration for validating YAML.

Resolve: #653
2020-11-11 20:27:24 +00:00
Oleg Nenashev 2b0204b661 [maven-release-plugin] prepare for next development iteration 2020-11-03 18:37:04 +01:00
Oleg Nenashev ce06c147b3 [maven-release-plugin] prepare release configuration-as-code-1.46 2020-11-03 18:36:41 +01:00
akatsadimas ebadef8587
Cleanup master/slave terminology from documentation + Cleanup "Jenkins master" term from the warning in the Web UI (#1481)
* Cleanup master/slave terminology from documentation

* remove 'controller' from description

Agent configurations can be also managed on the controller side

* Update demos/kubernetes/README.md

Co-authored-by: Tim Jacomb <t.jacomb@kainos.com>
2020-11-03 17:51:39 +01:00
Oleg Nenashev ebee63be35
Add `decodeBase64` substitutor for reading base64-encoded variables (#1526)
* Add `readBase64` substitutor for reading base64-encoded variables

* Fix the SpotBugs issue with the encoding

* Swith to decodeBase64()
2020-11-02 15:54:45 +01:00
Tim Jacomb 3f84ad85d8
[maven-release-plugin] prepare for next development iteration 2020-10-25 08:14:17 +00:00
Tim Jacomb c82ecb4d57
[maven-release-plugin] prepare release configuration-as-code-1.45 2020-10-25 08:14:02 +00:00
Joseph Petersen 1b6dc7bae8
fix id for jetersen 2020-10-19 22:24:42 +02:00
Antonio Muniz d9ea28f572
[1448] Fix admin monitor UI (#1493) 2020-10-16 20:02:21 +01:00
Tim Jacomb 098ab6562c
[maven-release-plugin] prepare for next development iteration 2020-10-09 10:12:51 +01:00
Tim Jacomb d2ff43dfe4
[maven-release-plugin] prepare release configuration-as-code-1.44 2020-10-09 10:12:38 +01:00
dependabot-preview[bot] cd3964720e
Bump vavr from 0.10.2 to 0.10.3 (#1476)
Bumps [vavr](https://github.com/vavr-io/vavr) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/vavr-io/vavr/releases)
- [Changelog](https://github.com/vavr-io/vavr/blob/master/RELEASE.md)
- [Commits](https://github.com/vavr-io/vavr/compare/v0.10.2...v0.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-09 10:09:52 +01:00
dependabot-preview[bot] 6476774732 Bump commons-text from 1.8 to 1.9
Bumps commons-text from 1.8 to 1.9.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 07:23:52 +00:00
dependabot-preview[bot] fcc2177b65
Bump snakeyaml-api from 1.26.3 to 1.26.4 (#1452)
Bumps [snakeyaml-api](https://github.com/jenkinsci/snakeyaml-api-plugin) from 1.26.3 to 1.26.4.
- [Release notes](https://github.com/jenkinsci/snakeyaml-api-plugin/releases)
- [Commits](https://github.com/jenkinsci/snakeyaml-api-plugin/compare/snakeyaml-api-1.26.3...snakeyaml-api-1.26.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-18 09:03:47 +01:00
Tim Jacomb b3ced14f76
[maven-release-plugin] prepare for next development iteration 2020-08-03 17:08:50 +01:00
Tim Jacomb 1f8afb9fae
[maven-release-plugin] prepare release configuration-as-code-1.43 2020-08-03 17:08:36 +01:00
dependabot-preview[bot] fceebefe95
Bump jackson.version from 2.11.0 to 2.11.1 (#1430)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
2020-08-03 16:48:04 +01:00
Tim Jacomb e60562ed08
Fix validation message not showing on recent core (#1443) 2020-08-01 18:19:17 +01:00
Joseph Petersen d3ef839576
[maven-release-plugin] prepare for next development iteration 2020-07-21 14:51:18 +02:00
Joseph Petersen 4c1885c0f1
[maven-release-plugin] prepare release configuration-as-code-1.42 2020-07-21 14:51:00 +02:00
Joseph Petersen 3cddb7a8ff
change properties secrets env to `SECRETS_FILE` (#1435) 2020-07-19 09:20:54 +01:00
Joseph Petersen 410c3ae03e
SecretResolver support file and base64 variable expansion (#1408)
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
2020-07-19 04:37:52 +02:00
Mohamed El Mouctar Haidara 68f35e44ce
Escape newSource field when checking it's value via Ajax. Fix #1401 (#1402)
URLs with special characters need to be escaped when checking the Yaml they are pointing to.
Example of such URL are S3 presigned URL: `https://jenkins-jcas-185562170416.s3.amazonaws.com/jenkins-conf.yml?AWSAccessKeyId=AKE123456789&Signature=HelloWorldJ%2F5QKc6TlbeHw%3D&Expires=1590364679`.
2020-05-25 07:14:45 +01:00
Joseph Petersen fd11e16a6b
[maven-release-plugin] prepare for next development iteration 2020-05-24 23:49:51 +02:00
Joseph Petersen db1b8ba5ad
[maven-release-plugin] prepare release configuration-as-code-1.41 2020-05-24 23:49:40 +02:00
Joseph Petersen 739cc3025d
Close those file handles 😅 (#1398) 2020-05-24 23:16:48 +02:00
Joseph Petersen 28622da826
Allow configuring max aliases for a collection (#1375) 2020-05-24 22:29:23 +02:00
Joseph Petersen 1dba3f819d
Ignore unknown root elements starting with `x-` (#1379)
This allows you to write YAML anchors at the root leveling if the key starts with `x-`
2020-05-24 16:24:49 +02:00
Joseph Petersen f8c5f5af91
Correct false positive code coverage (#1399) 2020-05-22 14:48:35 +02:00
Joseph Petersen 0f26dd810b
sort Attributes and RootElementConfigurator according to Extension ordinal (#1394) 2020-05-19 18:46:08 +02:00
lublinum b6534daf38
HeteroDescribableConfigurator fix for interface as a target (#1387) 2020-05-17 20:42:47 +01:00
Tim Jacomb 0c73f4b349
[maven-release-plugin] prepare for next development iteration 2020-05-07 15:46:44 +01:00
Tim Jacomb 1e2c54f26d
[maven-release-plugin] prepare release configuration-as-code-1.40 2020-05-07 15:46:30 +01:00
Evaristo Gutiérrez f86959737a
[JENKINS-58093] - Support for LabelAtoms (#1368) 2020-05-07 16:11:22 +02:00
Warren Scott af2bdf4c7d
Add support for symbolic linked directories (#1372) 2020-05-06 11:49:38 +01:00
Tim Jacomb 29a2fe2a91
[maven-release-plugin] prepare for next development iteration 2020-04-15 16:14:21 +01:00
Tim Jacomb f524a0ec0a
[maven-release-plugin] prepare release configuration-as-code-1.39 2020-04-15 16:14:04 +01:00
Tim Jacomb 064d2f23a5
Fix compatibility with core 2.231 (#1359) 2020-04-15 15:58:54 +01:00
Joseph Petersen f8dedcb8e5
set category name to Configuration for Jenkins v2.226+ (#1358) 2020-04-15 09:14:31 +02:00
Chris Kilding 435694623a
Improve SecretSource Javadoc (#1302)
Co-authored-by: Joseph Petersen <josephp90@gmail.com>
2020-04-09 20:03:38 +02:00
Tim Jacomb cb0e12ed5b
[maven-release-plugin] prepare for next development iteration 2020-03-30 07:51:57 +01:00
Tim Jacomb 59c5ff7171
[maven-release-plugin] prepare release configuration-as-code-1.38 2020-03-30 07:51:43 +01:00
Tim Jacomb 751431a628
Fix classloading in snakeyaml (#1340) 2020-03-29 19:27:49 +01:00
Tim Jacomb 6314d5bae4
[maven-release-plugin] prepare for next development iteration 2020-03-29 14:47:54 +01:00