Hi,

I'm having many trouble with bat method into my Jenkinsfile, the command 
complete but the execution flow stop, both master (CentOS) and slave 
(Windows 10) thread are waiting for each other.

The following open bug seem related into the behavior.

   1. https://issues.jenkins-ci.org/browse/JENKINS-28759
   2. https://issues.jenkins-ci.org/browse/JENKINS-33164


Anybody have workaround (i'm not even using multi branch setup). The 
command have finish and all the output is logged, but it's like the master 
doesn't known it have to continue the Jenkinsfile instruction flow.

There's no way to cancel the task, the slave node hook and I have to 
restart the master node. This is particularly annoying and we cannot have 
any CI right now (happen 2 times out of 3!). Into single Master node, we 
never had this problems.

It seem to always happen with very long command on slave:

bat returnStatus: false, script: "msbuild.exe mySolution.sln ..."

The command complete successfully and we see the end of the compilation.

*18:00:58* 
*18:00:58* Build succeeded.
*18:00:58*     0 Warning(s)
*18:00:58*     0 Error(s)
*18:00:58* 
*18:00:58* Time Elapsed 00:15:41.55


So I have to restart the master node (there's nothing into the console 
output inbetween):

Waiting to resume part of Bodycad cpp projects » CAD_CPP_ContinuousBuild #113: 
Windows 10 Node <http://bcadlx03/Jenkins/computer/Windows%2010%20Node/> is 
offline
Waiting to resume part of Bodycad cpp projects » CAD_CPP_ContinuousBuild #113: 
Windows 10 Node <http://bcadlx03/Jenkins/computer/Windows%2010%20Node/> is 
offline
Ready to run at Thu Mar 09 09:22:34 EST 2017


I'm wondering if the timestamps{ } maybe in cause or simply the bat 
instructions is failing at resuming the Jenkinsfile flow.

Any info or help would be welcome, I can't imagine I'm the only one who 
have this problems, since it's such a basic usage and setup?

Jerome

-- 
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/4c89d4ed-e4e4-4080-ae57-db02aeed31ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to