On creation of a new job(as free style project), and running it, I see that Jenkinsfile
is generated in job's workspace, after running the job.
But I see that all the pipeline code is commented. This is declarative syntax pipeline code.
So, apart from scriptlet generator option,
1) Does Jenkins(by default) create Jenkinsfile with DSL syntax in its workspace? For its job...
2) If yes, Can Jenkins generate scripted pipeline in it's workspace? Groovy syntax...