1
votes

I'm working on a CI pipeline and when I execute the script(Jenkins file), build is getting through and it says build is successful but binaries are not uploaded to Artifactory and I see this message on the log

"Artifactory Build Info Recorder: deploy artifacts set to false, artifacts will not be deployed"

Please help

1

1 Answers

1
votes

You are probably running a maven build with the following configuration:

rtMaven.deployer.deployArtifacts = false

This configuration disables artifacts deployment to Artifactory. If you want the artifacts to be deployed during the build, change this configuration to true or simply delete it. You can also deploy the artifacts in a later stage, if you collected build info, by calling:

rtMaven.deployer.deployArtifacts buildInfo

Check this pipeline for an example of late deploy, or this pipeline for an example of regular deploy. More details can be found in the documentation.

If this doesn't answer your question please share your pipeline with us.