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,360 points
83 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,520 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
• 35,800 points
96 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,900 points
697 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,900 points
20 views
+1 vote
2 answers

What possible return values are there in Jenkins plugin “Sonarqube scanner”

Use Webhooks in SonarQube Administration setup to ...READ MORE

answered Aug 3, 2018 in Jenkins by Nilesh
• 6,900 points
1,083 views
+13 votes
2 answers
0 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,520 points
92 views
0 votes
2 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.