parameters:
  feature: ''
  sample: ''
  behave_args: '--stop --tags ~@wip'
jobs:
- job: ${{parameters.feature}}_${{parameters.sample}}
  displayName: '${{parameters.feature}}: ${{parameters.sample}}'
  pool:
    vmImage: ubuntu-latest
  steps:
  - template: setup-cloud-foundry-linux-steps.yaml
  - bash: ./behave.sh ${{parameters.feature}}/src/AspDotNetCore/${{parameters.sample}} ${{parameters.behave_args}} --tags ~@net461
    displayName: 'Sample -> ${{parameters.feature}}: ${{parameters.sample}}'
  - template: publish-results-steps.yaml
    parameters:
      feature: ${{parameters.feature}}
      sample: ${{parameters.sample}}
      os: Linux

parameters:
  feature: ''
  sample: ''
  behave_args: '--stop --tags ~@wip'
jobs:
- job: ${{parameters.feature}}_${{parameters.sample}}_Linux
  displayName: '${{parameters.feature}}: ${{parameters.sample}} (Linux)'
  pool:
    vmImage: Ubuntu-16.04
  steps:
  - template: setup-cloud-foundry-linux-steps.yaml
  - bash: ./behave.sh ${{parameters.feature}}/src/AspDotNetCore/${{parameters.sample}} ${{parameters.behave_args}} --tags ~@net461
    displayName: 'Sample -> ${{parameters.feature}}: ${{parameters.sample}}'
  - template: publish-results-steps.yaml
    parameters:
      feature: ${{parameters.feature}}
      sample: ${{parameters.sample}}
      os: Linux
- job: ${{parameters.feature}}_${{parameters.sample}}_OSX
  displayName: '${{parameters.feature}}: ${{parameters.sample}} (OSX)'
  pool:
    vmImage: MacOS-10.14
  steps:
  - template: setup-cloud-foundry-osx-steps.yaml
  - bash: ./behave.sh ${{parameters.feature}}/src/AspDotNetCore/${{parameters.sample}} ${{parameters.behave_args}} --tags ~@net461
    displayName: 'Sample -> ${{parameters.feature}}: ${{parameters.sample}}'
  - template: publish-results-steps.yaml
    parameters:
      feature: ${{parameters.feature}}
      sample: ${{parameters.sample}}
      os: OSX
- job: ${{parameters.feature}}_${{parameters.sample}}_Windows
  displayName: '${{parameters.feature}}: ${{parameters.sample}} (Windows)'
  pool:
    vmImage: Windows-2019
  steps:
  - template: setup-cloud-foundry-windows-steps.yaml
  - bash: ./behave.sh ${{parameters.feature}}/src/AspDotNetCore/${{parameters.sample}} ${{parameters.behave_args}} --tags ~@net461
    displayName: 'Sample -> ${{parameters.feature}}: ${{parameters.sample}}'
  - template: publish-results-steps.yaml
    parameters:
      feature: ${{parameters.feature}}
      sample: ${{parameters.sample}}
      os: Windows

Revert "Only run CI/CD using Linux"
Revert "Only run CI/CD using Linux"

This reverts commit 6ea310862e3f8fcca431f8d0b31a9eae015795fd.
