1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
use serde::Deserializer;
mod parameters;
pub use self::parameters::Parameter;
mod causes;
pub use self::causes::Cause;
pub mod git;
pub mod maven;
tagged_enum_or_default!(
pub enum Action {
ParametersAction (_class = "hudson.model.ParametersAction") {
parameters: Vec<Parameter>,
},
CauseAction (_class = "hudson.model.CauseAction") {
causes: Vec<Cause>,
},
GitBuildData (_class = "hudson.plugins.git.util.BuildData" ) {
scm_name: String,
last_built_revision: git::Revision,
remote_urls: Vec<String>,
builds_by_branch_name: git::BuildsByBranch,
},
GitTagAction (_class = "hudson.plugins.git.GitTagAction" ) {
},
RepoTagAction (_class = "hudson.plugins.repo.TagAction" ) {
},
TimeInQueueAction (_class = "jenkins.metrics.impl.TimeInQueueAction" ) {
},
EnvActionImpl (_class = "org.jenkinsci.plugins.workflow.cps.EnvActionImpl" ) {
},
FlowGraphAction (_class = "org.jenkinsci.plugins.workflow.job.views.FlowGraphAction" ) {
nodes: Vec<PipelineNode>,
},
MavenArtifactRecord (_class = "hudson.maven.reporters.MavenArtifactRecord" ) {
url: String,
attached_artifacts: Vec<maven::Artifact>,
main_artifact: maven::Artifact,
parent: ::build::ShortBuild,
pom_artifact: maven::Artifact,
},
MavenAggregatedArtifactRecord (_class = "hudson.maven.reporters.MavenAggregatedArtifactRecord" ) {
module_records: Vec<maven::MavenArtifactRecord>,
},
SurefireReport (_class = "hudson.maven.reporters.SurefireReport" ) {
fail_count: u32,
skip_count: u32,
total_count: u32,
url_name: String,
},
SurefireAggregatedReport (_class = "hudson.maven.reporters.SurefireAggregatedReport" ) {
fail_count: u32,
skip_count: u32,
total_count: u32,
url_name: String,
},
PipelineApproverAction (_class = "org.jenkinsci.plugins.workflow.support.steps.input.ApproverAction" ) {
user_id: String,
},
}
);
tagged_enum_or_default!(
pub enum PipelineNode {
FlowStartNode (_class = "org.jenkinsci.plugins.workflow.graph.FlowStartNode") {},
StepStartNode (_class = "org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode") {},
StepAtomNode (_class = "org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode") {},
StepEndNode (_class = "org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode") {},
FlowEndNode (_class = "org.jenkinsci.plugins.workflow.graph.FlowEndNode") {},
}
);