janjoerke / vscode-jenkins-pipeline-linter-connector

MIT License
60 stars 21 forks source link

Scripted Jenkinsfile "did not contain the 'pipeline' step" #43

Open tivervac opened 3 years ago

tivervac commented 3 years ago

When I try to validate my Scripted Jenkinsfile I get "... did not contain the 'pipeline' step".

AFAIK, scripted Jenkins has no pipeline step, see the Jenkins documentation.

Does this plugin not support Scripted Jenkinsfiles?

Roemer commented 2 years ago

Same problem here. Did you find a solution except switching to declarative pipeline?

sethjones commented 2 years ago

The built in pipeline linter for jenkins only supports declarative syntax.

See the docs here: https://www.jenkins.io/doc/book/pipeline/development/