What is the difference between Imperative and declaritive pipeline ?
I answered, we generally use Declaritive approach , but i am not sure where is imperative used…
What is the difference between Imperative and declaritive pipeline ?
I answered, we generally use Declaritive approach , but i am not sure where is imperative used…
I expect that by “imperative”, the interviewer meant using the older, scripted groovy approach to pipelines. Most things I’ve read call this a “Scripted” pipeline.
There are a number of resources relevant to your question here. You might enjoy this article, that compares and contrasts the two approaches.