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

Docker builds do not work with matrix project plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 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"

      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.

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

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

              Created:
              Updated:
              Resolved: