Skip to content

Commit b96a42d

Browse files
extend artifact rules with custom data
* extend artifact rules with custom data both for Agen and for Toulouse version of the protocol.
1 parent dff0884 commit b96a42d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ services:
139139
- JENKINS_USERNAME=admin
140140
- JENKINS_PASSWORD=admin
141141
# - JENKINS_HOME= # JENKINS_HOME: Jenkins home directory. Default: /opt/bitnami/jenkins/jenkins_home
142-
# - DISABLE_JENKINS_INITIALIZATION= # DISABLE_JENKINS_INITIALIZATION: Allows to disable the initial Bitnami configuration for Jenkins. Default: no
142+
# - DISABLE_JENKINS_INITIALIZATION=yes # DISABLE_JENKINS_INITIALIZATION: Allows to disable the initial Bitnami configuration for Jenkins. Default: no
143143
# - JAVA_OPTS= # JAVA_OPTS: Customize JVM parameters. No defaults.
144144
networks:
145145
eiffel_2.0_1:

src/main/resources/rules/ArtifactRules-Eiffel-Agen-Version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"StartEvent": "YES",
88
"IdentifyRules" : "[meta.id]",
99
"MatchIdRules": {"_id": "%IdentifyRules_objid%"},
10-
"ExtractionRules" : "{ id : meta.id, type : meta.type, time : meta.time, identity : data.identity, fileInformation : data.fileInformation, buildCommand : data.buildCommand }",
10+
"ExtractionRules" : "{ id : meta.id, type : meta.type, time : meta.time, identity : data.identity, fileInformation : data.fileInformation, buildCommand : data.buildCommand, artifactCustomData : data.customData }",
1111
"DownstreamIdentifyRules" : "links | [?type=='COMPOSITION'].target",
1212
"DownstreamMergeRules": "{\"externalComposition\":{\"eventId\":%IdentifyRules%}}",
1313
"DownstreamExtractionRules" : "{artifacts: [{id : meta.id}]}",

src/main/resources/rules/ArtifactRules-Eiffel-Toulouse-Version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"StartEvent": "YES",
88
"IdentifyRules" : "[meta.id]",
99
"MatchIdRules": {"_id": "%IdentifyRules_objid%"},
10-
"ExtractionRules" : "{ id : meta.id, type : meta.type, time : meta.time, gav : data.gav, fileInformation : data.fileInformation, buildCommand : data.buildCommand }",
10+
"ExtractionRules" : "{ id : meta.id, type : meta.type, time : meta.time, gav : data.gav, fileInformation : data.fileInformation, buildCommand : data.buildCommand, artifactCustomData : data.customData }",
1111
"DownstreamIdentifyRules" : "links | [?type=='COMPOSITION'].target",
1212
"DownstreamMergeRules": "{\"externalComposition\":{\"eventId\":%IdentifyRules%}}",
1313
"DownstreamExtractionRules" : "{artifacts: [{id : meta.id}]}",

0 commit comments

Comments
 (0)