문제

I have been working in Artifactory User plugins for couple of weeks. All custom user plugins are run from the server side in groovy. I am looking for a way to write a plugin that runs on browser/client side.

My requirement is: Validate an Artifact with custom validation and throw popup dialog for any errors? So is there a way where we can customize Artifactory GUI to write javascript to show popup dialogs which will be called before a download is triggered.

A quick comments/ suggestions would be very grateful.

Thanks in Advance.

도움이 되었습니까?

해결책

Once you are familiar with User Plugins, you are half way there. What you should do is write execution plugins that consume and return the needed info in json format, and create a js frontend (node.js or similar) that will talk to those plugins by json.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top