From da434dfca1b82f5de81e29438762370d652493b8 Mon Sep 17 00:00:00 2001 From: Tomas Bjerre Date: Wed, 16 Jun 2021 17:44:39 +0200 Subject: [PATCH] fix: disallow-doctype-decl (fixes SECURITY-2330) --- CHANGELOG.md | 1500 +---------------- pom.xml | 4 +- run.sh | 2 +- .../PostContentParameterResolver.java | 11 +- 4 files changed, 17 insertions(+), 1500 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d115cc3..3832583 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2945 +1,1461 @@ # Generic Webhook Plugin Changelog Changelog of Generic Webhook Plugin. +## Unreleased +### GitHub [#200](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/200) Add documentation to handle github issue_comment events + +**bdd test for pull-request and issue-comment #200** + + +[75de929d6ed34bf](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/75de929d6ed34bf) Tomas Bjerre *2021-02-20 07:38:10* + ## 1.72 (2020-11-06 17:35:28) - - - ### GitHub [#187](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/187) HMAC verify 500 error with Teams - - - - - **Supporting Base64 encoded HMAC header #187** - [17c8f3495ee0cd2](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/17c8f3495ee0cd2) Tomas Bjerre *2020-11-06 17:33:51* - - - - ### No issue - - **Documenting** - [99821d521ee09b8](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/99821d521ee09b8) Tomas Bjerre *2020-10-28 15:56:51* - - - ## 1.70 (2020-10-28 15:34:10) - - - ### GitHub [#186](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/186) Support X-Gitlab-Token - - - - - **Correcting X-Gitlab-Token #186** - [aeec75fecff3b14](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/aeec75fecff3b14) Tomas Bjerre *2020-10-28 15:33:17* - - - ## 1.69 (2020-10-28 14:35:20) - - - ### GitHub [#186](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/186) Support X-Gitlab-Token - - - - - **Adding support for X-Gitlab-Token #186** - [f067906be0a2223](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/f067906be0a2223) Tomas Bjerre *2020-10-28 14:34:06* - - - ## 1.68 (2020-09-28 17:13:49) - - - ### GitHub [#165](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/165) Masked Token Field *question* - - - - - **Adding token credential support #183 #165** - [e923e8d9f15bb8d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e923e8d9f15bb8d) Tomas Bjerre *2020-09-28 17:13:03* - - - - ### GitHub [#171](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/171) Problems when jenkins parses trigger (Too FAST!!!!) - - - - - **documenting batched builds #171** - [c0cfc1314988ab5](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/c0cfc1314988ab5) Tomas Bjerre *2020-08-05 04:57:42* - - - - ### GitHub [#183](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/183) Use credentials for tokens *enhancement* - - - - - **Adding token credential support #183 #165** - [e923e8d9f15bb8d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e923e8d9f15bb8d) Tomas Bjerre *2020-09-28 17:13:03* - - - - ### No issue - - **Build: stepping plugins** - [22bc077679fa927](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/22bc077679fa927) Tomas Bjerre *2020-09-28 15:52:55* - - - ## 1.67 (2020-03-13 15:50:31) - - - ### GitHub [#150](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/150) Fix minor typo - - - - - **Fix minor typo (#150)** - [513a54530219b67](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/513a54530219b67) Tristan McPherson *2019-12-06 18:49:39* - - - - ### GitHub [#154](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/154) How do i filter from a JSONArray *question* - - - - - **Ignore if list contains item with attribute value #154** - [39a37c5649790d7](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/39a37c5649790d7) Tomas Bjerre *2020-01-23 16:58:17* - - - - ### GitHub [#159](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/159) Add ability to over-ride a jobs quiet period - - - - - **Add ability to over-ride a jobs quiet period #159** - [2f3722f0a6c4c3d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/2f3722f0a6c4c3d) Thomas Winderweedle *2020-03-13 15:28:59* - - - - ### GitHub [#160](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/160) Issue 159, Allow user to override quiet period if they so choose. - - - - - **Refactoring after #160** - [21f3b54169998e7](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/21f3b54169998e7) Tomas Bjerre *2020-03-13 15:49:38* - - - - ### No issue - - **Stepping dependencies** - [3cb4d794819bae2](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/3cb4d794819bae2) Tomas Bjerre *2020-01-19 18:15:51* - - - ## 1.66 (2019-11-22 15:41:59) - - - ### GitHub [#146](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/146) Returns OK (200) even if unauthorized, throws an error, etc. *enhancement* - - - - - **Using HTTP error codes #146** - * New datastructure in JSON responses. - * Lowering log-level i Jenkins server log. - [898775bd4a05c3e](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/898775bd4a05c3e) Tomas Bjerre *2019-11-21 20:22:46* - - - ## 1.65 (2019-11-17 15:51:23) - - - ### GitHub [#145](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/145) Fix whitelist host validation - - - - - **More test #145** - [935fab2291e9663](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/935fab2291e9663) Tomas Bjerre *2019-11-17 13:22:16* - - - - ### No issue - - **Allow whitelist host to be empty, and rely on only HMAC** - [17cb38ac9c8b82b](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/17cb38ac9c8b82b) Tomas Bjerre *2019-11-17 15:50:28* - - - ## 1.64 (2019-11-15 18:55:35) - - - ### GitHub [#145](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/145) Fix whitelist host validation - - - - - **Refactoring after merging #145** - [04963fa91455837](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/04963fa91455837) Tomas Bjerre *2019-11-15 18:47:07* - **Fix whitelist host validation (#145)** - * Whitelist host validation - [0910146b517c742](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/0910146b517c742) AbsoluteOther *2019-11-15 15:46:53* - - - ## 1.63 (2019-11-10 18:56:01) - - - ### GitHub [#141](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/141) Make HMAC Authentication independent of requiring an IP. *enhancement* - - - - - **Refactoring and cleanup of #143 and solving #141** - [dcc87c074e5f212](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/dcc87c074e5f212) Tomas Bjerre *2019-11-10 18:53:58* - - - - ### GitHub [#143](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/143) Support CIDR Notation - - - - - **Refactoring and cleanup of #143 and solving #141** - [dcc87c074e5f212](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/dcc87c074e5f212) Tomas Bjerre *2019-11-10 18:53:58* - **Merge pull request #143 from AbsoluteOther/cidr** - * Support CIDR Notation - [c0903458a9e63c7](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/c0903458a9e63c7) Tomas Bjerre *2019-11-10 17:17:45* - - - - ### No issue - - **Cleanup.** - [7b6bdb7be8d66aa](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/7b6bdb7be8d66aa) Terrance Wood *2019-11-10 14:49:10* - **Cleanup.** - [922fb3a258583f8](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/922fb3a258583f8) Terrance Wood *2019-11-10 14:42:51* - **Removed problematic guava dependency.** - [57884ebd47638f8](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/57884ebd47638f8) Terrance Wood *2019-11-10 14:33:15* - **Fixed exact whitelist matches broken after introducing CIDR notation.** - [0ab3bc62d64f490](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/0ab3bc62d64f490) Terrance Wood *2019-11-10 09:10:49* - **Fixed field form validation for whitelist host.** - [48e3063c6cd04b4](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/48e3063c6cd04b4) Terrance Wood *2019-11-10 09:05:17* - **Added support for ipv4/ipv6 CIDR notation to WhitelistVerifer; includes methods for form field validation.** - [db13a2b33594b0a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/db13a2b33594b0a) Terrance Wood *2019-11-10 08:54:50* - **Added google guava and commons-ip-math packages; bumped java.level due to package requirements.** - [e6daab9b3ff40e7](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e6daab9b3ff40e7) Terrance Wood *2019-11-10 08:53:44* - **Added tests for CIDR notation.** - [daecd55fcced3a1](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/daecd55fcced3a1) Terrance Wood *2019-11-10 08:52:38* - - - ## 1.62 (2019-10-21 15:11:24) - - - ### No issue - - **Referencing Github as URL in pom** - [721da84ea72506e](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/721da84ea72506e) Tomas Bjerre *2019-10-21 15:09:07* - - - ## 1.61 (2019-10-21 04:05:46) - - - ### GitHub [#139](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/139) Whitelist hosts in global config *enhancement* - - - - - **Incoming HMAC header in error message #139** - [8f491b592bc0661](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8f491b592bc0661) Tomas Bjerre *2019-10-21 04:04:54* - - - ## 1.60 (2019-10-21 03:55:07) - - - ### GitHub [#139](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/139) Whitelist hosts in global config *enhancement* - - - - - **Clearer responses with whitelist #139** - [118efcd549630f1](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/118efcd549630f1) Tomas Bjerre *2019-10-21 03:53:30* - - - ## 1.59 (2019-10-20 20:28:31) - - - ### GitHub [#139](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/139) Whitelist hosts in global config *enhancement* - - - - - **Correcting whitelist with multiple whitelisted items #139** - [e77e0329c4793b1](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e77e0329c4793b1) Tomas Bjerre *2019-10-20 20:27:41* - - - ## 1.58 (2019-10-20 19:46:28) - - - ### GitHub [#130](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/130) Replay jenkins pipeline job using generic webhook trigger *question* - - - - - **Documenting replay pipeline #130** - [8f69e3b659a5ee3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8f69e3b659a5ee3) Tomas Bjerre *2019-08-27 17:07:58* - - - - ### GitHub [#132](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/132) Multiple filters on same variable ? *question* - - - - - **Test case with newlines #132** - [23bbefcc5b0dd39](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/23bbefcc5b0dd39) Tomas Bjerre *2019-09-02 15:36:33* - - - - ### GitHub [#135](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/135) Use HTTPS URLs in pom.xml - - - - - **Merge pull request #135 from daniel-beck-bot/https-urls-pom** - * Use HTTPS URLs in pom.xml - [b1676943ae0fab3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/b1676943ae0fab3) Tomas Bjerre *2019-09-24 12:22:37* - - - - ### GitHub [#136](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/136) Ability to add more optional filters to run the job based on OR operations of two AND operations. *question* - - - - - **Testing combination of variables #136** - [e02cb6ccfd88325](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e02cb6ccfd88325) Tomas Bjerre *2019-09-29 09:18:16* - - - - ### GitHub [#138](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/138) Taking care of some sca - - - - - **Merge pull request #138 from jenkinsci/feature/taking-care-of-some-sca** - * Taking care of some sca - [80a1176f0d639f0](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/80a1176f0d639f0) Tomas Bjerre *2019-10-14 16:40:30* - - - - ### GitHub [#139](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/139) Whitelist hosts in global config *enhancement* - - - - - **Clearer error from whitelist filter #139** - [7f585f8f230d238](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/7f585f8f230d238) Tomas Bjerre *2019-10-20 19:44:59* - **Merge pull request #140 from jenkinsci/feature/whitelist-hmac** - * Whitelist and HMAC #139 - [d2dd767341a4131](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d2dd767341a4131) Tomas Bjerre *2019-10-20 19:22:31* - **Whitelist and HMAC #139** - [d39f81c3ccefaa6](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d39f81c3ccefaa6) Tomas Bjerre *2019-10-20 19:20:49* - - - - ### GitHub [#140](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/140) Whitelist and HMAC #139 - - - - - **Merge pull request #140 from jenkinsci/feature/whitelist-hmac** - * Whitelist and HMAC #139 - [d2dd767341a4131](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d2dd767341a4131) Tomas Bjerre *2019-10-20 19:22:31* - - - - ### No issue - - **Taking care of some sca** - [a1066f64da803cc](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/a1066f64da803cc) Tomas Bjerre *2019-10-14 16:39:13* - **doc** - [722aaf227e3dd56](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/722aaf227e3dd56) Tomas Bjerre *2019-10-03 13:28:49* - **Create FUNDING.yml** - [952805a24a1e7b6](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/952805a24a1e7b6) Tomas Bjerre *2019-09-28 06:52:11* - **Use HTTPS URLs in pom.xml** - [352b0124fbca71f](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/352b0124fbca71f) Daniel Beck *2019-09-24 10:36:48* - - - ## 1.57 (2019-08-20 18:10:41) - - - ### No issue - - **Updating description** - [904c76d1b9319c7](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/904c76d1b9319c7) Tomas Bjerre *2019-08-20 18:09:11* - **doc** - [f84463c9065eaa0](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/f84463c9065eaa0) Tomas Bjerre *2019-08-19 13:30:25* - - - ## 1.56 (2019-08-01 15:37:12) - - - ### GitHub [#127](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/127) NullPointerException with Webhook from Github (version 1.54) *bug* - - - - - **Avoiding NPE #127** - [7a6654973359749](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/7a6654973359749) Tomas Bjerre *2019-08-01 15:36:14* - - - ## 1.55 (2019-07-31 15:01:59) - - - ### GitHub [#122](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/122) RegExFilterText Not Evaluating Variable? *question* - - - - - **Testing exact matching of single variable #122** - [13bce9c546f3c92](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/13bce9c546f3c92) Tomas Bjerre *2019-06-19 19:03:38* - - - - ### GitHub [#123](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/123) Webhook Issue with regexpfiltertext for multiple parameters - - - - - **More test #123** - [f08ea0c26128b14](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/f08ea0c26128b14) Tomas Bjerre *2019-06-28 12:39:49* - - - - ### GitHub [#125](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/125) [GenericVariables] Variable not created in case of manual execution - - - - - **Documenting default values #125** - [bd73fe693fe549f](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/bd73fe693fe549f) Tomas Bjerre *2019-07-02 14:57:39* - - - - ### GitHub [#127](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/127) NullPointerException with Webhook from Github (version 1.54) *bug* - - - - - **Avoid IndexOutOfBounds when no stacktrace is in thrown exception #127** - [68aeade50f90079](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/68aeade50f90079) Tomas Bjerre *2019-07-31 15:00:25* - - - ## 1.54 (2019-05-06 13:29:39) - - - ### GitHub [#115](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/115) Blank parameter trigger the job even if you specified a filter - - - - - **Avoid triggering when text or regexp is empty #115** - * This was originally implemented to avoid checking the regexp when no filtering was configured. - * Changing to triggering when text **and** regexp is empty. - [9c78d75222ca3fe](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/9c78d75222ca3fe) Tomas Bjerre *2019-05-06 13:26:40* - - - ## 1.53 (2019-05-02 15:36:05) - - - ### GitHub [#107](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/107) How to use withCredentials in declarative Jenkinsfile? *question* - - - - - **Doc #107** - [adda82b3c27d146](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/adda82b3c27d146) Tomas Bjerre *2019-03-27 17:21:39* - - - - ### GitHub [#35](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/35) Add defaultValue attribute to GenericVariables *enhancement* - - - - - **Allowing empty default values #35** - * This may break the API for some users. But the intention is that it will make pipelines easier to write, without having to check for null. - [2bf0a3f15ec2af6](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/2bf0a3f15ec2af6) Tomas Bjerre *2019-05-02 15:35:03* - - - - ### No issue - - **Update README.md** - [c33a171c0b7960f](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/c33a171c0b7960f) Tomas Bjerre *2019-04-09 10:36:43* - **Doc** - [cb04c670d9177f5](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/cb04c670d9177f5) Tomas Bjerre *2019-02-16 18:17:44* - **Doc** - [82d483a2f33fa7b](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/82d483a2f33fa7b) Tomas Bjerre *2019-01-23 20:17:15* - - - ## 1.52 (2019-01-02 09:29:06) - - - ### GitHub [#97](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/97) Avoid calling getLogFile *bug* - - - - - **Avoid calling unsupported API getLogFile #97** - [febc1ba1afa9ae0](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/febc1ba1afa9ae0) Tomas Bjerre *2019-01-02 09:28:04* - - - - ### No issue - - **Fixing test case** - [3d59136e2515a0a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/3d59136e2515a0a) Tomas Bjerre *2018-12-12 18:56:45* - - - ## 1.51 (2018-12-12 16:45:53) - - - ### GitHub [#91](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/91) Ability to include the result from value filter *enhancement* - - - - - **Test case for changed files in folders #91** - [731e44cc8b1fea7](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/731e44cc8b1fea7) Tomas Bjerre *2018-11-27 20:46:42* - - - - ### No issue - - **Contributing result of JSONPath $ exactly as received** - [94a88fa42fe6ad3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/94a88fa42fe6ad3) Tomas Bjerre *2018-12-12 16:44:19* - **Example of GitLab triggering on comment** - [3bdf8281aff00f3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/3bdf8281aff00f3) Tomas Bjerre *2018-12-01 10:16:58* - - - ## 1.50 (2018-11-27 07:27:44) - - - ### No issue - - **Linking to BDD tests from GUI** - [fc99cc4d1335531](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/fc99cc4d1335531) Tomas Bjerre *2018-11-27 07:26:46* - - - ## 1.49 (2018-11-26 20:22:27) - - - ### GitHub [#92](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/92) Specify expected syntax in all regex fields. *enhancement* - - - - - **Tweaking docs #92** - [4f4d3c00403eff2](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/4f4d3c00403eff2) Tomas Bjerre *2018-11-26 20:01:49* - - - - ### No issue - - **Adding example of ignoring push event with zero commits** - [8ba5bcd28356fba](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8ba5bcd28356fba) Tomas Bjerre *2018-11-16 19:51:45* - **Example of ignoring removal or creation of branches** - [108723a32c7c5ec](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/108723a32c7c5ec) Tomas Bjerre *2018-11-16 19:28:24* - **Documenting trigger on changed folder GitLab** - [a4713a8b6532496](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/a4713a8b6532496) Tomas Bjerre *2018-11-15 18:13:36* - - - ## 1.48 (2018-11-08 17:47:29) - - - ### GitHub [#88](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/88) Use the job's configured quiet period - - - - - **Refactoring after merge of #88** - [62b53f7f2f6f7e1](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/62b53f7f2f6f7e1) Tomas Bjerre *2018-11-08 17:46:31* - **Merge pull request #88 from robert-shade/fix_quiet** - * Use the job's configured quiet period - [a680f84720a73b5](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/a680f84720a73b5) Tomas Bjerre *2018-11-08 17:39:26* - - - - ### No issue - - **Use the job's configured quiet period** - [08e27215e450252](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/08e27215e450252) Robert Shade *2018-11-08 16:36:28* - - - ## 1.47 (2018-11-07 13:58:28) - - - ### GitHub [#47](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/47) Declarative Pipeline support *enhancement* - - - - - **Printing information when no jobs found #47 #84 #81** - [800def977df4232](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/800def977df4232) Tomas Bjerre *2018-11-07 13:56:56* - - - - ### GitHub [#81](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/81) Cannot find the token *bug* - - - - - **Printing information when no jobs found #47 #84 #81** - [800def977df4232](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/800def977df4232) Tomas Bjerre *2018-11-07 13:56:56* - - - - ### GitHub [#84](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/84) The plugin stopped accepting unlogged requests after update - - - - - **Printing information when no jobs found #47 #84 #81** - [800def977df4232](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/800def977df4232) Tomas Bjerre *2018-11-07 13:56:56* - - - - ### GitHub [#85](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/85) cannot filter based on changed_files and ref *question* - - - - - **Testing change of specific file in branch #85** - [d40b2be422907bc](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d40b2be422907bc) Tomas Bjerre *2018-10-16 14:39:55* - - - ## 1.46 (2018-10-04 17:23:18) - - - ### GitHub [#82](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/82) How not to send data in response *enhancement* - - - - - **Adding option to respond silently #82** - [6e30c524269d25f](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/6e30c524269d25f) Tomas Bjerre *2018-10-04 17:21:32* - - - - ### No issue - - **Automatically stepping dependencies** - [001a783571102ed](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/001a783571102ed) Tomas Bjerre *2018-09-23 19:11:15* - - - ## 1.45 (2018-09-11 18:35:23) - - - ### GitHub [#78](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/78) Working Webhook is now returning "Did not find any jobs to trigger" *question* - - - - - **Making response clearer when no jobs found #78** - [3d1938f91ad1fa0](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/3d1938f91ad1fa0) Tomas Bjerre *2018-09-11 18:34:11* - - - - ### No issue - - **Adding multibranch example with credentials** - [a3b0024b222eb9d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/a3b0024b222eb9d) Tomas Bjerre *2018-09-07 09:48:43* - - - ## 1.44 (2018-09-06 16:48:37) - - - ### GitHub [#77](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/77) Auth/security: can the GWT end point be reached without authenticating? *enhancement* *question* - - - - - **Only impersonating if token supplied #77** - [fe9232eb83b1895](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/fe9232eb83b1895) Tomas Bjerre *2018-09-06 16:47:52* - - - - ### No issue - - **Updating fmt-maven-plugin** - * Adding another simpler test case on request parameters - * Testing github tag push - * Adding more testcases on Bitbucket Server and Cloud - [df9e0129c081fd0](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/df9e0129c081fd0) Tomas Bjerre *2018-09-05 06:28:39* - - - ## 1.43 (2018-08-25 14:03:35) - - - ### GitHub [#70](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/70) How to specify the TOKEN using Job DSL? *question* - - - - - **Documenting token in DSL #70** - [d88bd14417d6922](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d88bd14417d6922) Tomas Bjerre *2018-08-24 09:14:45* - - - - ### GitHub [#72](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/72) Fixed an error if a resolved variable contains unexpected characters - - - - - **Merge pull request #72 from vtsykun/fix/regex-exception** - * Fixed an error if a resolved variable contains unexpected characters - [d5f1e4b456b2630](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d5f1e4b456b2630) Tomas Bjerre *2018-08-25 14:02:09* - - - - ### No issue - - **Illegal group reference error if a resolved variable contains unexpected characters** - [76092cf10993f0f](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/76092cf10993f0f) Vladimir Tsykun *2018-08-25 13:24:12* - - - ## 1.42 (2018-08-21 05:07:14) - - - ### GitHub [#69](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/69) Update JSONPath 2.2.0 -> 2.3.0 - - - - - **Merge pull request #69 from vtsykun/master** - * Update JSONPath 2.2.0 -> 2.3.0 - [41148f0e15ca0a3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/41148f0e15ca0a3) Tomas Bjerre *2018-08-21 04:58:50* - - - - ### No issue - - **Update JSONPath dependency** - [d6e1eaa7fc7df99](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d6e1eaa7fc7df99) Volodymyr Tsykun *2018-08-20 16:28:19* - - - ## 1.41 (2018-08-09 09:04:59) - - - ### GitHub [#63](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/63) Specifying the authentication token in a scripted pipeline *question* - - - - - **Token support without Build Token Root Plugin #63** - * This enables token support when using multibranch pipelines. - * Also code cleanup. - [0fd195da51d7832](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/0fd195da51d7832) Tomas Bjerre *2018-08-09 09:04:33* - - - - ### GitHub [#65](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/65) Multibranch pipeline trigger specific branch/pr job possibility *question* - - - - - **Updating doc #65** - [d1f05cfd5300b57](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d1f05cfd5300b57) Tomas Bjerre *2018-08-07 12:16:10* - - - ## 1.40 (2018-07-10 12:21:16) - - - ### GitHub [#62](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/62) NullPointerException when trying to trigger job - - - - - **Avoiding NPE for parameters without value #62** - [3dcdd664bbbb74a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/3dcdd664bbbb74a) Tomas Bjerre *2018-07-10 12:20:20* - - - - ### No issue - - **Adding a jenkinsfile with defaults** - [6e47573b2926fbd](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/6e47573b2926fbd) Tomas Bjerre *2018-07-09 20:48:34* - - - ## 1.39 (2018-06-25 18:17:02) - - - ### No issue - - **Also resolving variables with curly brackets** - [603642cf5d3af95](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/603642cf5d3af95) Tomas Bjerre *2018-06-25 18:15:43* - - - ## 1.38 (2018-06-24 16:51:38) - - - ### GitHub [#61](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/61) Credentials Parameter converted to String rather than Credentials *enhancement* - - - - - **Supporting Credentials Parameter #61** - [7f4ca9deff70a94](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/7f4ca9deff70a94) Tomas Bjerre *2018-06-24 16:49:20* - - - - ### No issue - - **Doc** - [b7e8b47e1d7b4cc](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/b7e8b47e1d7b4cc) Tomas Bjerre *2018-06-15 14:49:28* - - - ## 1.37 (2018-06-14 15:19:40) - - - ### GitHub [#60](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/60) Value from token Param is not evaluated *bug* - - - - - **Remvoing searchUrl and searchName from response #60** - [76bb41ae584ca78](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/76bb41ae584ca78) Tomas Bjerre *2018-06-14 15:18:49* - - - ## 1.36 (2018-05-18 18:02:15) - - - ### No issue - - **Doc** - [8c5910820cbd9a8](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8c5910820cbd9a8) Tomas Bjerre *2018-05-18 18:01:27* - - - ## 1.35 (2018-05-09 10:04:15) - - - ### GitHub [#58](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/58) Boolean parameter becomes string *bug* - - - - - **Respect boolean parameter datatype #58** - [5b36c5a8ca9b832](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/5b36c5a8ca9b832) Tomas Bjerre *2018-05-08 16:08:55* - - - ## 1.34 (2018-05-05 21:21:30) - - - ### GitHub [#45](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/45) "This project is parameterized" parameters are being ignored if triggered *bug* - - - - - **Avoiding warning about skipped parameters #45** - * Got a lot of: WARNING: Skipped parameter 'X'... - * Changed code to only add parameters that does exist. - [759fc7070ce7942](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/759fc7070ce7942) Tomas Bjerre *2018-05-05 21:19:45* - - - - ### No issue - - **Adding declarative example** - [23e3e03ab5e815b](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/23e3e03ab5e815b) Tomas Bjerre *2018-05-05 20:50:46* - - - ## 1.33 (2018-05-05 19:13:39) - - - ### GitHub [#47](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/47) Declarative Pipeline support *enhancement* - - - - - **Declarative Pipeline support #47** - [9d29aa90ffc2996](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/9d29aa90ffc2996) Tomas Bjerre *2018-05-05 19:11:38* - - - ## 1.32 (2018-04-18 15:31:31) - - - ### GitHub [#57](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/57) When building using a token, the cause parameter has no effect *enhancement* - - - - - **Custom cause #57** - [1f0006795ab6941](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/1f0006795ab6941) Tomas Bjerre *2018-04-18 15:30:40* - - - ## 1.31 (2018-04-07 08:59:46) - - - ### GitHub [#46](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/46) improve header variable name description - - - - - **Merge pull request #46 from jekader/master** - * improve header variable name description - [0b864e180d271a9](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/0b864e180d271a9) Tomas Bjerre *2018-03-08 17:58:07* - - - - ### GitHub [#55](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/55) When token used, only trigger if token supplied *enhancement* *opinions-needed* - - - - - **Only trigger if token matches #55** - [23afc4b6ba81617](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/23afc4b6ba81617) Tomas Bjerre *2018-04-07 08:51:48* - - - - ### No issue - - **BDD** - [fc5306ce0fe9a71](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/fc5306ce0fe9a71) Tomas Bjerre *2018-04-03 18:15:38* - **Issue template** - [f6be97728349dfa](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/f6be97728349dfa) Tomas Bjerre *2018-03-27 20:15:32* - **improve header variable name description** - * Version 1.28 introduced RFC 2616 compatibility making all headers lowercase. - * This patch adds a note to make this fact more obvious. - * Example situation where this matters: a CI systems that checks for X-GitHub-Event header to make further decisions. Since 1.28 the resulting variable changes from X_GitHub_Event to x_github_event effectively breaking this process. - [0fd81969349a1d0](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/0fd81969349a1d0) jekader *2018-03-08 17:28:09* - - - ## 1.29 (2018-03-06 20:26:35) - - - ### GitHub [#45](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/45) "This project is parameterized" parameters are being ignored if triggered *bug* - - - - - **Keeping default values in parameterized jobs #45** - [602ea1fd613abd2](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/602ea1fd613abd2) Tomas Bjerre *2018-03-06 20:25:41* - - - ## 1.28 (2018-02-24 13:41:42) - - - ### GitHub [#43](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/43) Add suport for Authorization Bearer - - - - - **Authorization Bearer #43** - * Also transforming headers to lower case to make them case insensitive (RFC 2616 and 7230). - [c2620541b8c48d3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/c2620541b8c48d3) Tomas Bjerre *2018-02-24 13:39:01* - - - ## 1.27 (2018-02-22 17:53:45) - - - ### GitHub [#41](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/41) Helpful node about underscores for HTTP Header vars - - - - - **Merge pull request #41 from gmanfunky/underscores** - * Helpful node about underscores for HTTP Header vars - [64b76446bca982a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/64b76446bca982a) Tomas Bjerre *2018-02-17 06:24:32* - - - - ### No issue - - **Avoid resolve variables in random order** - [d602b6bd7a77d87](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d602b6bd7a77d87) Tomas Bjerre *2018-02-22 17:52:47* - **Doc** - [911aca914fcfb79](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/911aca914fcfb79) Tomas Bjerre *2018-02-22 17:05:26* - **Helpful node about underscores for HTTP Header vars** - [52b9b5258c9a2e3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/52b9b5258c9a2e3) Gmanfunky *2018-02-17 02:22:25* - - - ## 1.26 (2018-02-07 15:23:32) - - - ### GitHub [#37](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/37) NullPointerException at GenericTriggerResults (version 1.25) *bug* - - - - - **Avoiding NPE #37** - [02c4d68a5871f2d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/02c4d68a5871f2d) Tomas Bjerre *2018-02-07 15:21:47* - - - ## 1.25 (2018-02-06 19:45:30) - - - ### GitHub [#35](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/35) Add defaultValue attribute to GenericVariables *enhancement* - - - - - **Adding defaultValue #35** - * Also making regexpFilter optional. - * Making expressionType optional and defaulting to JSONPath. - * Found stacktrace in log when JSONPath does not match, avoiding that now. - [429a3e253966b59](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/429a3e253966b59) Tomas Bjerre *2018-02-06 19:44:40* - - - - ### No issue - - **Doc** - [a87bb57241904a5](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/a87bb57241904a5) Tomas Bjerre *2018-02-06 18:35:46* - - - ## 1.24 (2018-02-05 20:06:59) - - - ### GitHub [#32](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/32) Do not show received payload in Jenkins job *enhancement* - - - - - **Optional logging in job log #32 #33** - * Also: - * More details in trigger response. Including queue ID. - * Avoiding exposure of entire exception stacktrace in response on crash. - [8580bf8aaf52b2d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8580bf8aaf52b2d) Tomas Bjerre *2018-02-05 19:52:22* - - - - ### GitHub [#33](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/33) Receive additional info after job trigger *enhancement* - - - - - **Optional logging in job log #32 #33** - * Also: - * More details in trigger response. Including queue ID. - * Avoiding exposure of entire exception stacktrace in response on crash. - [8580bf8aaf52b2d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8580bf8aaf52b2d) Tomas Bjerre *2018-02-05 19:52:22* - - - - ### No issue - - **Cleaning pom** - [4ac53820dbca918](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/4ac53820dbca918) Tomas Bjerre *2018-02-05 16:59:30* - - - ## 1.23 (2018-01-27 13:10:21) - - - ### GitHub [#31](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/31) Wanna get all request body that payload body including null value - - - - - **Including null attributes #31** - [632b93761a17e48](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/632b93761a17e48) Tomas Bjerre *2018-01-27 13:09:28* - - - - ### No issue - - **Removing newlines from assert in test** - [92ced8a3dc25a34](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/92ced8a3dc25a34) Tomas Bjerre *2018-01-03 12:33:36* - - - ## 1.22 (2018-01-03 12:22:47) - - - ### GitHub [#30](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/30) Request: Supporting of JSON header without flattening - - - - - **Contributing the actual JSON/XML #30** - * Will now contribute the actual JSON, or XML, in the configured variable, if expression does not resolve to a string. So that it is possible to contribute the, or a part of, the JSON/XML that was read. - * Correctly readning streams with UTF-8, not default encodings. - * Adding Violations Maven Plugin to monitor Findbugs findings. - [4a60c3cd9350e49](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/4a60c3cd9350e49) Tomas Bjerre *2018-01-03 12:18:32* - - - ## 1.21 (2017-12-20 18:52:26) - - - ### GitHub [#26](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/26) JSONPath processing seems to not handle "," operator - - - - - **Test case with comma operator #26** - [ad58a6aadbdaf32](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/ad58a6aadbdaf32) Tomas Bjerre *2017-11-15 18:37:55* - - - - ### GitHub [#29](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/29) Unable to resolve variable - - - - - **More information in log if variable cannot be resolved #29** - [19443b4e072acc4](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/19443b4e072acc4) Tomas Bjerre *2017-12-20 18:51:29* - - - - ### No issue - - **Doc** - [98e25326d3f645b](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/98e25326d3f645b) Tomas Bjerre *2017-09-20 19:27:55* - - - ## 1.20 (2017-09-20 19:25:18) - - - ### GitHub [#25](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/25) XmlFlattener doesn't work with Attribute nodes *bug* - - - - - **Enabling attributes with XPath #25** - [53f924177b85314](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/53f924177b85314) Tomas Bjerre *2017-09-20 19:21:03* - - - - ### No issue - - **doc** - [34da1337c863b15](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/34da1337c863b15) Tomas Bjerre *2017-08-23 16:16:10* - **Correcting how first value is determined** - [9c1d3999b933e12](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/9c1d3999b933e12) Tomas Bjerre *2017-08-17 16:08:10* - - - ## 1.19 (2017-08-16 14:41:37) - - - ### GitHub [#20](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/20) Header Variables cannot be reused through several webhook triggered jobs - - - - - **Merge pull request #21 from juanpablo-santos/master** - * fixes #20: Header Variables cannot be reused through several webhook triggered jobs - [66ec0ca839e5eea](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/66ec0ca839e5eea) Tomas Bjerre *2017-08-16 14:35:14* - **fix #20: Header Variables cannot be reused through several webhook triggered jobs** - [5c74d73d14093a5](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/5c74d73d14093a5) Juan Pablo Santos Rodríguez *2017-08-16 10:53:02* - - - - ### GitHub [#21](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/21) fixes #20: Header Variables cannot be reused through several webhook triggered jobs - - - - - **Merge pull request #21 from juanpablo-santos/master** - * fixes #20: Header Variables cannot be reused through several webhook triggered jobs - [66ec0ca839e5eea](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/66ec0ca839e5eea) Tomas Bjerre *2017-08-16 14:35:14* - - - - ### No issue - - **doc** - [a54279dd885a976](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/a54279dd885a976) Tomas Bjerre *2017-08-16 14:39:30* - **fix failing tests, should ran them before; seems they were checking for incorrect number of parameters, regardless(?) the previous Enumeration -> List change** - [10d8f40afee5693](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/10d8f40afee5693) Juan Pablo Santos Rodríguez *2017-08-16 11:17:34* - **Merge branch 'master' of github.com:jenkinsci/generic-webhook-trigger-plugin** - [e63842a11e3f22a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e63842a11e3f22a) Juan Pablo Santos Rodríguez *2017-08-16 09:39:08* - **Refactoring** - [05ac39f8cb39e8d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/05ac39f8cb39e8d) Tomas Bjerre *2017-08-13 06:35:14* - **doc** - [dba825f8f189251](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/dba825f8f189251) Tomas Bjerre *2017-08-11 08:54:20* - **Adding sandbox jenkinsfile** - [7468387fbc3791e](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/7468387fbc3791e) Tomas Bjerre *2017-08-10 18:52:28* - **doc** - [934742625d102f2](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/934742625d102f2) Tomas Bjerre *2017-07-17 16:08:00* - - - ## 1.18 (2017-08-10 18:13:06) - - - ### GitHub [#18](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/18) How to access request header variables? - - - - - **Correcting name/descriptions #18** - [2643526ce361183](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/2643526ce361183) Tomas Bjerre *2017-08-10 18:12:12* - - - - ### No issue - - **doc** - [8eacab3e02d3680](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8eacab3e02d3680) Tomas Bjerre *2017-07-28 20:27:43* - - - ## 1.17 (2017-07-26 14:58:32) - - - ### No issue - - **Helpful response if no jobs found** - [ff3514909f3363d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/ff3514909f3363d) Tomas Bjerre *2017-07-26 14:57:36* - **doc** - [b0fad3a4ff5f110](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/b0fad3a4ff5f110) Tomas Bjerre *2017-07-26 04:15:15* - - - ## 1.16 (2017-07-25 18:10:46) - - - ### GitHub [#13](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/13) Generic Webhook hook stops working on v1.15 *bug* - - - - - **Simplifying job finding algorithm #13** - [90984b4b8d06cdd](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/90984b4b8d06cdd) Tomas Bjerre *2017-07-25 18:08:42* - - - - ### No issue - - **Removing trigger config from invocation response** - [c665aefd504ca82](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/c665aefd504ca82) Tomas Bjerre *2017-07-25 17:11:44* - **doc** - [fec2f6e88d5e4f4](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/fec2f6e88d5e4f4) Tomas Bjerre *2017-07-21 12:42:34* - - - ## 1.15 (2017-07-21 12:38:27) - - - ### GitHub [#12](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/12) Add impersonalization to execute Webhook as anonymous user using token - - - - - **Merge pull request #12 from pjuarezd/feature/auth_token_impersonalization** - * Add impersonalization to execute Webhook as anonymous user using token - [e72b21964df231a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e72b21964df231a) Tomas Bjerre *2017-07-21 12:20:58* - - - - ### No issue - - **doc** - [8ac068c484022d7](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8ac068c484022d7) Tomas Bjerre *2017-07-21 12:33:57* - **Add impersonalization to execute Webhook as anonymous user using only Authentication Token** - [8a98d57c06952fa](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8a98d57c06952fa) Pedro Juarez *2017-07-21 02:34:50* - **doc** - [40eb716a1bbe7ac](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/40eb716a1bbe7ac) Tomas Bjerre *2017-07-20 18:58:21* - - - ## 1.14 (2017-07-17 16:06:52) - - - ### GitHub [#10](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/10) replace "-" characters on header variable names - - - - - **Merge pull request #11 from juanpablo-santos/underscore_headers_names** - * fix #10: replace "-" characters on header variable names - [7cb847ee9034c90](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/7cb847ee9034c90) Tomas Bjerre *2017-07-17 15:23:02* - **#10: replace "-" characters on header variable names** - [13802b842bc50d2](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/13802b842bc50d2) Juan Pablo Santos Rodríguez *2017-07-17 11:42:55* - - - - ### GitHub [#11](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/11) fix #10: replace "-" characters on header variable names - - - - - **Merge pull request #11 from juanpablo-santos/underscore_headers_names** - * fix #10: replace "-" characters on header variable names - [7cb847ee9034c90](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/7cb847ee9034c90) Tomas Bjerre *2017-07-17 15:23:02* - **follow-up on #11, suggested description no longer makes sense here, as it applies to all kind of variables** - [c6ffa25abb7236a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/c6ffa25abb7236a) Juan Pablo Santos Rodríguez *2017-07-17 14:32:34* - **follow -up on #11, transform noWhitespace(String) from FlattenerUtils into toVariableName, and use it also on headers and request params** - [895979680dd8c03](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/895979680dd8c03) Juan Pablo Santos Rodríguez *2017-07-17 14:31:39* - - - - ### No issue - - **Avoiding NPE after upgrade** - * As a result of headers and request parameters not being read from existing config. - [ad2317275276a5b](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/ad2317275276a5b) Tomas Bjerre *2017-07-17 16:02:38* - **small typo: flatternJson -> flattenJson** - [72169e5af5d0451](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/72169e5af5d0451) Juan Pablo Santos Rodríguez *2017-07-17 14:33:19* - **Cleaning** - [bedc35d535ae00f](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/bedc35d535ae00f) Tomas Bjerre *2017-07-16 05:09:54* - **Refactoring** - [bbd41960d1fc017](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/bbd41960d1fc017) Tomas Bjerre *2017-07-14 05:52:08* - - - ## 1.13 (2017-07-13 19:46:13) - - - ### No issue - - **Both exact and "_0" if only one value** - * If request, or header, expression matches only one value then both an exact variable and a variable with added _0 is now contributed. Users who expect only one value will probably expect the exact variable name. Users who expects several will probably want to always use the variableName_X varaibles. - [4cc63cc9fc5be42](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/4cc63cc9fc5be42) Tomas Bjerre *2017-07-13 19:45:19* - **doc** - [3d6e791dfedabfe](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/3d6e791dfedabfe) Tomas Bjerre *2017-07-13 18:15:51* - - - ## 1.12 (2017-07-13 18:09:55) - - - ### GitHub [#9](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/9) Enhancement: allow request headers to be set as variables too *enhancement* - - - - - **Contribute headers to build #9** - [9ad43d864581af5](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/9ad43d864581af5) Tomas Bjerre *2017-07-13 18:08:52* - - - - ### No issue - - **Refactoring** - * Also replacing space in keys with underscore (_). - [23077594abea6a5](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/23077594abea6a5) Tomas Bjerre *2017-07-13 15:23:12* - **doc** - [8de2365d832e07a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/8de2365d832e07a) Tomas Bjerre *2017-07-12 18:41:20* - - - ## 1.11 (2017-07-12 18:30:35) - - - ### GitHub [#7](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/7) Contribute all leafs in node, if node is selected by expression *enhancement* - - - - - **Merge pull request #8 from juanpablo-santos/expanded_variables** - * fixes #7: Contribute all leafs in node, if node is selected by expression - [85589239d40fbb9](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/85589239d40fbb9) Tomas Bjerre *2017-07-12 17:38:46* - **fixes #7: JSONPath params are always converted to String** - [e1239f8480fdcdf](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e1239f8480fdcdf) Juan Pablo Santos Rodríguez *2017-07-12 07:08:10* - - - - ### GitHub [#8](https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/8) fixes #7: Contribute all leafs in node, if node is selected by expression - - - - - **Merge pull request #8 from juanpablo-santos/expanded_variables** - * fixes #7: Contribute all leafs in node, if node is selected by expression - [85589239d40fbb9](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/85589239d40fbb9) Tomas Bjerre *2017-07-12 17:38:46* - - - - ### No issue - - **Doc** - [5a5b8e86caec71e](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/5a5b8e86caec71e) Tomas Bjerre *2017-07-12 18:28:27* - **doc** - [81361f4bdd73d7b](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/81361f4bdd73d7b) Tomas Bjerre *2017-05-09 19:30:40* - - - ## 1.10 (2017-05-09 19:28:31) - - - ### GitHub [#6](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/6) After auth still can't trigger things *bug* - - - - - **Avoid showing trigger for unsupported projects #6** - [fd6d4e647ec939d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/fd6d4e647ec939d) Tomas Bjerre *2017-05-09 19:26:31* - - - - ### No issue - - **doc** - [cbf75eb9d75192a](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/cbf75eb9d75192a) Tomas Bjerre *2017-05-03 19:31:19* - - - ## 1.9 (2017-05-02 18:55:22) - - - ### GitHub [#4](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/4) Did not find any jobs to trigger! - - - - - **Adding troubleshooting section to readme #4** - [d1288153a6ae2ff](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/d1288153a6ae2ff) Tomas Bjerre *2017-04-29 06:47:22* - - - - ### GitHub [#5](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/5) Doesn't work with Pipelines - - - - - **Enabling pipeline multibranch to be triggered #5** - [21af9ce2e996f49](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/21af9ce2e996f49) Tomas Bjerre *2017-05-02 18:54:05* - - - ## 1.8 (2017-04-10 17:29:54) - - - ### No issue - - **Only printing variables/post content once in the job log** - [00bf4c75de19007](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/00bf4c75de19007) Tomas Bjerre *2017-04-10 17:28:55* - - - ## 1.7 (2017-04-07 18:31:37) - - - ### No issue - - **Correcting invoke URL in docs** - [417e712357349ff](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/417e712357349ff) Tomas Bjerre *2017-04-07 18:27:58* - **doc** - [7ca0ca4e98a6747](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/7ca0ca4e98a6747) Tomas Bjerre *2017-04-05 16:59:50* - - - ## 1.6 (2017-03-29 19:58:41) - - - ### GitHub [#3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/3) Lacks job selection *enhancement* - - - - - **White list request parameters #3** - * To make it more secure. Also adding regexp filter for them. - [0c4b799015166cc](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/0c4b799015166cc) Tomas Bjerre *2017-03-29 19:57:13* - - - - ### No issue - - **doc** - [25d6448d957ca4f](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/25d6448d957ca4f) Tomas Bjerre *2017-03-28 18:32:38* - - - ## 1.5 (2017-03-28 18:08:31) - - - ### GitHub [#3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/3) Lacks job selection *enhancement* - - - - - **Include request parameters #3** - [3b1626c816d563e](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/3b1626c816d563e) Tomas Bjerre *2017-03-28 18:07:35* - - - - ### No issue - - **doc** - [dad0d8f3a2d25a3](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/dad0d8f3a2d25a3) Tomas Bjerre *2017-03-14 18:14:16* - - - ## 1.4 (2017-03-14 18:11:55) - - - ### No issue - - **Correcting wiki link** - [37694044b53d9f9](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/37694044b53d9f9) Tomas Bjerre *2017-03-14 18:10:59* - - - ## 1.3 (2017-03-13 07:20:48) - - - ### GitHub [#2](https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/2) Conditional trigger *enhancement* - - - - - **Adding filtering option #2** - [e6111511bfe802d](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e6111511bfe802d) Tomas Bjerre *2017-03-13 07:19:49* - - - - ### No issue - - **doc** - [b80be7df1e2eb66](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/b80be7df1e2eb66) Tomas Bjerre *2017-03-12 22:07:15* - - - ## 1.2 (2017-03-12 21:47:37) - - - ### No issue - - **Avoiding duplicated logging info** - [e9db0102aeb4563](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/e9db0102aeb4563) Tomas Bjerre *2017-03-12 21:46:38* - **doc** - [6b2c43524f6f5b6](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/6b2c43524f6f5b6) Tomas Bjerre *2017-03-12 20:21:51* - - - ## 1.1 (2017-03-12 20:18:07) - - - ### No issue - - **Defaulting expression type to JSONPath** - [80bc126c7229ac9](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/80bc126c7229ac9) Tomas Bjerre *2017-03-12 20:17:13* - **doc** - [ec4a38b96200c76](https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/ec4a38b96200c76) Tomas Bjerre *2017-03-09 04:42:06* - - diff --git a/pom.xml b/pom.xml index 7407ba9..6ca55df 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,8 @@ 2.7.4 false true - 1.42 - 1.67 + 1.43 + 1.77 generic-webhook-trigger diff --git a/run.sh b/run.sh index 8ae7a01..3b40f23 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/bin/sh mvn versions:update-properties -mvn hpi:run -Djava.util.logging.config.file=logging.properties -Djenkins.version=2.263.2 -Denforcer.skip=true +mvn hpi:run -Djava.util.logging.config.file=logging.properties -Djenkins.version=2.277.4 -Denforcer.skip=true diff --git a/src/main/java/org/jenkinsci/plugins/gwt/resolvers/PostContentParameterResolver.java b/src/main/java/org/jenkinsci/plugins/gwt/resolvers/PostContentParameterResolver.java index a225ab4..8ea5123 100644 --- a/src/main/java/org/jenkinsci/plugins/gwt/resolvers/PostContentParameterResolver.java +++ b/src/main/java/org/jenkinsci/plugins/gwt/resolvers/PostContentParameterResolver.java @@ -38,7 +38,7 @@ public Map getPostContentParameters( final Map resolvedVariables = newHashMap(); if (configuredGenericVariables != null) { for (final GenericVariable gv : configuredGenericVariables) { - final Map resolvedMap = resolve(incomingPostContent, gv); + final Map resolvedMap = this.resolve(incomingPostContent, gv); final boolean notResolved = resolvedMap.isEmpty() || resolvedMap.containsKey(gv.getVariableName()) @@ -59,9 +59,9 @@ private Map resolve(final String incomingPostContent, final Gene && gv.getExpression() != null && !gv.getExpression().isEmpty()) { if (gv.getExpressionType() == JSONPath) { - return resolveJsonPath(incomingPostContent, gv); + return this.resolveJsonPath(incomingPostContent, gv); } else if (gv.getExpressionType() == XPath) { - return resolveXPath(incomingPostContent, gv); + return this.resolveXPath(incomingPostContent, gv); } else { throw new IllegalStateException("Not recognizing " + gv.getExpressionType()); } @@ -87,7 +87,7 @@ private Map resolveJsonPath( try { final Object resolved = JsonPath.read(incomingPostContent, gv.getExpression()); final Map flatterned = - jsonFlattener.flattenJson(gv.getVariableName(), gv.getRegexpFilter(), resolved); + this.jsonFlattener.flattenJson(gv.getVariableName(), gv.getRegexpFilter(), resolved); if (gv.getExpression().trim().equals("$")) { flatterned.put(gv.getVariableName(), incomingPostContent); } @@ -100,6 +100,7 @@ private Map resolveJsonPath( private Map resolveXPath( final String incomingPostContent, final GenericVariable gv) throws Exception { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); + factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true); final DocumentBuilder builder = factory.newDocumentBuilder(); final InputSource inputSource = new InputSource(new ByteArrayInputStream(incomingPostContent.getBytes(Charsets.UTF_8))); @@ -108,6 +109,6 @@ private Map resolveXPath( final XPath xpath = xPathfactory.newXPath(); final XPathExpression expr = xpath.compile(gv.getExpression()); final Object resolved = expr.evaluate(doc, XPathConstants.NODESET); - return xmlFlattener.flatternXmlNode(gv, (NodeList) resolved); + return this.xmlFlattener.flatternXmlNode(gv, (NodeList) resolved); } }