mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Delete pipeline file
This commit is contained in:
parent
1e0889075b
commit
246eb45c45
1 changed files with 0 additions and 68 deletions
|
@ -1,68 +0,0 @@
|
|||
# Maven package Java project Web App to Linux on Azure
|
||||
# Build your Java project and deploy it to Azure as a Linux web app
|
||||
# Add steps that analyze code, save build artifacts, deploy, and more:
|
||||
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
|
||||
|
||||
trigger:
|
||||
- develop
|
||||
|
||||
variables:
|
||||
|
||||
# Azure Resource Manager connection created during pipeline creation
|
||||
azureSubscription: '7229d1a4-3643-42a1-8234-d38d24d8062e'
|
||||
|
||||
# Web app name
|
||||
webAppName: 'appjava-wa'
|
||||
|
||||
# Environment name
|
||||
environmentName: 'appjava-wa'
|
||||
|
||||
# Agent VM image name
|
||||
vmImageName: 'windows-latest'
|
||||
|
||||
stages:
|
||||
- stage: Build
|
||||
displayName: Build stage
|
||||
jobs:
|
||||
- job: MavenPackageAndPublishArtifacts
|
||||
displayName: Maven Package and Publish Artifacts
|
||||
pool:
|
||||
vmImage: $(vmImageName)
|
||||
|
||||
steps:
|
||||
- task: Maven@3
|
||||
displayName: 'Maven Package'
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: 'Copy Files to artifact staging directory'
|
||||
inputs:
|
||||
SourceFolder: '$(System.DefaultWorkingDirectory)'
|
||||
Contents: '**/target/*.?(war|jar)'
|
||||
TargetFolder: $(Build.ArtifactStagingDirectory)
|
||||
|
||||
- publish: $(Build.ArtifactStagingDirectory)
|
||||
artifact: drop
|
||||
|
||||
- stage: Deploy
|
||||
displayName: Deploy stage
|
||||
dependsOn: Build
|
||||
condition: succeeded()
|
||||
jobs:
|
||||
- deployment: DeployLinuxWebApp
|
||||
displayName: Deploy Linux Web App
|
||||
environment: $(environmentName)
|
||||
pool:
|
||||
vmImage: $(vmImageName)
|
||||
strategy:
|
||||
runOnce:
|
||||
deploy:
|
||||
steps:
|
||||
- task: AzureWebApp@1
|
||||
displayName: 'Azure Web App Deploy: appjava-wa'
|
||||
inputs:
|
||||
azureSubscription: $(azureSubscription)
|
||||
appType: webAppLinux
|
||||
appName: $(webAppName)
|
||||
package: '$(Pipeline.Workspace)/drop/**/target/*.?(war|jar)'
|
Loading…
Reference in a new issue