Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
rchidana committed Nov 20, 2023
1 parent 60b233e commit 5ab66ac
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
# Maven
- task: TomcatDeployment@1
inputs:
TomcatUrl: 'http://36d8-2406-7400-56-8199-5ddb-33c3-aec7-8bf8.ngrok-free.app'
Username: 'deployer'
Password: 'deployer'
Warfile: '**/*.war'
Context: '/azure-deploy'
ServerVersion: '7OrAbove'
# Build your Java project and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java

trigger:
- master
Expand All @@ -28,3 +17,15 @@ steps:
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'package'

- task: TomcatDeployment@1
inputs:
TomcatUrl: 'http://36d8-2406-7400-56-8199-5ddb-33c3-aec7-8bf8.ngrok-free.app'
Username: 'deployer'
Password: 'deployer'
Warfile: '**/*.war'
Context: '/azure-deploy'
ServerVersion: '7OrAbove'
# Build your Java project and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java

0 comments on commit 5ab66ac

Please sign in to comment.