Skip to content

Commit 943dd79

Browse files
committed
Update Jenkins Plugin Tests
Signed-off-by: Ryan Richter <[email protected]>
1 parent 01069ac commit 943dd79

File tree

1 file changed

+138
-2
lines changed

1 file changed

+138
-2
lines changed

tests/jenkins.test.ps1

Lines changed: 138 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,145 @@ Describe "Jenkins Configuration" {
6969
BeforeAll {
7070
$plugins = (Get-ChildItem 'C:\ProgramData\Jenkins\.jenkins\plugins\' -Directory).Name
7171
}
72-
It "powershell is installed" {
72+
73+
It "apache-httpcomponents-client-4-api plugin is installed" {
74+
75+
'apache-httpcomponents-client-4-api' -in $plugins | Should -be $true
76+
}
77+
78+
It "bouncycastle-api plugin is installed" {
79+
80+
'bouncycastle-api' -in $plugins | Should -be $true
81+
}
82+
83+
It "branch-api plugin is installed" {
84+
85+
'branch-api' -in $plugins | Should -be $true
86+
}
87+
88+
It "caffeine-api plugin is installed" {
89+
90+
'caffeine-api' -in $plugins | Should -be $true
91+
}
92+
93+
It "cloudbees-folder plugin is installed" {
94+
95+
'cloudbees-folder' -in $plugins | Should -be $true
96+
}
97+
98+
It "display-url-api plugin is installed" {
99+
100+
'display-url-api' -in $plugins | Should -be $true
101+
}
102+
103+
It "durable-task plugin is installed" {
104+
105+
'durable-task' -in $plugins | Should -be $true
106+
}
107+
108+
It "instance-identity plugin is installed" {
109+
110+
'instance-identity' -in $plugins | Should -be $true
111+
}
112+
113+
It "ionicons-api plugin is installed" {
114+
115+
'ionicons-api' -in $plugins | Should -be $true
116+
}
117+
118+
It "jakarta-activation-api plugin is installed" {
119+
120+
'jakarta-activation-api' -in $plugins | Should -be $true
121+
}
122+
123+
It "jakarta-mail-api plugin is installed" {
124+
125+
'jakarta-mail-api' -in $plugins | Should -be $true
126+
}
127+
128+
It "javax-activation-api plugin is installed" {
129+
130+
'javax-activation-api' -in $plugins | Should -be $true
131+
}
132+
133+
It "javax-mail-api plugin is installed" {
134+
135+
'javax-mail-api' -in $plugins | Should -be $true
136+
}
137+
138+
It "mailer plugin is installed" {
139+
140+
'mailer' -in $plugins | Should -be $true
141+
}
142+
143+
It "pipeline-groovy-lib plugin is installed" {
144+
145+
'pipeline-groovy-lib' -in $plugins | Should -be $true
146+
}
147+
148+
It "scm-api plugin is installed" {
149+
150+
'scm-api' -in $plugins | Should -be $true
151+
}
152+
153+
It "script-security plugin is installed" {
154+
155+
'script-security' -in $plugins | Should -be $true
156+
}
157+
158+
It "structs plugin is installed" {
159+
160+
'structs' -in $plugins | Should -be $true
161+
}
162+
163+
It "variant plugin is installed" {
164+
165+
'variant' -in $plugins | Should -be $true
166+
}
167+
168+
It "workflow-api plugin is installed" {
169+
170+
'workflow-api' -in $plugins | Should -be $true
171+
}
172+
173+
It "workflow-basic-steps plugin is installed" {
174+
175+
'workflow-basic-steps' -in $plugins | Should -be $true
176+
}
177+
178+
It "workflow-cps plugin is installed" {
179+
180+
'workflow-cps' -in $plugins | Should -be $true
181+
}
182+
183+
It "workflow-durable-task-step plugin is installed" {
184+
185+
'workflow-durable-task-step' -in $plugins | Should -be $true
186+
}
187+
188+
It "workflow-job plugin is installed" {
189+
190+
'workflow-job' -in $plugins | Should -be $true
191+
}
192+
193+
It "workflow-multibranch plugin is installed" {
194+
195+
'workflow-multibranch' -in $plugins | Should -be $true
196+
}
197+
198+
It "workflow-scm-step plugin is installed" {
199+
200+
'workflow-scm-step' -in $plugins | Should -be $true
201+
}
202+
203+
It "workflow-step-api plugin is installed" {
204+
205+
'workflow-step-api' -in $plugins | Should -be $true
206+
}
207+
208+
It "workflow-support plugin is installed" {
73209

74-
'powershell' -in $plugins | Should -be $true
210+
'workflow-support' -in $plugins | Should -be $true
75211
}
76212
}
77213
}

0 commit comments

Comments
 (0)