I’ll be super honest here. It’s been a million years since I configured a job in Jenkins & never with a pipeline. I still know enough to say that under the hood, even the Jenkins scanner will/would be using .NET scanner. So those docs are relevant for you.
I’m sorry you have to ask them. I think it’s obvious that things could be clearer on our side.
Regarding the exe name, the Jenkins scanner docs tell you to run a separate install for this piece. That’s the executable you’ll use.
Regarding your pipeline code, the order of your steps looks correct to me. (Altho I still question Rebuild
versus a plain build
).
On a final note, a colleague has gently and privately pointed out that you do indeed need to specify project key on the command line.
HTH,
Ann