Defining Jenkins data merge rules
You can extend your Jenkins integration with rules to merge data from different sources.
About this task
You can create merge rules that merge data from different sources as described in the Defining rules topic.
Procedure
Define a merge rule that merges Docker images information provided by the Docker
Observer.
If you plan to include Artifactory modules information as part of your build notifications
using the Agile Service Manager plugin, you can define a merge rule that will merge Artifactory's
published Docker modules information with the information provided by the Docker Observer. For
example:
{
"name": "dockerFromJenkins",
"ruleType": "mergeRule",
"tokens": [
"${docker.image.id}","sha256:${docker.image.id}"
],
"ruleStatus": "enabled",
"entityTypes": [
"image"
],
"observers": [
"jenkins-observer"
],
"providers": [
"*"
]
}