Bitbucket pipeline fails - even on a single script like Echo

33 Views Asked by At

I am trying to use bitbucket pipeline with Windows runner.

I have stripped the complete build steps down a single item

echo $env:SOLUTION_NAME

and it still fails

pipelines:
  default:
    - step:
        runs-on:
          - self.hosted
          - windows
        name: Lint the code
        caches:
          - dotnetcore
        script:              
          - echo $env:SOLUTION_NAME

enter image description here

As suggested I added exit 0 - makes no difference - just fails on that line now. I have never had a successful build.

enter image description here

0

There are 0 best solutions below