Get jenkins workspace build number when running job in parallel

111 views
Skip to first unread message

COLLIGNON, Thomas

unread,
Aug 11, 2015, 10:25:31 AM8/11/15
to jenkins...@googlegroups.com

Hi,

 

If someone knows a way to get the workspace number when a job is running in parallel ? (execute multiple builds concurrently)

 

Is there a variable for this?

 

In Jenkins docs : When Jenkins creates different workspaces for isolation, Jenkins appends "@num" to the workspace directory name, e.g. "@2".

 

I would get the @num variable.

 

Thanks all

 

 

Reply all
Reply to author
Forward
0 new messages