[workflow] canonical name for a workflow file when checked into project source: flow.groovy or Jenkinsfile?

57 views
Skip to first unread message

James Strachan

unread,
Jul 24, 2015, 11:08:22 AM7/24/15
to Jenkins Users
Hey folks!

Great work on the Jenkins Workflow Plugin; am loving it. Its so groovy! :) 

I'm wondering what is the canonical name for a jenkins workflow script if its checked into a project. I've seen a few docs refer to a script as 'flow.groovy' so I've been using that up to now; then I'm sure I saw in one of Kohsuke's demo videos or presentations the phrase 'Jenkinsfile' which sounds quite groovy too. There's Makefile, Dockerfile, Vagrantfile; why not Jenkinsfile. I like ;)

I just wondered if this was a real thing or is flow.groovy more typical? 

Jesse Glick

unread,
Aug 12, 2015, 4:49:21 PM8/12/15
to Jenkins Users
Multibranch workflows use jenkins.groovy in 1.9-beta-1 but will use Jenkinsfile thereafter.
Reply all
Reply to author
Forward
0 new messages