Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31741

CloudBees Docker Custom Build Environment Plugin not working

    Details

    • Similar Issues:

      Description

      CloudBees Docker Custom Build Environment Plugin is not working.
      When integrated with the github account it fetches the files and then tries to execute the Dockerfile inside the container but during execution it thows the below error.

      FATAL: Cannot run program "docker": error=2, No such file or directory
      java.io.IOException: Cannot run program "docker": error=2, No such file or directory

        Attachments

          Activity

          Hide
          aheritier Arnaud Héritier added a comment -

          From my POV (cc Nicolas De Loof) the docker package isn't installed on your slave where the build is launched

          Show
          aheritier Arnaud Héritier added a comment - From my POV (cc Nicolas De Loof ) the docker package isn't installed on your slave where the build is launched
          Hide
          rohanjoseph89 Rohan Joseph added a comment - - edited

          Arnaud Héritier I am using the default configuration of the docker plugins for the cloudbees. Means the slaves of Dev@cloud.

          Show
          rohanjoseph89 Rohan Joseph added a comment - - edited Arnaud Héritier I am using the default configuration of the docker plugins for the cloudbees. Means the slaves of Dev@cloud.
          Hide
          keylesspiano dalia a added a comment -

          does this happen even after you install docker on your jenkins server?

          Show
          keylesspiano dalia a added a comment - does this happen even after you install docker on your jenkins server?
          Hide
          ndeloof Nicolas De Loof added a comment -

          Rohan Joseph are you using this plugin on DEV@Cloud ? Docker is not supported on DEV@Cloud build slaves, so this plugin should only be used with your own slaves.

          Last but not least, please use CloudBees support portal for such DEV@Cloud infrastructure issues before you open a support request.

          Show
          ndeloof Nicolas De Loof added a comment - Rohan Joseph are you using this plugin on DEV@Cloud ? Docker is not supported on DEV@Cloud build slaves, so this plugin should only be used with your own slaves. Last but not least, please use CloudBees support portal for such DEV@Cloud infrastructure issues before you open a support request.

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              rohanjoseph89 Rohan Joseph
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: