365
am i just bad at devops?
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
See your problem is you're editing the code until it passes the tests. It's way easier if you edit the tests until it passes the code.
Unless you are using groovy (jenkins), then you are running the pipeline to find syntax errors.
FYI, Jenkins has an endpoint to validate the pipeline without running it, and there's a VSCode extension to do this without leaving the editor: https://www.jenkins.io/blog/2018/11/07/Validate-Jenkinsfile/
Only for declarative pipelines, forget it if you use scripted ones.