K
K
Kastuś2022-02-15 01:12:46
Jenkins
Kastuś, 2022-02-15 01:12:46

How to split groovy pipeline jenkins?

Hello everyone
Tell me, how does one cope with a long ribbon of a job?

I really want to find something similar to the Python import file_name as my_funtions
and therefore run my_functions.func1 () in stages

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Shavaleev, 2022-02-15
@Shavaleev_DieZ

And what prevents you from transferring certain actions into methods / functions in a separate library, and then connecting it in the necessary jobs?
Here is a link to the official documentation, which contains all the necessary information on connecting and using such libraries. Well, I think with the writing of which there will be no problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question