I’m running a gitlab-runner on WIndows, to build a dotNet project.
No matter what I do, the pipeline only ever runs a single job.
dotNet:
stage: build
script:
- 'dotnet build'
tags:
- dotnet
Publish to Test:
stage: test
script:
- 'dotnet publish /p:Password=%build_server_pw%'
tags:
- dotnet
Publish to Prod:
stage: deploy
script:
- 'dotnet publish /p:PublishProfile=Catalog /p:Password=${build_server_pw}'
tags:
- dotnet
when: manual
If I add stages
:
stages:
- prepare
- build
- deploy
the pipeline never executes at all, because it says I have no jobs.
[Note: I know I’m abusing the test
stage, above, but the default stages are the only ones available to me if I can’t specify stages
]