29 lines
768 B
YAML
29 lines
768 B
YAML
# 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: echo Hello, world!
|
|
displayName: 'Run a one-line script'
|
|
|
|
- script: |
|
|
echo Add other tasks to build, test, and deploy your project.
|
|
echo See https://aka.ms/yaml
|
|
displayName: 'Run a multi-line script'
|
|
- task: VMwareTask@1
|
|
inputs:
|
|
vCenterConnection: 'vmvc1'
|
|
action: 'Deploy Virtual Machines using Template'
|
|
template: 'WS2019_zm_20190223'
|
|
vmList: 'deploy100'
|
|
targetdc: 'Datacenter'
|
|
computeType: 'ESXi Host'
|
|
hostname: 'vm00.kwyjibo.info'
|
|
datastore: 'LSSD_850Evo_S2RANX0H415341R' |