-
Bug
-
Resolution: Duplicate
-
Major
I set up an example repository to demonstrate the problem: https://github.com/derphilipp/jenkins_docker_host_bug
We assume we have a node/slave/agent to run docker on (label "docker")
and a non-docker node/slave/agent (here: raspberrypi).
Although the second step in the file has a different agent set, Jenkins still tries to call the docker command to set up something which results in file-not-found exception in Java (see README.md of the example project)
In this example it could be fixed by specifying the node/agent/slave not for the whole pipeline but for the first step, but I want the use the default for every step in a longer Jenkinsfile.
- duplicates
-
JENKINS-46831 Not able to use a normal agent on stage when agent docker is declared globally
-
- Open
-
[JENKINS-50897] Running a project outside docker after specifying a dockerfile results in jenkins trying to run docker on the non-docker host
Description |
Original:
I set up an example repository to demonstrate the problem: [https://github.com/derphilipp/jenkins_docker_host_bug] We assume we have a node/slave/agent to run docker on (label "docker") and a non-docker node/slave/agent (here: raspberrypi). Although the second step in the file has a different agent set, Jenkins still tries to call the docker command to set up something which results in file-not-found exception in Java (see README.md of the example project) |
New:
I set up an example repository to demonstrate the problem: [https://github.com/derphilipp/jenkins_docker_host_bug] We assume we have a node/slave/agent to run docker on (label "docker") and a non-docker node/slave/agent (here: raspberrypi). Although the second step in the file has a different agent set, Jenkins still tries to call the docker command to set up something which results in file-not-found exception in Java (see README.md of the example project) In this example it could be fixed by specifying the node/agent/slave not for the whole pipeline but for the first step, but I want the use the default for every step in a longer Jenkinsfile. |
Component/s | New: docker-workflow-plugin [ 20625 ] | |
Component/s | Original: core [ 15593 ] | |
Component/s | Original: docker [ 20834 ] | |
Component/s | Original: pipeline [ 21692 ] |
Assignee | Original: Nicolas De Loof [ ndeloof ] |
Component/s | New: pipeline-model-definition-plugin [ 21706 ] | |
Component/s | Original: docker-workflow-plugin [ 20625 ] |
Link | New: This issue duplicates JENKINS-46831 [ JENKINS-46831 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Probably related to https://issues.jenkins-ci.org/browse/JENKINS-46831