Closed Linfar closed 1 year ago
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
I have read the CLA Document and I hereby sign the CLA
Any comments to the PR?
Hi @Linfar, Thanks for your contribution and effort! Sorry for our late response. We will do our best to review this PR soon.
Any news? May be I can help somehow?
Friendly ping
Thanks a lot of this PR @Linfar! It has been pending for too long sorry about that... Let us look into this soon.
Thanks so much for this awesome contribution and my applogies for the long overdue review. Will you be able to also suggest here changes to the plugin's documentation following your changes, such as updates screenshots?
Sure. I'd make 'Configuring System-wide Artifactory Servers' a deprecated option, or even hide it. Instead of this block (or before it), I suggest to add a similar one covering the Connections option:
To make Artifactory servers available to project runner configurations, they must be defined in the Connections section for a Project where they should be accessible. To enable global access to an Artifactory server, it can be added to the Root project.
Select Add Connection, choose the JFrog Artifactory in the Connection type and fill in the URL of the Artifactory server.
Deployer credentials can be set at the global level for all builds, but they can also be overridden and set at a project build level.
Specifying a username and password for the resolver repository is optional. It is only used when querying Artifactory's REST API for a list of configured repositories and then only if the target instance does not allow anonymous access.
Hi! Any news? I had to resolve a merge conflict.
@yahavi Thank you for the review! I've applied all suggestions
🎉
Motivation: Currently, the only way to configure Artifactory is to add a URL on the global administration level. This could be done by users having Change Server Settings only. This permission is prohibited for users of TeamCity Cloud. My PR introduces a new way to configure the Artifactory URL – through the native Connections feature. This allows a user with Edit Project permission to configure the URL to be used in builds. Configuring one on the Root project level is practically the same as configuring it on the global administration level.
Implemented:
Tested:
Trade-offs:
Btw: I tried to follow the https://github.com/jfrog/teamcity-artifactory-plugin/blob/9abe319ab2ad4068b662ea331f3bc62cfea43ba5/CONTRIBUTING.md, but the link says "This agreement is no longer accessible for signature. If you feel you have reached this page in error please contact the person who directed you to this page to sign the agreement."