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 | ||||
|       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' | ||||
| 
 | ||||
|  | ||||
| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user