У меня вроде как получилось:
# 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:
- task: AWSShellScript@1
inputs:
awsCredentials: 'AWSMavenReadOnly'
regionName: 'eu-central-1'
scriptType: 'inline'
inlineScript: 'sbt clean update compile'
displayName: 'Running $ sbt clean update compile'
- task: AWSShellScript@1
inputs:
awsCredentials: 'AWSMavenReadOnly'
regionName: 'eu-central-1'
scriptType: 'inline'
inlineScript: 'sbt test'
displayName: 'Running $ sbt test'
Теперь мне нужно выяснить, как использовать java11 вместо jre по умолчанию, доступного на ubuntu-latest