Class GitJobExecutor


  • public class GitJobExecutor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GitJobExecutor​(GitRepoArtifactAccount account, com.netflix.spinnaker.clouddriver.jobs.JobExecutor jobExecutor, java.lang.String gitExecutable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void archive​(java.nio.file.Path localClone, java.lang.String branch, java.lang.String subDir, java.nio.file.Path outputFile)  
      void cloneOrPull​(java.lang.String repoUrl, java.lang.String branch, java.nio.file.Path localPath, java.lang.String repoBasename)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GitJobExecutor

        public GitJobExecutor​(GitRepoArtifactAccount account,
                              com.netflix.spinnaker.clouddriver.jobs.JobExecutor jobExecutor,
                              java.lang.String gitExecutable)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • cloneOrPull

        public void cloneOrPull​(java.lang.String repoUrl,
                                java.lang.String branch,
                                java.nio.file.Path localPath,
                                java.lang.String repoBasename)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • archive

        public void archive​(java.nio.file.Path localClone,
                            java.lang.String branch,
                            java.lang.String subDir,
                            java.nio.file.Path outputFile)
                     throws java.io.IOException
        Throws:
        java.io.IOException