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

build.bat' is not recognized as an internal or external command, operable program or batch file.

    Details

    • Similar Issues:

      Description

      unable to run the bat file from pipeline in slave node- in few nodes its working and in few nodes it doesnt


      build.bat' is not recognized as an internal or external command,
      operable program or batch file.

        Attachments

          Activity

          Hide
          nramaiah_098 Narayanasamy Ramaiah added a comment - - edited

          stage('Parallel Regression') 

          {

                   buildnumber = buildno()

          generateAndUnzipTAFBuild =

          {
                      ws("$codeBase/16.5.1")

                     

          {                                 bat "d2unitybuild.bat"           }

          }

          commonCode =

          {             generateAndUnzipTAFBuild()       }

              node('node1')

             

          {                           commonCode Stories             }

          }

          Show
          nramaiah_098 Narayanasamy Ramaiah added a comment - - edited stage('Parallel Regression')  {          buildnumber = buildno() generateAndUnzipTAFBuild = {             ws("$codeBase/16.5.1")             {                                 bat "d2unitybuild.bat"           } } commonCode = {             generateAndUnzipTAFBuild()       }     node('node1')     {                           commonCode Stories             } }
          Hide
          bitwiseman Liam Newman added a comment -

          Narayanasamy Ramaiah

          Please include the log file from the pipeline in question.   

          Also, it looks like the above is trying to run "d2unitybuild.bat"  not "build.bat".  Unclear what you're pointing to.

          Show
          bitwiseman Liam Newman added a comment - Narayanasamy Ramaiah Please include the log file from the pipeline in question.    Also, it looks like the above is trying to run "d2unitybuild.bat"  not "build.bat".  Unclear what you're pointing to.

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              nramaiah_098 Narayanasamy Ramaiah
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: