Interface CustomSourceDirectoryAwareRepository

    • Method Detail

      • retrieveSourceCode

        @NotNull
        @NotNull String retrieveSourceCode​(@NotNull
                                           @NotNull BuildContext buildContext,
                                           @Nullable
                                           @Nullable String vcsRevisionKey,
                                           @NotNull
                                           @NotNull File sourceDirectory)
                                    throws RepositoryException
        Checks out the latest source code from an appropriate repository to specified directory
        Parameters:
        buildContext -
        vcsRevisionKey - - may be null if you want latest code
        sourceDirectory - - directory to checkout to
        Returns:
        vcsRevisionKey - the revision
        Throws:
        RepositoryException