During the creation of a new artifact and selecting “Store artifact in local repository”, the artifact is created and stored in the configured repository (Nexus on this case):
Logs after the artifact was created:
DEBUG (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.Nexus3Plugin:699) - Checking if artifact [/3/test_definition_of_Artifact.Test_artifact/1.0/test_definition_of_Artifact.Test_artifact-1.0.txt] exists in the repository [/nexus/repository/nolio].
DEBUG (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.Nexus3Plugin:417) - Getting Nexus3 items for [nexus/service/rest/v1/search?repository=nolio&group=3&version=1.0] [test_definition_of_Artifact.Test_artifact].
DEBUG (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.ArtifactRepositoryPlugin:513) - Executing artifact upload request [GET http://<repo_ip>:8081/nexus/service/rest/v1/search?repository=nolio&group=3&version=1.0 HTTP/1.1].
DEBUG (com.nolio.platform.shared.communication.services.artifacts.repositoryplugins.ArtifactRepositoryPlugin:515) - Executed artifact upload request. Response: [HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Apr 2025 17:58:07 GMT, Server: Nexus/3.67.1-01 (OSS), X-Content-Type-Options: nosniff, Content-Type: application/json, Content-Length: 52] ResponseEntityProxy{[Content-Type: application/json,Content-Length: 52,Chunked: false]}}].
Same thing happen if the artifact is created without selecting this option, so what is the use of “Store artifact in local repository”?
Release Automation 6.7 and above
The usage of option "Store artifact in local repository" is only to define WHEN the created artifact is uploaded into the connected repository (Nexus or any other configured), if it's not checked, the artifact is uploaded into the repository on first use (for example, when the deployment, that uses it, is started). Regardless if the option is selected, artifacts always will be uploaded to the configured repository and it's always distributed to Agents from this connected repository and not from the specified artifact source.