Question
How to modify artifact paths of the build configuration using the REST API?
Answer
- Use
GET /app/rest/buildTypes/id:MyBuildConfigurationID/settings/artifactRulesto get the current artifact paths of the build configuration in plain text format. - Use
PUT /app/rest/buildTypes/id:MyBuildConfigurationID/settings/artifactRulesto modify the artifact paths. The body of the request should be in plain text. - Multiple artifact paths can be separated either by a new line or a comma. Example of the body of such
PUTrequest:logs/*.loglogs/logs-subdir/*.log
Comments
0 comments
Please sign in to leave a comment.