Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JENKINS-41449] RestAPI feature based on hashes
RestAPI feature: creating a list of elements with some hierarchy RestAPI feature: refreshing data when quering through the api otherwise it will keep the previous run which means null when it hasn't been requested through the UI RestAPI feature: fixing bug when creating a list of elements with some hierarchy Deprecated public api and created an alternative one based on Hashes Added some test api cases Added Rest API test cases Excluding evil macosx files Removed wrong size method Using the class name rather than the package+class name, then those data structures amp correctly
- Loading branch information
Showing
with
121 additions
and 19 deletions.
- +2 −0 .gitignore
- +42 −4 src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java
- +6 −0 src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java
- +6 −0 src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java
- +1 −1 src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java
- +1 −1 src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java
- +17 −1 src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java
- +7 −0 src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java
- +17 −0 src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java
- +7 −7 src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly
- +15 −5 src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -8,3 +8,5 @@ jenkins.war | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -7,7 +7,7 @@ | ||
* @author Victor Martinez | ||
*/ | ||
public interface InterfaceCheck { | ||
public String getName(); | ||
boolean executeCheck(Item item); | ||
boolean isIgnored(String jobDescription); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -7,7 +7,7 @@ | ||
* @author Victor Martinez | ||
*/ | ||
public interface InterfaceSlaveCheck { | ||
public String getName(); | ||
boolean executeCheck(Node item); | ||
boolean isIgnored(String jobDescription); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.