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

Pipeline support

    XMLWordPrintable

Details

    Description

      Hi,

      It's been a while since Jenkins introduced a new build configuration system – Pipeline: https://jenkins.io/doc/book/pipeline/

      It's getting used more and more. The difference is: in a pipeline you don't have GUI-configurable steps, you define it with a Groovy script. So, plugins export functions.

      I think, it would be a great improvement if Liquibase plugin for Jenkins supported the Pipeline.

      Attachments

        Activity

          Vasily,

          Pipeline support has shipped. I'm all ears if you'd like to supply any feedback!

          prospero238 Keith Collison added a comment - Vasily, Pipeline support has shipped. I'm all ears if you'd like to supply any feedback!

          Code changed in jenkins
          User: propspero238
          Path:
          pom.xml
          src/docs/1.2.0-release-notes.md
          src/docs/confluence.txt
          src/main/java/org/jenkinsci/plugins/liquibase/common/PropertiesAssembler.java
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilder.java
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/BuildChangeExecListener.java
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/ChangesetEvaluator.java
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/ExecutedChangesetAction.java
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuildStep.java
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuilder.java
          src/main/java/org/jenkinsci/plugins/liquibase/evaluator/RolledbackChangesetAction.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/AbstractLiquibaseStep.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateBuildStep.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateExecution.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseWorkflowUtil.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStep.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStepExecution.java
          src/main/resources/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilder/liquibase-common-config.jelly
          src/main/resources/org/jenkinsci/plugins/liquibase/evaluator/ChangesetEvaluator/help-changeLogParameters.html
          src/main/resources/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuildStep/config.jelly
          src/main/resources/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuilder/config.jelly
          src/main/resources/org/jenkinsci/plugins/liquibase/workflow/AbstractLiquibaseStep/config.jelly
          src/main/resources/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateBuildStep/config.jelly
          src/main/resources/org/jenkinsci/plugins/liquibase/workflow/RollbackStep/config.jelly
          src/main/webapp/help-changeLogParameters.html
          src/test/java/org/jenkinsci/plugins/liquibase/common/BuilderStub.java
          src/test/java/org/jenkinsci/plugins/liquibase/common/CredentialsTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/common/PropertiesAssemblerTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilderTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuildStepTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuilderTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/ChangesetEvaluatorBuildResultTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibasePipelineTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseTestUtil.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/RollbackResultTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseWorkflowUtilTest.java
          src/test/resources/example-changesets/yaml-changeset-sunnyday.yml
          src/test/resources/example-pipeline.groovy
          src/test/resources/ideal-pipeline.groovy
          src/test/resources/pipeline-with-changelog-params.groovy
          src/test/resources/pipeline-with-ws-token.groovy
          src/test/resources/rollback-pipeline-template.groovy
          src/test/resources/sample-pipline.groovy
          http://jenkins-ci.org/commit/liquibase-runner-plugin/8a5d9961760781775e5778373233790192e80d1e
          Log:
          Merge branch 'feature/JENKINS-40707-pipeline-support' into develop

          Compare: https://github.com/jenkinsci/liquibase-runner-plugin/compare/7c865b8427bf...8a5d99617607

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: propspero238 Path: pom.xml src/docs/1.2.0-release-notes.md src/docs/confluence.txt src/main/java/org/jenkinsci/plugins/liquibase/common/PropertiesAssembler.java src/main/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilder.java src/main/java/org/jenkinsci/plugins/liquibase/evaluator/BuildChangeExecListener.java src/main/java/org/jenkinsci/plugins/liquibase/evaluator/ChangesetEvaluator.java src/main/java/org/jenkinsci/plugins/liquibase/evaluator/ExecutedChangesetAction.java src/main/java/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuildStep.java src/main/java/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuilder.java src/main/java/org/jenkinsci/plugins/liquibase/evaluator/RolledbackChangesetAction.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/AbstractLiquibaseStep.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateBuildStep.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateExecution.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseWorkflowUtil.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStep.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStepExecution.java src/main/resources/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilder/liquibase-common-config.jelly src/main/resources/org/jenkinsci/plugins/liquibase/evaluator/ChangesetEvaluator/help-changeLogParameters.html src/main/resources/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuildStep/config.jelly src/main/resources/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuilder/config.jelly src/main/resources/org/jenkinsci/plugins/liquibase/workflow/AbstractLiquibaseStep/config.jelly src/main/resources/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateBuildStep/config.jelly src/main/resources/org/jenkinsci/plugins/liquibase/workflow/RollbackStep/config.jelly src/main/webapp/help-changeLogParameters.html src/test/java/org/jenkinsci/plugins/liquibase/common/BuilderStub.java src/test/java/org/jenkinsci/plugins/liquibase/common/CredentialsTest.java src/test/java/org/jenkinsci/plugins/liquibase/common/PropertiesAssemblerTest.java src/test/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilderTest.java src/test/java/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuildStepTest.java src/test/java/org/jenkinsci/plugins/liquibase/evaluator/RollbackBuilderTest.java src/test/java/org/jenkinsci/plugins/liquibase/integration/ChangesetEvaluatorBuildResultTest.java src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibasePipelineTest.java src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseTestUtil.java src/test/java/org/jenkinsci/plugins/liquibase/integration/RollbackResultTest.java src/test/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseWorkflowUtilTest.java src/test/resources/example-changesets/yaml-changeset-sunnyday.yml src/test/resources/example-pipeline.groovy src/test/resources/ideal-pipeline.groovy src/test/resources/pipeline-with-changelog-params.groovy src/test/resources/pipeline-with-ws-token.groovy src/test/resources/rollback-pipeline-template.groovy src/test/resources/sample-pipline.groovy http://jenkins-ci.org/commit/liquibase-runner-plugin/8a5d9961760781775e5778373233790192e80d1e Log: Merge branch 'feature/ JENKINS-40707 -pipeline-support' into develop Compare: https://github.com/jenkinsci/liquibase-runner-plugin/compare/7c865b8427bf...8a5d99617607

          Code changed in jenkins
          User: propspero238
          Path:
          src/docs/confluence.txt
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStep.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStepExecution.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseTestUtil.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseUpdateBuildStepTest.java
          src/test/resources/rollback-pipeline-template.groovy
          http://jenkins-ci.org/commit/liquibase-runner-plugin/37eee90824cbde24c5f631ac1097e1f33ad2ff46
          Log:
          JENKINS-40707
          better method names, better rollback build step test

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: propspero238 Path: src/docs/confluence.txt src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStep.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStepExecution.java src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseTestUtil.java src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseUpdateBuildStepTest.java src/test/resources/rollback-pipeline-template.groovy http://jenkins-ci.org/commit/liquibase-runner-plugin/37eee90824cbde24c5f631ac1097e1f33ad2ff46 Log: JENKINS-40707 better method names, better rollback build step test

          Code changed in jenkins
          User: propspero238
          Path:
          src/test/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilderTest.java
          http://jenkins-ci.org/commit/liquibase-runner-plugin/4e6d4dbc4d7f5ecc92a533ad385a4ef4e78223aa
          Log:
          JENKINS-40707
          conditional macro behavior

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: propspero238 Path: src/test/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilderTest.java http://jenkins-ci.org/commit/liquibase-runner-plugin/4e6d4dbc4d7f5ecc92a533ad385a4ef4e78223aa Log: JENKINS-40707 conditional macro behavior

          Code changed in jenkins
          User: propspero238
          Path:
          pom.xml
          src/docs/confluence.txt
          src/main/java/org/jenkinsci/plugins/liquibase/common/PropertiesAssembler.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/AbstractLiquibaseStep.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateBuildStep.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateExecution.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseWorkflowUtil.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStep.java
          src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStepExecution.java
          src/test/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilderTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseTestUtil.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseUpdateBuildStepTest.java
          src/test/java/org/jenkinsci/plugins/liquibase/integration/RollbackResultTest.java
          src/test/resources/example-changesets/yaml-changeset-sunnyday.yml
          src/test/resources/ideal-pipeline.groovy
          src/test/resources/rollback-pipeline-template.groovy
          http://jenkins-ci.org/commit/liquibase-runner-plugin/fb8f1cc1d1da0f1615c8f8a1210be3849aaacd18
          Log:
          JENKINS-40707
          provided build steps for liquibase operations.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: propspero238 Path: pom.xml src/docs/confluence.txt src/main/java/org/jenkinsci/plugins/liquibase/common/PropertiesAssembler.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/AbstractLiquibaseStep.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateBuildStep.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseUpdateExecution.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/LiquibaseWorkflowUtil.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStep.java src/main/java/org/jenkinsci/plugins/liquibase/workflow/RollbackStepExecution.java src/test/java/org/jenkinsci/plugins/liquibase/evaluator/AbstractLiquibaseBuilderTest.java src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseTestUtil.java src/test/java/org/jenkinsci/plugins/liquibase/integration/LiquibaseUpdateBuildStepTest.java src/test/java/org/jenkinsci/plugins/liquibase/integration/RollbackResultTest.java src/test/resources/example-changesets/yaml-changeset-sunnyday.yml src/test/resources/ideal-pipeline.groovy src/test/resources/rollback-pipeline-template.groovy http://jenkins-ci.org/commit/liquibase-runner-plugin/fb8f1cc1d1da0f1615c8f8a1210be3849aaacd18 Log: JENKINS-40707 provided build steps for liquibase operations.

          People

            prospero238 Keith Collison
            vkorytov Vasily Korytov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: