• Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • kubernetes-plugin
    • None
    • Kubernetes plugin 0.12

      It looks like the declarative syntax only allows a single container to be declared. If I declare multiple containers, there's no syntax error or warning from Jenkins; but the build fails with:
      java.io.IOException: Failed to execute shell script inside container [java] of pod [example-611rx-r29z2]. Timed out waiting for container to become ready!
      ...it appears to create whichever containerTemplate was declared last, and ignore previous ones.

          [JENKINS-46658] declarative syntax only allows one container?

          cjyar created issue -
          James Strachan made changes -
          Link New: This issue depends on JENKINS-48135 [ JENKINS-48135 ]
          Carlos Sanchez made changes -
          Link New: This issue duplicates JENKINS-48135 [ JENKINS-48135 ]
          Carlos Sanchez made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Carlos Sanchez made changes -
          Link Original: This issue depends on JENKINS-48135 [ JENKINS-48135 ]

            csanchez Carlos Sanchez
            cjyar cjyar
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: