Skip to content

Commit

Permalink
JENKINS-28441
Browse files Browse the repository at this point in the history
Updated help
  • Loading branch information
cast committed May 24, 2015
1 parent 0329cc4 commit 00a35c9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Expand Up @@ -68,8 +68,10 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher,
BuildListener listener) {
boolean returnValue = true;

for (LambdaVariables lambdaVariables : lambdaVariablesList) {
returnValue = returnValue && perform(lambdaVariables, build, launcher, listener);
if (lambdaVariablesList != null){
for (LambdaVariables lambdaVariables : lambdaVariablesList) {
returnValue = returnValue && perform(lambdaVariables, build, launcher, listener);
}
}

return returnValue;
Expand Down
Expand Up @@ -66,8 +66,10 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher,
BuildListener listener) {
boolean returnValue = true;

for (LambdaInvokeVariables lambdaInvokeVariables : lambdaInvokeVariablesList) {
returnValue = returnValue && perform(lambdaInvokeVariables, build, launcher, listener);
if(lambdaInvokeVariablesList != null) {
for (LambdaInvokeVariables lambdaInvokeVariables : lambdaInvokeVariablesList) {
returnValue = returnValue && perform(lambdaInvokeVariables, build, launcher, listener);
}
}

return returnValue;
Expand Down
Expand Up @@ -25,7 +25,7 @@
<f:checkbox value="true" default="true" />
</f:entry>
<f:entry title="Json Parameters">
<f:repeatableProperty field="jsonParameters" />
<f:repeatableProperty field="jsonParameters" minimum="0" />
</f:entry>
<f:entry title="">
<div align="right">
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/help-jsonPath.html
Expand Up @@ -24,7 +24,7 @@
#L%
-->
<div>
<p>JsonPath expression used to parse AWS Lambda response payload.</p>
<p>JsonPath expression used to parse AWS Lambda response payload. Leave empty to get full payload.</p>
<p><a href="https://github.com/jayway/JsonPath" target="_blank">https://github.com/jayway/JsonPath</a></p>
<p>Example: $.output.key1 for {"output" : {"key1":"value1"}} returns value1</p>
</div>

0 comments on commit 00a35c9

Please sign in to comment.