Can I set job weight in a pipeline script?

7 views
Skip to first unread message

William McLendon

unread,
Sep 6, 2018, 5:57:53 PM9/6/18
to Jenkins Users
We're doing some experimentation in our environment with pipelines using the scripted interface.  Generally, it's doing what we want but we typically do jobs that use > 1 core and I haven't found any way to set the job weight in the pipeline script, so I thought I'd ask... is there any way to set the job weight in a pipeline script?  

Ideally, it'd be nice to set on a per node() {...} basis but I'm not terribly picky, being able to schedule N executors on our build slaves for the whole job would let us move forward.

Thanks!
Reply all
Reply to author
Forward
0 new messages