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

Switch the squash strategy to use Git Client API instead of command line (Praqma case 13136)

    XMLWordPrintable

Details

    Description

      Part of the roadmap of working towards using GitClient API instead of command line for git operations.

      https://trello.com/c/gQOkBsdg/22-full-integration-with-gitclient-plugin-facilitates-the-usage-of-credentials

      This is the first proof-of-concept on getting the features we need into the API.

      Attachments

        Activity

          Code changed in jenkins
          User: Mads Nielsen
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/pretestedintegration/AbstractSCMBridge.java
          src/main/java/org/jenkinsci/plugins/pretestedintegration/IntegrationStrategy.java
          src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/AccumulatedCommitStrategy.java
          src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/GitBridge.java
          src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/SquashCommitStrategy.java
          src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/DoNotAllowMasterBranchAsReadyBranchIT.java
          src/test/java/org/jenkinsci/plugins/pretestedintegration/unit/DummyIntegrationStrategy.java
          src/test/java/org/jenkinsci/plugins/pretestedintegration/unit/DummySCM.java
          http://jenkins-ci.org/commit/pretested-integration-plugin/7d9f16ec275f02ceab6c79b2d18788d61b7b8c24
          Log:
          Replaced CLI calls with GitClient implementations. JENKINS-29104

          Merged in master.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mads Nielsen Path: pom.xml src/main/java/org/jenkinsci/plugins/pretestedintegration/AbstractSCMBridge.java src/main/java/org/jenkinsci/plugins/pretestedintegration/IntegrationStrategy.java src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/AccumulatedCommitStrategy.java src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/GitBridge.java src/main/java/org/jenkinsci/plugins/pretestedintegration/scm/git/SquashCommitStrategy.java src/test/java/org/jenkinsci/plugins/pretestedintegration/integration/scm/git/DoNotAllowMasterBranchAsReadyBranchIT.java src/test/java/org/jenkinsci/plugins/pretestedintegration/unit/DummyIntegrationStrategy.java src/test/java/org/jenkinsci/plugins/pretestedintegration/unit/DummySCM.java http://jenkins-ci.org/commit/pretested-integration-plugin/7d9f16ec275f02ceab6c79b2d18788d61b7b8c24 Log: Replaced CLI calls with GitClient implementations. JENKINS-29104 Merged in master.

          Fixed in 2.4.0

          thi Thierry Lacour added a comment - Fixed in 2.4.0

          People

            praqma Praqma Support
            bue Bue Petersen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: