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,380 points
170 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,810 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
• 45,780 points
336 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,920 points
1,215 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,920 points
50 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 in Jenkins by Mukul

closed Jul 5 by Vardhan 178 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,380 points
247 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,810 points
310 views
0 votes
2 answers