-1

I have to move the jobs from one environment to another so, is it possible to bulk add the jobs via single .jil file/command

jil < alljobs.jil
kumarrsumit
  • 1
  • 1
  • 1

2 Answers2

0

yes u can jil multipel jobs at a time using Vi eiditor. i have jilled approx 150 jobs at a time

create a file using vi eiditor copy past the jobs in the file in vi editor and the save the file

then u can jil it using the below command

jil < filename.txt

u get the exit code accordingly

Regards Som

som
  • 1
0

I've added upwards of 200-500 jobs within a single job before. It only becomes a pain when you start running into errors. Tracking them down and keeping things running smoothly can be a pain.

I prefer to keep my jil and jil changes as separate job streams and then place them under version control like git.

It makes tracking changes to production jobs over time a lot easier.