Rundeck的Artifactory插件? [英] Artifactory plugin for rundeck?

查看:116
本文介绍了Rundeck的Artifactory插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直找不到能列出Artifactory中可用工件的插件.

I have been unable to find a plugin to list available artifacts from Artifactory.

有人知道在rundeck作业中执行此操作的方法吗,我想部署一个war文件,该文件可以使用rundeck在tomcat的工件中使用.

Does anyone know of a method to do this in a rundeck job, I want to deploy a war file which is available In artifactory to tomcat using rundeck.

关于在rundeck中的tomcat部署,那里有什么最佳实践?

Regarding deployments to tomcat in rundeck what are best practices there ?

推荐答案

您可以使用 JSON格式,因此您将无法使用大多数直接使用Artifactory REST API.您可以做的是开发类型为 Excutions <的Artifactory用户插件./a>.
用户插件使您可以使用自己用Groovy编写的代码轻松扩展Artifactory的行为.插件可以使用

You can create a Job option with remote option values, which will fetch the list of artifacts from Artifactory.
Since Rundeck support limited JSON format, you will not be able to use most of the Artifactory REST APIs directly. What you can do instead is develop an Artifactory user plugin of type Excutions.
User plugins allows you to easily extend Artifactory's behavior with your own code written in Groovy. The plugins can use the Artifactory public API, which contains everything you will need for getting a list of artifacts.
You can develop a plugin which contains your own logic for searching artifacts and can control the format of the JSON response. Executions user plugins are executed using REST calls and therefor can be called from Rundeck.
Please notice that user plugins required the Pro version of Artifactory.

这篇关于Rundeck的Artifactory插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆