Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that an SNS message is surrounded by double quotes before strip…
…ping them Fix for [JENKINS-19337] Stripping the double quotes is now captured in an if/else clause. Note that I was unable to duplicate creating a double-quote-surrounded message in SNS. Also I tried to write a test case that passed in a message surrounded by double quotes (as the plug-in was originally coded) but this causes an earlier line of code in the extractJsonFromPayload function to error. So I'm not really sure how it ever worked.
- Loading branch information
Jesse Zoldak
committed
Nov 18, 2015
1 parent
2f650b2
commit 6b38220
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters