Hi. I'm getting this error when trying to run first build in the "Validate Jenkins" chapter of the Templating Engine tutorial:
[JTE] Obtained Pipeline Template from job configuration
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/validate
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
- docker inspect -f . maven
The command 'docker' could not be found in this WSL 2 distro.
We recommend to activate the WSL integration in Docker Desktop settings.
See https://docs.docker.com/docker-for-windows/wsl/ for details.
[Pipeline] isUnix
[Pipeline] sh
The command 'docker' could not be found in this WSL 2 distro.
We recommend to activate the WSL integration in Docker Desktop settings.
See https://docs.docker.com/docker-for-windows/wsl/ for details.
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
I'm having various wsl distros, even wsl1 and wsl2. But my default wsl distro is setting to one wsl2 valid one (in fact, the jenkins where i'm running the tutorial is executing in a docker container launched from that wsl2 distro -Ubuntu-20.04 for reference-.
Hi. I'm getting this error when trying to run first build in the "Validate Jenkins" chapter of the Templating Engine tutorial:
[JTE] Obtained Pipeline Template from job configuration
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/validate
[Pipeline] {
[Pipeline] isUnix
[Pipeline] sh
The command 'docker' could not be found in this WSL 2 distro.
We recommend to activate the WSL integration in Docker Desktop settings.
See https://docs.docker.com/docker-for-windows/wsl/ for details.
[Pipeline] isUnix
[Pipeline] sh
The command 'docker' could not be found in this WSL 2 distro.
We recommend to activate the WSL integration in Docker Desktop settings.
See https://docs.docker.com/docker-for-windows/wsl/ for details.
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE
I'm having various wsl distros, even wsl1 and wsl2. But my default wsl distro is setting to one wsl2 valid one (in fact, the jenkins where i'm running the tutorial is executing in a docker container launched from that wsl2 distro -Ubuntu-20.04 for reference-.