简体   繁体   中英

Get latest build artifact from nexus

i'm using Jenkins and nexus . after release my artifact i store that in nexus artifact repository, and i deploy that artifact using Jenkins while building. now my requirement is change deployment life cycle. i want store artifact to the nexus repository after build from maven(this part already done). than i want to get latest release artifact from nexus repository and deploy that artifact.can i do this using Jenkins ? if not what is the best way.

Current i do,

  • build using Jenkins
  • store build artifact to the nexus repository.
  • deploy artifact.

what i want ,

  • build using Jenkins.
  • store build artifact to the nexus repository.
  • get latest artifact from nexus repository.
  • deploy latest artifact (fetched previous step).

使用Jenkins 存储库连接器工件解析器构建步骤

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM