Closed stephaneerard closed 9 years ago
Hmmm sorry I got it wrong using «{branch}» : There is no error + {branch} does not get substitued, making me thinking that @@JOB_NAME@@ are the ones being searched.
Thanks
Closing, I came to understand how it wors, again.... Sorry ;) My yml config looks like
substitute:
'@@BRANCH@@' : '{shortref}'
What was causing the problem was that I was using wrong Key (KeyError !):
substitute: '@@BRANCH@@' : '{branch}'
The key «branch» is not something substituable.
Happy to hear things worked out. I should definitely spend some more time on the documentation ...
I have a job template which I want to run another job template.
A: JOB-BUILD-{branch} B: JOB-PACKAGE-{branch}
In the configuration page of A I add a config to build another project after this one. In this config I set as job : JOB-PACKAGE-@@JOB_NAME@@
I get this error :
I have tested with {branch} too with same error.
Thank you very much !