Jenkins 2.0-beta 2: Pipeline on Windows not working

78 views
Skip to first unread message

Javed Mandary

unread,
Apr 6, 2016, 7:01:40 AM4/6/16
to Jenkins Users
Hi,
    am currently using :

1. Jenkins 2.0-beta 2
2. JDK  1.8.0_77:

java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)


Just creating a small pipeline project with the sample default  Hello Word Pipline script doesnt work

When you run the build the  project stays indefinitely in progress and nothing happens.

I have checked  the WAR deployed on tomcat 8 as well as using the installer for windows both give the same results.

kind regards,
 Javed

Daniel Beck

unread,
Apr 7, 2016, 7:15:28 AM4/7/16
to jenkins...@googlegroups.com

On 06.04.2016, at 13:01, Javed Mandary <jav...@gmail.com> wrote:

> When you run the build the project stays indefinitely in progress and nothing happens.
>
> I have checked the WAR deployed on tomcat 8 as well as using the installer for windows both give the same results.
>

If your version of the Pipeline plugin is 2.0, update it to 2.1.

Daniel Daugherty

unread,
Apr 8, 2016, 4:17:55 PM4/8/16
to Jenkins Users, m...@beckweb.net

I am having similar issue.  I am using the RC with latest plugins 2.1

When I have a bat call that takes a little time the job does not relize it has completed.  I can see from task manager on the jenkins machine that the bat task is complete.  Two CMD instance are spun up when the task start one for jenkins-wrap.bat and one for jenkins-main.bat.  Then the acctual task happing in the main bat such as NODE for npm or 7zip or javac etc.  Once all of these are no longer running in taskmanager completed on thier own.  I check jenkins and job still things things are working.  Check the durable task folder where the jenkins-wrap and main bat files have been writen and no jenkins-result.txt file has been written.  With the 2.0beta this hangs consistenly 95% of the time.  With the RC I am seeing less hanging.  The job log shows the results of the bat file but never moved on to the next task.  

A ThreadDump shows: 

 Thread #2

                at DSL.bat(Native Method)

                at WorkflowScript.run(WorkflowScript:12)

                at DSL.node(Native Method)

                at WorkflowScript.run(WorkflowScript:1)


I have to kill the Job task or mannualy create a jenkins-result.txt file for the job to end.  This is making for an unusable setup.  


Daniel D. 

Reply all
Reply to author
Forward
0 new messages