News

YAML has joined the ranks of declarative and scripted pipelines in Jenkins. Here's an example of what the syntax for a Jenkins YAML pipeline looks like.
To fix the ‘expected a step’ Jenkins error, put any coded logic inside a script block. Old versions of Jenkins did not require the script block, which is why declarative pipelines that once worked are ...