stable

Clone or download

Read-only

[feature] Use first Done value in GitLab artifact closure

This is part of story #21418 close artifacts with Done semantic When artifact closure is enabled for the integration and a closure keyword is found in commit message, then: * First done value will be used if done semantic is defined * First closed value will be used if no done semantic defined and status semantic defined * An error will be raised if both semantics are not defined Change-Id: Idbd71bbb7f076ce10e7e53326cbe9eb98b5e30eb

Modified Files

Name
M plugins/gitlab/include/Repository/Webhook/PostPush/PostPushCommitArtifactUpdater.php +33 −4 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +16 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushCommitArtifactUpdaterTest.php +165 −7 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Status/Done/DoneSemanticDefined.php +57 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Status/Done/DoneValueRetriever.php +78 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Status/Done/SemanticDoneNotDefinedException.php +34 −0 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Status/Done/SemanticDoneValueNotFoundException.php +34 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Status/Done/DoneValueRetrieverTest.php +334 −0 Go to diff View file