23 lines
539 B
C#
23 lines
539 B
C#
|
|
using System;
|
|
using ln.http;
|
|
|
|
namespace ln.build.repositories
|
|
{
|
|
public abstract class Repository
|
|
{
|
|
public abstract void CloneSources(CIJob job);
|
|
public abstract void UpdateBuildState(CIJob job);
|
|
|
|
|
|
public abstract Release[] GetReleases();
|
|
public abstract Release GetRelease(string tagName);
|
|
public abstract Release GetRelease(int id);
|
|
|
|
|
|
public abstract void CommitAndPush(string message, string[] addedPaths, string[] modifiedPaths, string[] removedPaths);
|
|
|
|
|
|
|
|
}
|
|
} |