简体   繁体   English

Azure Dev Ops 管道 java 项目

[英]Azure Dev Ops pipeline java project

如何在 Azure 管道中设置任务,使其仅在更改为更新版本的应用程序时才构建,即,例如,我将 pom 更改为更新版本,应该构建和部署它,应该添加一些类, 不应构建、部署文件。

You can use path filter to trigger a build only when pom file was changed仅当 pom 文件更改时,您才能使用路径过滤器触发构建

# specific path build
trigger:
  branches:
    include:
    - master
    - releases/*
  paths:
    include:
    - my-module/pom.xml

You can find more about this here你可以在这里找到更多关于这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Spring 引导应用程序从 azure 开发操作部署到 appengine - Spring boot app deploy to appengine from azure dev ops Azure 用于 Java 项目的 DevOps 管道,带有自托管代理 - Azure DevOps Pipeline for Java Project with self hosted agent 如何在 Azure DevOps 管道中安装 Java? - How to install Java in an Azure DevOps pipeline? 适用于不同环境的 Azure JAVA 函数 + DevOps 管道 - Azure JAVA Functions + DevOps pipeline for different environment 未处理:未找到 mavenPOMFile - Azure DevOps 管道 Java Function App - Unhandled: Not found mavenPOMFile - Azure DevOps pipeline for Java Function App 如何在 Java Eclipse 上运行 Azure 数据工厂管道 - How to run Azure Data Factory pipeline on Java Eclipse 用于托管 jar 文件的 Azure Springboot (Java) 管道 CI/CD - Azure Springboot (Java) pipeline CI/CD to host jar file 在 Azure DevOps 发布管道中运行 Java Selenium 测试 - Run Java Selenium tests in Azure DevOps release pipeline Azure CI 管道无法构建 Java / Maven 解决方案与 2 个项目 - Azure CI Pipeline fails to build Java / Maven solution with 2 projects Azure Key Vault 参考 Java 代码/Yaml 管道 - Azure Key Vault References Java Code/Yaml Pipeline
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM