I'm getting a test failure in pipeUnit (please see below) from git bash on 
windows 10.

Any pointers will be appreciated.

Thank you


gobal variable job Jenkinsfile test Condition failed with Exception: 
testNonRegression("Jenkinsfile_should_complete_with_success") | 
org.junit.ComparisonFailure: [If you intended to update the callstack, use 
JVM parameter -Dpipeline.stack.write=true] 
expected:<...ithProperties({PROP_[2=VAL_2, PROP_1=VAL_1}) 
Jenkinsfile.echo(props = {PROP_1=VAL_1}) Jenkinsfile.stage(Two, 
groovy.lang.Closure) Jenkinsfile.steps(groovy.lang.Closure) 
Jenkinsfile.script(groovy.lang.Closure) 
Jenkinsfile.doWithProperties({PROP_2=VAL_2, PROP_1=VAL_1}) 
Jenkinsfile.echo(props = {PROP_2=VAL_2, PROP_1=VAL_1]}) "> but 
was:<...ithProperties({PROP_[1=VAL_1, PROP_2=VAL_2}) Jenkinsfile.echo(props 
= {PROP_1=VAL_1}) Jenkinsfile.stage(Two, groovy.lang.Closure) 
Jenkinsfile.steps(groovy.lang.Closure) 
Jenkinsfile.script(groovy.lang.Closure) 
Jenkinsfile.doWithProperties({PROP_1=VAL_1, PROP_2=VAL_2}) 
Jenkinsfile.echo(props = {PROP_1=VAL_1, PROP_2=VAL_2]}) "> at 
tests.job.exampleJobs.globalVariable.GlobalVariableJobTestSpec.gobal 
variable job Jenkinsfile test(GlobalVariableJobTestSpec.groovy:20) Caused 
by: org.junit.ComparisonFailure: [If you intended to update the callstack, 
use JVM parameter -Dpipeline.stack.write=true] 
expected:<...ithProperties({PROP_[2=VAL_2, PROP_1=VAL_1}) 
Jenkinsfile.echo(props = {PROP_1=VAL_1}) Jenkinsfile.stage(Two, 
groovy.lang.Closure) Jenkinsfile.steps(groovy.lang.Closure) 
Jenkinsfile.script(groovy.lang.Closure) 
Jenkinsfile.doWithProperties({PROP_2=VAL_2, PROP_1=VAL_1}) 
Jenkinsfile.echo(props = {PROP_2=VAL_2, PROP_1=VAL_1]}) "> but 
was:<...ithProperties({PROP_[1=VAL_1, PROP_2=VAL_2}) Jenkinsfile.echo(props 
= {PROP_1=VAL_1}) Jenkinsfile.stage(Two, groovy.lang.Closure) 
Jenkinsfile.steps(groovy.lang.Closure) 
Jenkinsfile.script(groovy.lang.Closure) 
Jenkinsfile.doWithProperties({PROP_1=VAL_1, PROP_2=VAL_2}) 
Jenkinsfile.echo(props = {PROP_1=VAL_1, PROP_2=VAL_2]}) "> at 
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:64)
 
at 
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 
at 
com.lesfurets.jenkins.unit.RegressionTestHelper.testNonRegression(RegressionTestHelper.groovy:35)
 
at 
com.lesfurets.jenkins.unit.RegressionTest$Trait$Helper.testNonRegression(RegressionTest.groovy:19)
 
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
 
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
... 1 more 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2836e4db-ca32-480b-ba70-729a5682203bn%40googlegroups.com.

Reply via email to