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

Allow changesets to be loaded from classpath

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Right now, only the FilePathResourceAccessor is used, so changesets located in jar file (for example) won't be found.

      Resolving this should be a simple matter of using the compositeResourceAccessor and having it contain the classpath resource accessor in addition to the FilePathResourceAccessor.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: propspero238
          Path:
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilder.java
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/FilePathAccessor.java
          src/test/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilderTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/evaluator/FilePathAccessorTest.java
          src/test/resources/example-changesets/single-changeset.xml
          http://jenkins-ci.org/commit/liquibase-runner-plugin/f1886243a53b3614aab2c0385d435e3742008741
          Log:
          Merge branch 'feature/JENKINS-37637-changesets-in-classpath' into develop

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: propspero238 Path: src/main/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilder.java src/main/java/org/jenkinsci/plugins/liquibase/evaluator/FilePathAccessor.java src/test/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilderTest.java src/test/java/org/jenkinsci/plugins/liquibase/evaluator/FilePathAccessorTest.java src/test/resources/example-changesets/single-changeset.xml http://jenkins-ci.org/commit/liquibase-runner-plugin/f1886243a53b3614aab2c0385d435e3742008741 Log: Merge branch 'feature/ JENKINS-37637 -changesets-in-classpath' into develop

            People

            Assignee:
            prospero238 Keith Collison
            Reporter:
            prospero238 Keith Collison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: