riable when
>>> using declarative pipeline inside a Stage.
>>>
>>> No need to declare it with-in environment { }.
>>>
>>> On Thu, Apr 6, 2017, 18:42 Idan Adar <id...@adar.me> wrote:
>>>
>>>> Perhaps Robert (CCed) can help?
&g
hu, Apr 6, 2017, 18:42 Idan Adar <id...@adar.me> 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
clarative pipeline inside a Stage.
>
> No need to declare it with-in environment { }.
>
> On Thu, Apr 6, 2017, 18:42 Idan Adar <id...@adar.me > wrote:
>
>> Perhaps Robert (CCed) can help?
>>
>>
>> On Thursday, April 6, 2017 at 6:08:18 PM UTC+3, Idan Adar wrote
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
>}
>
>
>stages {
> stage ("
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