able when
>>> using declarative pipeline inside a Stage.
>>>
>>> No need to declare it with-in environment { }.
>>>
>>> On Thu, Apr 6, 2017, 18:42 Idan Adar wrote:
>>>
>>>> Perhaps Robert (CCed) can help?
>>>>
>>&g
Thu, Apr 6, 2017, 18:42 Idan Adar wrote:
>>
>>> Perhaps Robert (CCed) can help?
>>>
>>>
>>> On Thursday, April 6, 2017 at 6:08:18 PM UTC+3, Idan Adar wrote:
>>>>
>>>> Is this a valid use of environment directive and variables in
>
ng declarative pipeline inside a Stage.
>
> No need to declare it with-in environment { }.
>
> On Thu, Apr 6, 2017, 18:42 Idan Adar > wrote:
>
>> Perhaps Robert (CCed) can help?
>>
>>
>> On Thursday, April 6, 2017 at 6:08:18 PM UTC+3, Idan Adar wrote:
>>&g
:18 PM UTC+3, Idan Adar wrote:
>
> Is this a valid use of environment directive and variables in declarative
> pipeline?
>
> pipeline {
>environment {
>MY_VAR = null
>}
>
>
>stages {
> stage ("...&q
Perhaps Robert (CCed) can help?
On Thursday, April 6, 2017 at 6:08:18 PM UTC+3, Idan Adar wrote:
>
> Is this a valid use of environment directive and variables in declarative
> pipeline?
>
> pipeline {
>environment {
>MY_VAR = null
>}
>
&g
Is this a valid use of environment directive and variables in declarative
pipeline?
pipeline {
environment {
MY_VAR = null
}
stages {
stage ("...") {
steps {
MY_VAR = "this_stage"
}
}
stage (&qu