Re: Call parallel stages from a loaded file

2022-05-24 Thread chencho
Thank you, Ivan. I will try with matrix Gracias ;) On Tue, May 24, 2022 at 6:52 PM Ivan Fernandez Calvo < kuisathave...@gmail.com> wrote: > We call parallel from a function, it should work, we have similar > implementation in a step that allows you to pass arrays to parallel to > build a matrix

Re: Call parallel stages from a loaded file

2022-05-24 Thread Ivan Fernandez Calvo
We call parallel from a function, it should work, we have similar implementation in a step that allows you to pass arrays to parallel to build a matrix execution in parallel. The arrays can be static, loaded from files, or anything you can convert to an array https://github.com/elastic/apm-pipe

Call parallel stages from a loaded file

2022-05-23 Thread chencho m-a
Hi all, I have this piece of code def s def workspace pipeline { agent { label 'build_1804' } stages { stage('load functions') { steps { script{ workspace = env.WORKSPACE node('build_1804') { s = load "${workspace}/regress/Jenkins_extension.