V
V
Venot2020-07-15 12:02:35
Jenkins
Venot, 2020-07-15 12:02:35

How to access variables and change in jenkins?

in the parameters I set a variable, for example name, and then I want to change it in the pipeline, is it possible like that or are they constants?
and I can access variables ${env.PATH} , or just env.PATH , or in which case this ${} syntax

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Pugachev, 2020-07-15
@Stqs

and I can access variables ${env.PATH} , or just env.PATH , or in which case this ${} syntax

https://groovy-lang.org/syntax.html#_string_interp...
in the parameters I set a variable, for example name, and then I want to change it in the pipeline, is it possible like that or are they constants?

Can you give an example of what you want to do?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question