You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/doc/developer/testing/index.adoc
+3-20Lines changed: 3 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,27 +79,10 @@ The following list covers typical integration tests:
79
79
</dependency>
80
80
----
81
81
82
-
To avoid manually managing dependency versions and to prevent conflicts between Jenkins components,
83
-
it is recommended to use the Jenkins Bill of Materials (BOM).
84
-
The BOM aligns compatible versions across the Jenkins ecosystem and is the standard approach
85
-
for Jenkins plugin development.
82
+
To avoid manually managing dependency versions and to prevent conflicts between Jenkins components, it is recommended to use the Jenkins Bill of Materials (BOM).
83
+
The BOM aligns compatible versions across the Jenkins ecosystem and is the standard approach for Jenkins plugin development.
86
84
87
-
[source,xml]
88
-
----
89
-
<dependencyManagement>
90
-
<dependencies>
91
-
<dependency>
92
-
<groupId>io.jenkins.tools.bom</groupId>
93
-
<artifactId>bom-${jenkins.version}.x</artifactId>
94
-
<version>${bom.version}</version>
95
-
<type>pom</type>
96
-
<scope>import</scope>
97
-
</dependency>
98
-
</dependencies>
99
-
</dependencyManagement>
100
-
----
101
-
102
-
The BOM version should be selected to match the Jenkins version being tested to ensure dependency compatibility.
85
+
Details on configuring and using the Jenkins plugin BOM are documented in the link:/doc/developer/tutorial-improve/use-plugin-bill-of-materials/[Use the plugin BOM] section of the Improve a plugin tutorial.
103
86
104
87
==== Depending on Other Plugins
105
88
Any Jenkins plugins that you add as dependencies to your POM with `<scope>test</scope>` will be available in the Jenkins installations created while running test cases, or when using link:/doc/developer/tutorial/run/[`mvn hpi:run`].
0 commit comments