You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/tutorial-build-deploy-azure-pipelines.md
+26-22Lines changed: 26 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,20 +150,20 @@ Select the **starter** template and copy the below YAML snippet that builds your
150
150
151
151
```YAML
152
152
- job: Build
153
-
displayName: Build Maven Project
154
-
steps:
155
-
- task: Maven@3
156
-
displayName: 'Maven Package'
157
-
inputs:
158
-
mavenPomFile: 'pom.xml'
159
-
- task: CopyFiles@2
160
-
displayName: 'Copy Files to artifact staging directory'
161
-
inputs:
162
-
SourceFolder: '$(System.DefaultWorkingDirectory)'
163
-
Contents: '**/target/*.?(war|jar)'
164
-
TargetFolder: $(Build.ArtifactStagingDirectory)
165
-
- upload: $(Build.ArtifactStagingDirectory)
166
-
artifact: drop
153
+
displayName: Build Maven Project
154
+
steps:
155
+
- task: Maven@3
156
+
displayName: 'Maven Package'
157
+
inputs:
158
+
mavenPomFile: 'pom.xml'
159
+
- task: CopyFiles@2
160
+
displayName: 'Copy Files to artifact staging directory'
161
+
inputs:
162
+
SourceFolder: '$(System.DefaultWorkingDirectory)'
163
+
Contents: '**/target/*.?(war|jar)'
164
+
TargetFolder: $(Build.ArtifactStagingDirectory)
165
+
- upload: $(Build.ArtifactStagingDirectory)
166
+
artifact: drop
167
167
```
168
168
169
169
For more guidance, follow the steps mentioned in [Build your Java app with Maven](https://docs.microsoft.com/azure/devops/pipelines/ecosystems/java).
@@ -215,13 +215,13 @@ For more guidance, follow the steps in [Build your Node.js app with gulp](https:
215
215
216
216
```YAML
217
217
jobs:
218
-
- deployment: VMDeploy
219
-
displayName: web
220
-
environment:
221
-
name: <environment name>
222
-
resourceType: VirtualMachine
223
-
tags: web1
224
-
strategy:
218
+
- deployment: VMDeploy
219
+
displayName: web
220
+
environment:
221
+
name: <environment name>
222
+
resourceType: VirtualMachine
223
+
tags: web1
224
+
strategy:
225
225
```
226
226
2. You can select specific sets of virtual machines from the environment to receive the deployment by specifying the **tags** that you have defined for each virtual machine in the environment.
227
227
[Here](https://docs.microsoft.com/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema#deployment-job) is the complete YAML schema for Deployment job.
@@ -258,7 +258,7 @@ For more guidance, follow the steps in [Build your Node.js app with gulp](https:
258
258
resourceType: VirtualMachine
259
259
strategy:
260
260
rolling:
261
-
maxParallel: 2 #for percentages, mention as x%
261
+
maxParallel: 5 #for percentages, mention as x%
262
262
preDeploy:
263
263
steps:
264
264
- download: current
@@ -300,3 +300,7 @@ Deployments view of the environment provides complete traceability of commits an
300
300
## Next steps
301
301
- You can proceed to [customize the pipeline](https://docs.microsoft.com/azure/devops/pipelines/customize-pipeline) you just created.
302
302
- To learn what else you can do in YAML pipelines, see [YAML schema reference](https://docs.microsoft.com/azure/devops/pipelines/yaml-schema).
303
+
- To learn about how to deploy a LAMP (Linux, Apache, MySQL, and PHP) stack, advance to the next tutorial.
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/tutorial-build-deploy-jenkins.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,9 +181,11 @@ In this tutorial, you automated the deployment of an app to Azure by using Jenki
181
181
> * Build your app in Jenkins.
182
182
> * Configure Jenkins for Azure DevOps Services integration.
183
183
> * Create a deployment group for the Azure virtual machines.
184
-
> * Create a release pipeline that configures the VMs and deploys the app.
184
+
> * Create an Azure Pipeline that configures the VMs and deploys the app.
185
185
186
-
To learn about how to deploy a LAMP (Linux, Apache, MySQL, and PHP) stack, advance to the next tutorial.
186
+
To learn about how to use Azure Pipelines for both Build and Release steps, refer to [this](https://docs.microsoft.com/azure/devops/pipelines/apps/cd/deploy-linuxvm-deploygroups).
187
+
188
+
To learn about how to author a YAML based CI/CD pipeline to deploy to VMs, advance to the next tutorial.
187
189
188
190
> [!div class="nextstepaction"]
189
-
> [Deploy LAMP stack](tutorial-lamp-stack.md)
191
+
> [CI/CD using Azure Pipelines](tutorial-build-deploy-azure-pipelines.md)
0 commit comments