Skip to content

Commit

Permalink
Add Jenkinsfile
Browse files Browse the repository at this point in the history
+ add dummy test
  • Loading branch information
batmat committed Feb 1, 2022
1 parent a25ae61 commit edbced0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env groovy

buildPlugin(useContainerAgent: true,
configurations: [
[platform: 'linux', jdk: '8'],
[platform: 'windows', jdk: '8'],

// testing the Guava & Guice bumps
// https://github.com/jenkinsci/jenkins/pull/5707
// https://github.com/jenkinsci/jenkins/pull/5858
[ platform: "linux", jdk: "8", jenkins: '2.321', javaLevel: "8" ]
])
13 changes: 13 additions & 0 deletions src/test/java/jenkins/DeployedOnColumnTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package jenkins;

import org.junit.Assert;
import org.junit.Test;

import jenkins.plugins.deployedoncolumn.DeployedOnColumn;

public class DeployedOnColumnTest {
@Test
public void isAbsolute() {
Assert.assertTrue(new DeployedOnColumn().isAbsolute("/"));
}
}

0 comments on commit edbced0

Please sign in to comment.