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

Need the plugin could be used with Windows agents

      When we create a pipeline with this code:

      pipeline {

      agent
      {
      dockerfile {
      label 'Docker_POC__Windows2016_Node1'
      }
      }

      stages {
      stage('build') {
      steps {
      checkout scm
      bat 'set'
      }
      }
      }
      }

       

      On a windows server 2016 we obtain this error:

      Caused: java.io.IOException: Cannot run program "nohup" (in directory "c:\cbjenkins-slave1\workspace\CBJ_Docker_POC\dotNetonWindows2016"): CreateProcess error=2, The system cannot find the file specified

       

      Looks like the plugin is not prepared to works with Windows.

      We would like that the plugin has support for windows machines.

          [JENKINS-47703] Need the plugin could be used with Windows agents

            jetersen Joseph Petersen
            jraezrus Javier Raez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: