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

Declarative pipeline with Docker image overrides PATH inside container on Windows

XMLWordPrintable

      It shouldn't override container PATH.

      My pipeline

      pipeline {
          agent none
          
          stages {
              stage('app02') {
                  agent {
                      docker {
                          label "app02"
                          image "ghcr.visualon.de/visualon/builder"
                      }
                  }
                  steps {
                      bat 'set'
                      bat 'msbuild -version'
                  }
              }
              stage('docker-d03') {
                  agent {
                      docker {
                          label "docker-d03"
                          image "ghcr.visualon.de/visualon/builder"
                      }
                  }
                  steps {
                      bat 'set'
                      bat 'msbuild -version'
                  }
              }
          }
      }
      

            Unassigned Unassigned
            viceice Michael Kriese
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: