Details

    • Similar Issues:

      Description

      It would be very helpful if it was possible to get the Jenkins Lint issues via an API call. That way we could hook up a monitoring system and push the jenkins lint issues to that monitoring system. Maybe it's possible to use the InfluxDb plugin or another plugin to push items?

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Victor Martinez
          Path:
          .gitignore
          src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly
          src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java
          http://jenkins-ci.org/commit/jenkinslint-plugin/b894ab99f864fbf13f036303399a1aca9c95bbd9
          Log:
          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

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: .gitignore src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java http://jenkins-ci.org/commit/jenkinslint-plugin/b894ab99f864fbf13f036303399a1aca9c95bbd9 Log: 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
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Victor Martinez
          Path:
          .gitignore
          src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly
          src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java
          http://jenkins-ci.org/commit/jenkinslint-plugin/24925a418e732e33d42d53898417cb62efecc4f1
          Log:
          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

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: .gitignore src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java http://jenkins-ci.org/commit/jenkinslint-plugin/24925a418e732e33d42d53898417cb62efecc4f1 Log: 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
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Victor Martinez
          Path:
          .gitignore
          src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly
          src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java
          http://jenkins-ci.org/commit/jenkinslint-plugin/994c38f1a3ab995cba967da7ff7ffbb17db99766
          Log:
          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

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: .gitignore src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java http://jenkins-ci.org/commit/jenkinslint-plugin/994c38f1a3ab995cba967da7ff7ffbb17db99766 Log: 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
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Victor Martinez
          Path:
          .gitignore
          src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java
          src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java
          src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly
          src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java
          http://jenkins-ci.org/commit/jenkinslint-plugin/88781f1dab7c4c9c08d3be54a3c414d943fe2f0e
          Log:
          JENKINS-41449 RestAPI feature (#1)

          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

          • TODO: Hashes caused issues when showing the matrix in the UI, since the ordering is not following the sequential declaration as expclicitly defined in the array section
          • We cannot deprecate since we need to use that sorted arraylist to show the UI details since we don't use a specific Key identifier in the hasharray
          • Better UI with big tables
          • Added better api test case to check the exposed api
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: .gitignore src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/AbstractSlaveCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/InterfaceSlaveCheck.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Job.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Lint.java src/main/java/org/jenkins/ci/plugins/jenkinslint/model/Slave.java src/main/resources/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction/index.jelly src/test/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintActionTestCase.java http://jenkins-ci.org/commit/jenkinslint-plugin/88781f1dab7c4c9c08d3be54a3c414d943fe2f0e Log: JENKINS-41449 RestAPI feature (#1) 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 TODO: Hashes caused issues when showing the matrix in the UI, since the ordering is not following the sequential declaration as expclicitly defined in the array section We cannot deprecate since we need to use that sorted arraylist to show the UI details since we don't use a specific Key identifier in the hasharray Better UI with big tables Added better api test case to check the exposed api
          Hide
          v2v Victor Martinez added a comment -

          Already merged to Master. Upcoming release: 0.8.0

          Show
          v2v Victor Martinez added a comment - Already merged to Master. Upcoming release: 0.8.0

            People

            • Assignee:
              v2v Victor Martinez
              Reporter:
              petrikvandervelde Petrik van der Velde
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: