[JIRA] (JENKINS-50897) Running a project outside docker after specifying a dockerfile results in jenkins trying to run docker on the non-docker host

2 views
Skip to first unread message

jenkins-ci@philipp-weissmann.de (JIRA)

unread,
Apr 19, 2018, 6:59:02 AM4/19/18
to jenkinsc...@googlegroups.com
Philipp Weißmann created an issue
 
Jenkins / Bug JENKINS-50897
Running a project outside docker after specifying a dockerfile results in jenkins trying to run docker on the non-docker host
Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: core, docker, pipeline
Created: 2018-04-19 10:58
Labels: docker
Priority: Major Major
Reporter: Philipp Weißmann

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)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

jenkins-ci@philipp-weissmann.de (JIRA)

unread,
Apr 19, 2018, 7:10:01 AM4/19/18
to jenkinsc...@googlegroups.com
Philipp Weißmann updated an issue
Change By: Philipp Weißmann
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.

nicolas.deloof@gmail.com (JIRA)

unread,
Apr 19, 2018, 9:39:02 AM4/19/18
to jenkinsc...@googlegroups.com

nicolas.deloof@gmail.com (JIRA)

unread,
Apr 19, 2018, 9:39:02 AM4/19/18
to jenkinsc...@googlegroups.com
Nicolas De Loof updated an issue
Change By: Nicolas De Loof
Component/s: docker-workflow-plugin
Component/s: core
Component/s: docker
Component/s: pipeline

nicolas.deloof@gmail.com (JIRA)

unread,
Apr 19, 2018, 9:40:02 AM4/19/18
to jenkinsc...@googlegroups.com
Nicolas De Loof updated an issue
Change By: Nicolas De Loof
Component/s: pipeline-model-definition-plugin
Component/s: docker-workflow-plugin

jenkins-ci@philipp-weissmann.de (JIRA)

unread,
Apr 19, 2018, 10:43:03 AM4/19/18
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Apr 24, 2018, 11:15:02 AM4/24/18
to jenkinsc...@googlegroups.com
Andrew Bayer resolved as Duplicate
 

Yup, this is exactly the same root problem as JENKINS-46831, sadly.

Change By: Andrew Bayer
Status: Open Resolved
Resolution: Duplicate

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:25:10 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Duplicate
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages