gulp serve & not working in jenkins

0 votes

I have my jenkins set up for a web app I built with next script:

gulp
gulp serve &

If I use ampersand('&'), it works fine, but the job doesn't end, and if use '&', I can't look for the listening port but it ends successfully. What I want to do is, that when the job finishes, another job comes and tests it. Any way to achieve this?

May 11, 2018 in Jenkins by DragonLord999
• 8,450 points
329 views

1 answer to this question.

0 votes

Try using nohup. It will creates nohup.out in case you need logs for it.

nohup gulp serve
answered May 11, 2018 by DareDev
• 6,870 points

Related Questions In Jenkins

0 votes
2 answers

Subversion (SVNKIT) not working in Jenkins

Jenkins doesn't use the installed Subversion command ...READ MORE

answered Aug 8, 2018 in Jenkins by Kalgi
• 51,970 points
799 views
0 votes
1 answer

Jenkins console output not in realtime

Make sure your script is flushing it ...READ MORE

answered Aug 7, 2018 in Jenkins by Nilesh
• 6,980 points
2,500 views
0 votes
1 answer

Jenkins hook not working

You have the wrong endpoint - it ...READ MORE

answered Aug 7, 2018 in Jenkins by Nilesh
• 6,980 points
289 views
0 votes
0 answers

Developing Continuous Delivery Pipeline using Git, Jenkins, Maven & Tomcat - join link. Registered today but not geeting link to joinin

Developing Continuous Delivery Pipeline using Git, Jenkins, ...READ MORE

Jul 4, 2019 in Jenkins by Mukul

closed Jul 5, 2019 by Vardhan 378 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
740 views
+2 votes
1 answer
0 votes
1 answer

unable to compile java code in Jenkins

If the code is compiling and running ...READ MORE

answered Apr 25, 2018 in Jenkins by DareDev
• 6,870 points
854 views
0 votes
2 answers