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
1,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,890 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
• 52,350 points
2,432 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
• 7,060 points
5,679 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
• 7,060 points
1,947 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 1,166 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 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,890 points
2,297 views
0 votes
2 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP