如何在 Azure 管道中设置任务,使其仅在更改为更新版本的应用程序时才构建,即,例如,我将 pom 更改为更新版本,应该构建和部署它,应该添加一些类, 不应构建、部署文件。
You can use path filter to trigger a build only when pom file was changed
# specific path build
trigger:
branches:
include:
- master
- releases/*
paths:
include:
- my-module/pom.xml
You can find more about this here
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.