Skip to content

Commit 11b7a09

Browse files
Prepped a new version for release
1 parent 0148071 commit 11b7a09

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

NewmanPostman/newmantask.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ function GetToolRunner() {
1717
newman.argIf(typeof sslClientCert != 'undefined' && sslClientCert, ['--ssl-client-cert', sslClientCert]);
1818
let sslClientKey = tl.getPathInput('sslClientKey', false, true);
1919
newman.argIf(typeof sslClientKey != 'undefined' && sslClientKey, ['--ssl-client-key', sslClientKey]);
20+
let sslStrict = tl.getPathInput('sslStrict', false, true);
21+
newman.argIf(typeof sslStrict != 'undefined' && sslStrict, ['--insecure', sslStrict]);
2022
let reporterHtmlTemplate = tl.getPathInput('reporterHtmlTemplate', false, true);
2123
newman.argIf(typeof reporterHtmlTemplate != 'undefined' && reporterHtmlTemplate, ['--reporter-html-template', reporterHtmlTemplate]);
2224
let reporterHtmlExport = tl.getInput('reporterHtmlExport');
@@ -31,9 +33,9 @@ function GetToolRunner() {
3133
newman.argIf(typeof timeoutRequest != 'undefined' && timeoutRequest, ['--timeout-request', timeoutRequest]);
3234
let numberOfIterations = tl.getInput('numberOfIterations');
3335
newman.argIf(typeof numberOfIterations != 'undefined' && numberOfIterations, ['-n', numberOfIterations]);
34-
newman.arg(['-e', tl.getPathInput('environment', true, true)]);
3536
let globalVariable = tl.getPathInput('globalVariables', false, true);
3637
newman.argIf(typeof globalVariable != 'undefined' && globalVariable, ['--globals', globalVariable]);
38+
newman.arg(['-e', tl.getPathInput('environment', true, true)]);
3739
return newman;
3840
}
3941
function run() {

vss-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifestVersion": 1,
33
"id": "NewmanPostman",
4-
"version": "1.0.16",
4+
"version": "1.0.17",
55
"name": "Newman the cli Companion for Postman",
66
"scopes": [],
77
"description": "Using Newman, one can effortlessly run and test a Postman Collections directly from the command-line. Now in a task!",

0 commit comments

Comments
 (0)