You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
I have a very simple build step set up: Pull the change from a gerrit server and then build that change. I do pull patchset so the pull doesn't download the whole repo. I also set up a workspace for the next task to compile the downloaded patchset. My question is: Can this run into a race condition? My build takes around 1 minute and if someone commits something in that 1 minute I'm afraid the other task will fire and will overwrite the workspace, since it's a shared workspace.
Björn Pedersen
unread,
Jun 13, 2016, 4:02:16 AM6/13/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Hi,
if it is a shared workspace, then yes, it will have a race condition. Use one of the lock-out plugins to limit the concurrency of the job to 1, then the jobs will get queued instead.
Björn
Berceanu Cristian
unread,
Jun 13, 2016, 8:34:10 AM6/13/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message