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 : String
(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
contentType
(optional)
NOT_SET
, TEXT_HTML
, TEXT_PLAIN
, APPLICATION_FORM
, APPLICATION_JSON
, APPLICATION_JSON_UTF8
, APPLICATION_TAR
, APPLICATION_ZIP
, APPLICATION_OCTETSTREAM
credentialId : String
(optional)
httpMode
(optional)
GET
, HEAD
, POST
, PUT
, DELETE
, OPTIONS
, PATCH
regexString : String
(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"]]
requestBody : String
(optional)
saveAffectedPath : boolean
(optional)
it will be use like $(AFFECTED_PATH) on request body.
saveJobBuildMessage : boolean
(optional)
it will be use like $(JOB_BUILD_MESSAGE) on request body.
sendHttpRequest : boolean
(optional)
validResponseCodes : String
(optional)
validResponseContent : String
(optional)
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.