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

JNLP container is launched with default arguments even with an explicit container definition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: kubernetes-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.107.2
      Kubernetes plugin 1.5.2
    • Similar Issues:

      Description

      Since Kubernetes plugin 1.5.2, this pipeline script:

       

      podTemplate (
          cloud: 'my-cloud',
          label: 'my-pod',
          containers: [
              containerTemplate(
                  name: 'jnlp',
                  image: 'my-image')]
      ) {
          // ...
      }
      

      will run my-image with the default command line arguments, namely the node secret and node name. Prior to this version, it would run the image with no arguments.

      This is a problem for me, because my image gets confused by the additional arguments. I think this should be considered a regression.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                csanchez Carlos Sanchez
                Reporter:
                rdonchen_intel Roman Donchenko
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: