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,400 points
212 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,850 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,830 points
436 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,960 points
1,470 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,960 points
67 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 246 views
+13 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,400 points
361 views
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,850 points
457 views
0 votes
2 answers