1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
use serde::Deserialize;

use crate::helpers::Class;

use super::Job;
use crate::action::CommonAction;
use crate::build::{CommonBuild, ShortBuild};
use crate::job::ShortJob;

job_base_with_common_fields_and_impl!(
    /// A pipeline project
    #[derive(Deserialize, Debug)]
    #[serde(rename_all = "camelCase")]
    pub struct WorkflowMultiBranchProject {
        /// List of the jobs in the pipline
        pub jobs: Vec<ShortJob>,
    }
);
register_class!("org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" => WorkflowMultiBranchProject);

impl WorkflowMultiBranchProject {}