We've built a Jenkins test project where we can reproduce the issue. Following requirements and project setup describes how you we can reproduce the error deterministically.

Software requirements:

  • Jenkins version 1.598
  • Build Flow Plugin version 0.9.1
  • Java version 1.7.0_72
  • C# Script execution engine version 3.8.10.0
  • C# Script BuildFlowPluginTest.cs

Test environment:

  • Jenkins master runs on a virtual machine with Windows 7 SP1 32 bit
  • 8 Jenkins slaves physical machines with Windows7 SP1 64 bit
  • 6 Jenkins slaves virtual machines with Windows 7 SP1 32 bit

Jenkins projects

We have two Jenkins Build Flow projects:

  • StressTest_Job
  • StressTest_Job_2
    Both are executing the same StressTest_SubJob.
  1. Create a Build Flow project StressTest_Job and StressTestJob_2 with following configuration like on the screenshots (see attached StressTest_Job_config_1 - StressTest_Job_config_3).
  2. Create a Jenkins project job similar to the screenshots (see attached StressTest_SubJob_config_1 - StressTest_SubJob_config_3). The only difference to our configuration is the section "Source Code Management". Set this configuration to "None" and add on the section "Build\Command" a copy command which copies the "BuildFlowPluginTest.cs" to the Jenkins slave workspace for execution.

Sample command code for the build section (Windows batch):

@echo off 

xcopy /e "\\Server\project\ BuildFlowPluginTest.cs" %workspace% 

ping %Parameter% -n 10

cscs BuildFlowPluginTest.cs 10000

ping %Parameter% -n 10

See also the attached C# script BuildFlowPluginTest.cs code.

Change By: Nebu Kadnezar (23/Mar/15 4:14 PM)
Attachment: BuildFlowPluginTest.cs
Attachment: StressTest_Job_config_1.png
Attachment: StressTest_Job_config_2.png
Attachment: StressTest_Job_config_3.png
Attachment: StressTest_SubJob_config_1.png
Attachment: StressTest_SubJob_config_2.png
Attachment: StressTest_SubJob_config_3.png
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to