Skip to content

Commit

Permalink
Add Jenkinsfile. (#11)
Browse files Browse the repository at this point in the history
* Add Jenkinsfile.

* Update pom.xml

* Update pom.xml

* Disable tests.

* Disable tests.

* Fix Javadoc

* Update dependencies.

* Enable tests.
  • Loading branch information
jherter authored Sep 16, 2024
1 parent d6fdada commit 0b1421a
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 8 deletions.
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
buildPlugin(
useContainerAgent: true,
configurations: [
[platform: 'linux', jdk: 21],
[platform: 'windows', jdk: 17]
],
)
75 changes: 68 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.86</version>
<version>4.85</version>
<relativePath />
</parent>

Expand All @@ -18,7 +18,7 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer to run. -->
<jenkins.version>2.164.1</jenkins.version>
<jenkins.version>2.426.3</jenkins.version>
<java.level>8</java.level>
</properties>

Expand Down Expand Up @@ -56,17 +56,78 @@
</scm>

<dependencies>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>warnings-ng</artifactId>
<version>11.4.0</version>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>warnings-ng</artifactId>
<version>11.3.0</version>
</dependency>
<!-- Override parent spotbugs-annotations dependency and use version as in warnings-ng -->
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>4.8.6</version>
</dependency>

<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>structs</artifactId>
<version>337.v1b_04ea_4df7c8</version>
</dependency>

<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-step-api</artifactId>
<version>657.v03b_e8115821b_</version>
</dependency>

<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>font-awesome-api</artifactId>
<version>6.5.1-3</version>
</dependency>

<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>3.1.8</version>
</dependency>

<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>caffeine-api</artifactId>
<version>3.1.8-133.v17b_1ff2e0599</version>
</dependency>

<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>scm-api</artifactId>
<version>683.vb_16722fb_b_80b_</version>
</dependency>

<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20240205</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.12</version>
</dependency>

<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>2.21.1</version>
</dependency>

<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>commons-text-api</artifactId>
<version>1.11.0-95.v22a_d30ee5d36</version>
</dependency>

</dependencies>

<repositories>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/absint/astree/AlarmType.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public enClass getAlarmClass() {
/**
* set type
*
* @param set alarm type
* @param type alarm type
*
* @return this
*/
Expand Down

0 comments on commit 0b1421a

Please sign in to comment.