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

Since 37987 images that use ENTRYPOINT for a reason cannot be used in testing

      The fix for the issues with maven in JENKINS-37987 broke workflows that have images where the container is run and the ENTRYPOINT is epxecxted to be used... one example being a container with systemd

      there should be a way to do something like:

      docker.image('foo').inside {
      sh 'make test'
      }
      

      and have the ENTRYPOINT still run

          [JENKINS-39748] Since 37987 images that use ENTRYPOINT for a reason cannot be used in testing

          James Hogarth created issue -

          James Hogarth added a comment -

          It was mentioned that an issue should be reopened as the actual problem behind it was fixed ... this is to properly track the regression in using images with an ENTRYPOINT in an inside() style manner

          James Hogarth added a comment - It was mentioned that an issue should be reopened as the actual problem behind it was fixed ... this is to properly track the regression in using images with an ENTRYPOINT in an inside() style manner

          James Hogarth added a comment -

          https://github.com/jenkinsci/docker-workflow-plugin/pull/78 is an attempt to fix the broken workflow for those relying on ENTRYPOINT whilst using inside() by providing a new path of Image.exec()

          James Hogarth added a comment - https://github.com/jenkinsci/docker-workflow-plugin/pull/78 is an attempt to fix the broken workflow for those relying on ENTRYPOINT whilst using inside() by providing a new path of Image.exec()
          Jesse Glick made changes -
          Assignee New: James Hogarth [ hogarthj ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Jesse Glick made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-37987 [ JENKINS-37987 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-38438 [ JENKINS-38438 ]

            hogarthj James Hogarth
            hogarthj James Hogarth
            Votes:
            19 Vote for this issue
            Watchers:
            27 Start watching this issue

              Created:
              Updated: