Browse Source

Added Copy Files task to copy the openshift-app-build-template.yml file

pull/1259/head
Tim McCarthy 5 years ago
parent
commit
4e2d57edd8
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      build/aro/webapp-build-artifacts.yml
  2. +1
    -1
      build/aro/webapp-container-build.yml

+ 4
- 0
build/aro/webapp-build-artifacts.yml View File

@ -36,6 +36,10 @@ jobs:
modifyOutputPath: true
feedsToUse: config
nugetConfigPath: src/NuGet.config
- task: CopyFiles@2
inputs:
sourceFolder: '**/openshift-app-build-template.yml'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'

+ 1
- 1
build/aro/webapp-container-build.yml View File

@ -19,7 +19,7 @@ jobs:
- task: DownloadPipelineArtifact@2
inputs:
artifact: drop
- script: 'oc process -f ../openshift-app-build-template.yml -p APPLICATION_NAME=$(AppName) | oc apply -f-'
- script: 'oc process -f openshift-app-build-template.yml -p APPLICATION_NAME=$(AppName) | oc apply -f-'
failOnStderr: true
displayName: 'Ensure OpenShift BuildConfig'
- powershell: |


Loading…
Cancel
Save