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

bat command in not executing fromwin 2019 node

XMLWordPrintable

      Recently, 

      I started to use the Jenkin pipeline and migrating my jobs to pipeline.

      It has been noticed that node with 2012 win os is executing (pipeline generated batch command) but not win 2019 node.

      Please have  a look 

      (1) Not Jenkins version-specific. Tried with Jenkins 2.289.3 and Jenkins 2.303.2. Issue replicable in both

      (2) Node os win 2019 / 64bit os and 64 bit processor

       

      the following code will be executed successfully in win 2012 box but getting skipped in 2019 windows 

      bat 'C:\\JenKin_Jobs
      NetUSeIDrive.bat' ( Have some echo in batch and console in pipeline will not show those echo in 2019 box execution )

       

      We have the workaround to execute as PowerShell but wanted to report the issue 

            bluersw Sun WeiSheng
            selvatrichy Selvaganapathy D
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: