Scripted vs Declarative, Doc outdated?

Just watched this video https://youtu.be/GJBlskiaRrI and i could tell that for example the UI changes between the two syntaxes aren’t there on the newest jenkins release. I believe a lot has changed since that video and the documentation page about it has been made. I assume that the broad difference between them still remain, but seem to be alot closer to each other nowadays than back then.

edit: my fault, sent the wrong link

The video is about the difference between freestyle and pipeline jobs. This is still valid and the UI is very different.
Scripted and declarative are both used inside pipeline jobs. It’s just the syntax inside the script block or the Jenkinsfile that is different.

1 Like

Oh sorry I updates the link in my question, the difference in UI doesn’t seem to exist anymore on Jenkins 2.452.3 when i have both a scripted pipeline and a declarative one

You would probably need to provide more details what you mean with that the UI differences aren’t there anymore.
From my experience there hasn’t changed so much in the way scripted and declarative are presented.

in the video at 4:27 he says that only declarative pipelines can be restarted from a specific stage and shows the comparison.

In the newest Jenkins both scripted and declarative look the same and have the option to restart from a specific stage, like this:
image

Your second screenshot is from the project not from a build.

I just checked locally and it is still the same that declarative allows to restart from stage while scripted doesn’t allow it.

1 Like