Added Copy Files task to copy the openshift-app-build-template.yml file
This commit is contained in:
parent
f3aa124445
commit
4e2d57edd8
@ -36,6 +36,10 @@ jobs:
|
|||||||
modifyOutputPath: true
|
modifyOutputPath: true
|
||||||
feedsToUse: config
|
feedsToUse: config
|
||||||
nugetConfigPath: src/NuGet.config
|
nugetConfigPath: src/NuGet.config
|
||||||
|
- task: CopyFiles@2
|
||||||
|
inputs:
|
||||||
|
sourceFolder: '**/openshift-app-build-template.yml'
|
||||||
|
targetFolder: $(Build.ArtifactStagingDirectory)
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
displayName: 'Publish Artifact: drop'
|
displayName: 'Publish Artifact: drop'
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ jobs:
|
|||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
inputs:
|
inputs:
|
||||||
artifact: drop
|
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
|
failOnStderr: true
|
||||||
displayName: 'Ensure OpenShift BuildConfig'
|
displayName: 'Ensure OpenShift BuildConfig'
|
||||||
- powershell: |
|
- powershell: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user