Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29485

Dynamic check loading via Reflection

    XMLWordPrintable

Details

    Description

      JenkinsLintAction class is the root class. But does it make sense to instance new Checks explicitly or it is worth to use Reflection and load all those classes under org.jenkins.ci.plugins.jenkinslint.check?

      Let's refactor this plugin and enable this feature.

      https://github.com/v1v/jenkinslint-plugin/issues/6

      Attachments

        Activity

          Code changed in jenkins
          User: Victor Martinez
          Path:
          pom.xml
          src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java
          http://jenkins-ci.org/commit/jenkinslint-plugin/8d9dd492929c7f5a7b2061ee134c4a6f1719de82
          Log:
          Refactored: using reflection in order to load checks dynamically #6 JENKINS-29485

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Victor Martinez Path: pom.xml src/main/java/org/jenkins/ci/plugins/jenkinslint/JenkinsLintAction.java http://jenkins-ci.org/commit/jenkinslint-plugin/8d9dd492929c7f5a7b2061ee134c4a6f1719de82 Log: Refactored: using reflection in order to load checks dynamically #6 JENKINS-29485

          People

            v2v Victor Martinez
            v2v Victor Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: