Struct jenkins_api::QueueItem
[−]
[src]
pub struct QueueItem { pub blocked: bool, pub buildable: bool, pub cancelled: Option<bool>, pub id: u32, pub in_queue_since: u64, pub params: String, pub stuck: bool, pub task: ShortJob, pub url: String, pub why: Option<String>, pub buildable_start_milliseconds: Option<u64>, pub executable: Option<ShortBuild>, pub actions: Vec<Action>, }
A queued item in Jenkins, with information about the Job
and why / since when it's waiting
Fields
blocked: bool
Is this item blocked
buildable: bool
Is this item buildable
cancelled: Option<bool>
Has this item been cancelled
id: u32
ID in the queue
in_queue_since: u64
When was it added to the queue
params: String
Task parameters
stuck: bool
Is the job stuck? Node needed is offline, or waitied for very long in queue
task: ShortJob
Link to the job waiting in the queue
url: String
URL to this queued item
why: Option<String>
Why is this task in the queue
buildable_start_milliseconds: Option<u64>
When did the job exited the queue
executable: Option<ShortBuild>
Link to the build once it has started
actions: Vec<Action>
Build actions
Methods
impl QueueItem
[src]
pub fn refresh_item(self, jenkins_client: &Jenkins) -> Result<Self, Error>
[src]
Refresh a QueueItem
, consuming the existing one and returning a new QueueItem