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

Docker builds do not work with matrix project plugin

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Labels:
    • Environment:
      Ubuntu 14.04.2 LTS
      Linux 3.13.0-53-generic x86_64
      GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
      java version "1.7.0_79"
    • Similar Issues:

      Description

      When launching a build for a matrix project the job stays infinitely waiting on slaves and the docker plugin does not spin up any containers. I have published scripts which automatically generate a matrix build job if you wish to test this.

      https://github.com/samrocketman/jenkins-bootstrap-jervis

      1. export a GitHub API token.
      2. Provision a jenkins instance with ./jervis_bootstrap.sh
      3. When Jenkins is up press the build botton on "Generate Jenkins job from YAML" and generate the project "samrocketman/jervis"
      4. Visit "GitHub Organizations" tab and see the jervis-master job for a working builder.
      5. Configure the docker plugin and update the samrocketman/jervis-master Jenkins job to use a docker slave.

      You'll notice that it just stays infinitely in the queue because jobs never appear.

        Attachments

        1. config.xml
          3 kB
        2. config.xml
          17 kB
        3. credentials.xml
          0.9 kB
        4. my_jenkins_home.tar.gz
          6 kB

          Activity

          Show
          sag47 Sam Gleske added a comment - https://github.com/jenkinsci/docker-plugin/issues/242
          Hide
          integer Kanstantsin Shautsou added a comment -

          Duplicates GH issue

          Show
          integer Kanstantsin Shautsou added a comment - Duplicates GH issue
          Hide
          sag47 Sam Gleske added a comment -

          One config.xml is the global config. The other config.xml is the job config. The credentials.xml is the credentials for the docker container: https://github.com/samrocketman/docker-jenkins-jervis

          Show
          sag47 Sam Gleske added a comment - One config.xml is the global config. The other config.xml is the job config. The credentials.xml is the credentials for the docker container: https://github.com/samrocketman/docker-jenkins-jervis

            People

            • Assignee:
              integer Kanstantsin Shautsou
              Reporter:
              sag47 Sam Gleske
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: