Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
690 views
in Technique[技术] by (71.8m points)

devops - 如何经常检查人工制品仓库以及我们是否发现了应该启动竹计划的任何新人工制品(How to check frequently to a artifactory repo and if we found any new artifacts that should start bamboo plan)

I have a Jenkins job outside my workplace network that creates artifacts and these are copied to my company artifactory.

(我在工作场所网络外部有一个詹金斯(Jenkins)工作,该工作创建了工件,并将这些工件复制到公司的工件中。)

from there will run bamboo plan to deploy.

(从那里将运行竹计划进行部署。)

1)how can I search for new artifacts in artifactory to automatically start bamboo plan 2) how can we automate this process

(1)如何在人工制品中搜索新的人工制品以自动启动Bamboo计划2)我们如何使这一过程自动化)

  ask by kumar8891 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I think the answer here is a User-Plugin ( examples ).

(我认为这里的答案是用户插件示例 )。)

You should probably write a user-plugin that will listen to an afterCreate event and then trigger a REST call to the Bamboo server to trigger the build (probably via the Build Queue Service )

(您可能应该编写一个用户插件,该插件将侦听afterCreate事件,然后触发对Bamboo服务器的REST调用以触发构建(可能通过Build Queue Service )。)

Hope this helps.

(希望这可以帮助。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...