Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Custom Properties to Artifactory with Maven release:perform #2733

Open
Ublius opened this issue Oct 21, 2024 · 0 comments
Open

Deploy Custom Properties to Artifactory with Maven release:perform #2733

Ublius opened this issue Oct 21, 2024 · 0 comments
Labels
question Further information is requested

Comments

@Ublius
Copy link

Ublius commented Oct 21, 2024

I am running a Jenkins job for a maven project using the JFrog Jenkins plugin to deploy properties for each artifact. This works fine when using the Maven deploy plugin. When performing a Maven release the properties are not set for each artifact in Artifactory. I am using the wrapper:

    jf(['mvn', 'release:prepare', 'release:perform', '-Ddeploy.testProp=prop')]

The build completes successfully and the artifact is released to Maven release repository (dev-release-local), but the custom properties are not set in Artifactory. However, when I manually set the pom version to a non-SNAPSHOT version (1.0) in the project and use jf(['mvn', 'deploy', '-Ddeploy.testProp=prop')], the build finishes successfully and the artifact is published to dev-release-local with the custom properties set in Artifactory. Is there an issue with how I am implementing the JFrog wrapper during a Maven release? Or is the functionality of setting custom properties during the Maven release:perform goal not properly implemented or supported?

JFrog CLI Version: 2.56.1

@Ublius Ublius added the question Further information is requested label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant