【发布时间】:2020-04-07 11:58:52
【问题描述】:
我需要为所有步骤添加azureSubscription: 'AWSMavenReadOnly'“全局”。我试图避免使用完整的 task 语法。我如何将其添加为所有这些脚本的输入?
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- script: sbt clean
displayName: 'Running $ sbt clean'
- script: sbt update
displayName: 'Running $ sbt update'
- script: sbt compile
displayName: 'Running $ sbt compile'
- script: sbt test
displayName: 'Running $ sbt test'
【问题讨论】:
标签: scala azure-devops sbt