Skip to content

Commit

Permalink
Fixes #388: withEnv split only first equals
Browse files Browse the repository at this point in the history
  • Loading branch information
Brenne committed Jan 5, 2022
1 parent 4e69ada commit ed41bc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ abstract class BasePipelineTest {
}

list.each {
def item = it.split('=')
def item = it.split('=', 2)
assert item.size() == 2, "withEnv list does not look right: ${list.toString()}"
addEnvVar(item[0], item[1])
}
Expand Down

0 comments on commit ed41bc8

Please sign in to comment.