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

EC2 agent executor and filesystem issues with pipeline matrix

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      While a matrix in a Jenkinsfile declarative pipeline with Docker agents seems to handle the executors per agent properly and provide each with a unique directory, the EC2 agents have trouble.  I have seen both shared working directories between matrix cells and multiple simultaneous executors on a single agent set to have only one executor.

      The attached files come from the GitHub repo below and can be used to recreate the scenario in a local Docker setup.  A public AMI is provided but you will have to provide your own EC2 credentials and resources, of course.

      https://github.com/altendky/jenkins-games/tree/295c50483d1bf01c8834e7dfdb7f9e0dec470468

        Attachments

        1. sample.log
          29 kB
        2. README.md
          1 kB
        3. master.Dockerfile
          0.9 kB
        4. Jenkinsfile.groovy
          4 kB
        5. jenkins_parallel_test.pem
          2 kB
        6. jenkins_casc.yaml
          2 kB
        7. docker-compose.yml
          0.3 kB
        8. agent.Dockerfile
          0.6 kB

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            thoulen FABRIZIO MANFREDI
            Reporter:
            altendky Kyle Altendorf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: