Support jfrog properties with native 'Upload Artifacts to JFrog Artifactory' step
long-term
R
Rare Ocelot
we should have a way to add properties to a file / folder in artifactory plugin as part of build stage - CI
we are doing workaround (to unblock) using REST API from artifactory using curl
Log In
T
Tangerine Crocodile
Thanks Nofar Bluestein for the suggestion ,
it will be difficult to enforce the stage variable in pipelines across teams
We have this step as a template and once this feature is ready, changes will be rolled out to teams with just inline template upgrade
R
Rubber Scallop
Hi Nofar Bluestein - we saw this feature went from done to Long-Term.
Would you know roughly it will be done? Asking as we are wondering to use JFrog (if this enhancement happens within 3-months) vs another template. Thank you!
N
Nofar Bluestein
Rubber Scallop:
Hey, we've released the following plugin related to Artifactory:
- Publish Build metadata to a Docker image in JFrog Docker Registry . See docs:
- Publish Build metadata to JFrog Artifactory Artifact. see docs: https://developer.harness.io/docs/continuous-integration/use-ci/build-and-upload-artifacts/upload-artifacts/upload-artifacts-to-jfrog#publish-build-metadata-to-jfrog-artifactory-artifact
You can leverage these plugins already.
This request is kept open to track adding this functionality to the native step (so these options will show up in the UI fields as well).
Worth mentioning that the native Upload Artifacts to JFrog Artifactory step uses the drone-artifactory plugin under the hood (https://github.com/harness/drone-artifactory). Since this functionality was added to the plugin, Since the plugin already supports publishing build metadata, you can achieve the desired behavior by setting the following as stage variables:
PLUGIN_BUILD_NAME
PLUGIN_BUILD_NUMBER
PLUGIN_TARGET_PROPS
These variables will be available as environment variables in the step and will modify the native step’s behavior accordingly.
Let me know if you need further clarification
Canny AI
Merged in a post:
Enhance JFrog Artifactory Plugin to Take JFrog Property as an Input
R
Rubber Scallop
Currently, we are using 'Upload Artifacts to JFrog Artifactory' plugin to push jar to artifactory. With this plugin, we also want to set the metadata in the jfrog properties so we are requesting to enhance the plugin to take the JFrog property as an input.
R
Rubber Scallop
Please delete this ticket as the below feature enhancement was turned back on/unmerged and not pointing to the other JFrog enhancement.
N
Nofar Bluestein
Merged in a post:
Support jfrog properties with native 'Upload Artifacts to JFrog Artifactory' step
T
Tangerine Crocodile
Hello ,
I have raised a feature request to enhance 'Upload Artifacts to JFrog Artifactory' plugin to support jfrog properties
But looks like different plugin (artifactory) was enhanced although it was already supporting target props (jfrog properties), So I am not sure what enhancement is done as a part of this feature request .kindly assist
N
Nofar Bluestein
Hey,
thanks for pointing this out, I've reopened the previous ticket based on your comment, and will keep using it to track the enhancement to the out of the box step.
I will close this one , as the original will remain open. thank you, apologies for the confusion
N
Nofar Bluestein
long-term
N
Nofar Bluestein
under review
T
Tangerine Crocodile
target props was already there in artifactory plugin , this feature request was for enhancing 'Upload Artifacts to JFrog Artifactory' plugin to support target props. screen shot attached
N
Nofar Bluestein
Tangerine Crocodile: Understood. I will keep this request open to track the enhancement request for the out of the box step.
thank you
Canny AI
Merged in a post:
Enhance 'Upload Artifacts to JFrog Artifactory' plugin for supporting jfrog properties
T
Tangerine Crocodile
We are using 'Upload Artifacts to JFrog Artifactory' plugin to push jar to artifactory, we also want to set the metadata in the jfrog properties
This feature request is to enhance plugin to take jfrog property as an input
Load More
→