Dynamic Jenkins file

8 views
Skip to first unread message

Ven H

unread,
Dec 7, 2020, 6:24:44 AM12/7/20
to jenkins...@googlegroups.com
Is it possible to define everything including SharedLibrary method names for call, parameters, stages, steps etc in a yml file and call during execution? I want to create a generic Jenkinsfile, which will load & execute everything based on the yml data. Please advise.

Mark Waite

unread,
Dec 7, 2020, 7:17:55 AM12/7/20
to Jenkins Users
On Mon, Dec 7, 2020 at 4:24 AM Ven H <venh...@gmail.com> wrote:
Is it possible to define everything including SharedLibrary method names for call, parameters, stages, steps etc in a yml file and call during execution? I want to create a generic Jenkinsfile, which will load & execute everything based on the yml data. Please advise.


Pipeline as YAML plugin may help.  The Jenkins Online Meetup video provides an introduction as well. 
Reply all
Reply to author
Forward
0 new messages