Running bat files in Jenkins

后端 未结 4 793
再見小時候
再見小時候 2021-01-02 03:09

I have a simple question. I want to run a bat file that should run post build. The bat file takes in to parameters previousVersion and currentVersion (These parameters are

4条回答
  •  青春惊慌失措
    2021-01-02 03:34

    I tried to do like this, first point it to the path where your bat file exists, and then 'call' command to trigger that bat file. As below:

    cd yourFilePath
    

    and then

    call yourFile.bat
    

提交回复
热议问题