The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
scmHttpClient
: SCM HttpClienturl
String
addScmPath
(optional)
added custom paths to each affected scm path.
e.g., Add scmPath: testOne
assuming you get the current scm affected path list: [["src/main/java/Test.java"],["app/src/main/java/HelloWorld.java"]]
With the handle, the result: you will get a new affected path list: [["testOne","src/main/java/Test.java"],["testOne","src/main/java/HelloWorld.java"]]
if you need to add more, Add scmPath can be use like: testOne,testTwo,testThird
String
contentType
(optional)
NOT_SET
, TEXT_HTML
, TEXT_PLAIN
, APPLICATION_FORM
, APPLICATION_JSON
, APPLICATION_JSON_UTF8
, APPLICATION_TAR
, APPLICATION_ZIP
, APPLICATION_OCTETSTREAM
credentialId
(optional)
String
httpMode
(optional)
GET
, HEAD
, POST
, PUT
, DELETE
, OPTIONS
, PATCH
regexString
(optional)
using regular expression to handle each affected scm path.
eg: Regex string: src.*java
assuming you get the current scm affected path list: [["src/main/java/Test.java"],["app/src/main/java/HelloWorld.java"]]
With the handle, the result: you will get a new affected path list: [["src/main/java/Test.java"],["src/main/java/HelloWorld.java"]]
String
requestBody
(optional)
String
saveAffectedPath
(optional)
it will be use like $(AFFECTED_PATH) on request body.
boolean
saveJobBuildMessage
(optional)
it will be use like $(JOB_BUILD_MESSAGE) on request body.
boolean
sendHttpRequest
(optional)
boolean
validResponseCodes
(optional)
String
validResponseContent
(optional)
String
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.