Difference between revisions of "Template:Default azure pipeline"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> # 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: # http...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
 
  
 
  # Starter pipeline
 
  # Starter pipeline
Line 7: Line 6:
 
   
 
   
 
  [[trigger:]]
 
  [[trigger:]]
  - your_repo_name
+
  - your_branch_name
 
   
 
   
 
  [[pool:]]
 
  [[pool:]]
   vmImage: ubuntu-latest
+
   [[vmImage:]] ubuntu-latest
 
   
 
   
 
  [[steps:]]
 
  [[steps:]]
Line 20: Line 19:
 
     echo See https://aka.ms/yaml
 
     echo See https://aka.ms/yaml
 
   [[displayName:]] 'Run a multi-line script'
 
   [[displayName:]] 'Run a multi-line script'
 
</pre>
 

Latest revision as of 12:21, 11 March 2022

# 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:
- your_branch_name

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'

Advertising: