Hi

I have a multi-stage pipeline using a global docker agent, except at one 
stage where I need to use  none docker agent ( ie a just a pure linux host)

and run to this error and look like my stage still inside docker from the 
previous stage.  is it a bug?

[Bitbucket] Notifying commit build result[Pipeline] withEnv[Pipeline] 
{[Pipeline] script[Pipeline] {[Pipeline] withMaven[withMaven] Options: []
[withMaven] Available options: 
[withMaven] use JDK installation provided by the build agent
WARNING: Specified Maven 'M3' cannot be installed, will be ignored.Step running 
within docker.image() tool installations are not available see 
https://issues.jenkins-ci.org/browse/JENKINS-36159. 
$ docker exec ff8d1de358d03e06f316c42208c6dd49fb02d41214f59e18a744e21e911e9353 
env printenv MAVEN_HOME
$ docker exec ff8d1de358d03e06f316c42208c6dd49fb02d41214f59e18a744e21e911e9353 
env printenv M2_HOME
$ docker exec ff8d1de358d03e06f316c42208c6dd49fb02d41214f59e18a744e21e911e9353 
env /bin/sh -c "which mvn"
[withMaven] with executable null


Thanks


-Dan

-- 
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/f6a349c4-32b2-4442-902b-e658488d8a16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to