We are using Python and YAML Spec Files and our Jenkins runners are written in Groovy which are scripted pipelines. The spec file is passed as a parameter while running the job.