As far as I know, “Jenkinsfile” is just a naming convention. I have multiple 
Jenkins files:

JenkinsFile.Parallel.groovy
JenkinsFile.Parallel.Snapshot.groovy
JenkinsFile.PatchWeekend-VmManager.groovy

I also add the .groovy extension so that editors can do syntax highlighting.

Randy


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Al Silver
Sent: Monday, June 1, 2020 11:21 AM
To: Jenkins Users <jenkinsci-users@googlegroups.com>
Subject: Many Freestyle jobs or many Jenkinsfiles?

I've used Jenkins a little but not in the traditional method of CI/CD. I'm 
using Jenkins as a Web UI to run individual python scripts for networking 
devices... Users would log into Jenkins and then select any one of numerous 
Freestyle projects (with parameters) to run (there could be 100 or more...).    
The job executes a shell which runs a pytest script that logs into (via ssh) 
multiple networking devices and performs some actions... pretty straightforward 
and it works ok but has some limitations.  With that said, I think I'll have 
more flexibility and power building and maintaining these jobs as pipelines and 
treating them as code.  My question is I guess I would need to convert my 
pipelines into Jenkinsfiles?  However, most of the docs I read show a single 
Jenkinsfile (named "Jenkinsfile") I would need one for each job (a 100 or so).  
I must be missing something here or not understanding.  Can someone point in 
the right direction for what I'm trying to accomplish?

Thx
Al
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/64f8998b-67f2-48ba-a0fa-6cdbdd4113ab%40googlegroups.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_64f8998b-2D67f2-2D48ba-2Da0fa-2D6cdbdd4113ab-2540googlegroups.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=DwMFaQ&c=XyUBHDXMV7glgXHR5EGxBQ&r=0E7mT76vTdK0eLA6f8vSpQjaVInS42kXeSCT8H1yqn8&m=ndLNbxIaRiR4C6_uyzz7_dEZ7OnTyLsNjM2xNa3ZX5Q&s=xr6QpYPxC38_8a9C3DVEv48Sb1IEEZLo7VZCrhTx2vA&e=>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CY4PR12MB18007C2DFA8386B61DA29D00BC8B0%40CY4PR12MB1800.namprd12.prod.outlook.com.

Reply via email to