|
|
@ -2,6 +2,7 @@ parameters: |
|
|
|
ProjectName: '' |
|
|
|
OpenShiftProject: '' |
|
|
|
AppName: '' |
|
|
|
OpenShiftServiceConnection: 'OpenShift on ARO' |
|
|
|
jobs: |
|
|
|
- job: Container_Build |
|
|
|
dependsOn: Restore_Build_Publish |
|
|
@ -11,7 +12,7 @@ jobs: |
|
|
|
- task: redhat.openshift-vsts.oc-setup-task.oc-setup@2 |
|
|
|
displayName: 'oc-setup ' |
|
|
|
inputs: |
|
|
|
openshiftService: 'OpenShift on ARO DEV' |
|
|
|
openshiftService: $(OpenShiftServiceConnection) |
|
|
|
- script: 'oc project $(OpenShiftProject)' |
|
|
|
failOnStderr: true |
|
|
|
displayName: 'Set Project Context' |
|
|
|