I have started recently using Jenkins in windows 10. I have a freestyle job 
that sync from the SCM, build a C++ solution and then it runs a batch 
script to upload to steam. I am trying to convert it to pipeline as I 
realized reading the documentation how much more powerful it is. My problem 
is that on the step to run the .bat file it gets stuck forever, this is the 
step:
```
...
Stage('batch script'){
            steps{
                bat 'start C:/Users/User/.jenkins/workspace/Project/Steam 
Build 
                Scripts/scripts/build_dev.bat'
            }
        }
...
```

and this is the simple .bat file:
```
"C:\Users\User\.jenkins\workspace\Project\Steam Build 
Scripts\builder\steamcmd.exe" +login "someUser" "somePassword" 
+run_app_build "C:\Users\User\.jenkins\workspace\Project\Steam Build 
Scripts\scripts\app-build-813780-dev.vdf" +quit

```

running the same file from the freestyle job works fine like this:[image: 
10IC9 (1).png]

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e9a2b099-812c-4cb3-a459-0000f874e455n%40googlegroups.com.

Reply via email to