I got 2 Different Projects in Jenkins Lets call them Job A and Job B

Job A - Delete old Code , Get Latest Code from TFS , Build the Code , Test 
IT 
Job B - Compile Less files to CSS

I used to have Job B as a step in Job A but due to that it takes more than 
10 minutes and not dependent on anything other than Getting the code and 
can run in parallel to the rest of the Tasks, 
I seperated it into Seperate Job (Job B ) and now i have a step in Job A to 
execute Job B as a non-blocking Step . 

My Problem :
Job B takes around 11-15 minutes while Job A takes around 5 ,
Sometimes Job A starts Again before Job B is done and then fails right 
after (Because it cant delete the files that are being used in Job B) 

How is it possible for me to still allow Job B to start while Job A is 
running , but prevent Job A from starting while Job B still running? 

Thanks in Advance 
Yonnatan

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/232a66a9-d090-43b3-96d4-5f6fbeb3c2ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to