public class Stash extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
Stash.StashDescriptor |
| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(GitChangeSet changeSet)
Creates a link to the change set
http://[Stash URL]/commits/[commit]
|
URL |
getDiffLink(GitChangeSet.Path path)
Creates a link to the file diff.
|
URL |
getFileLink(GitChangeSet.Path path)
Creates a link to the file.
|
getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl@DataBoundConstructor public Stash(String repoUrl)
public URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class hudson.scm.RepositoryBrowser<GitChangeSet>changeSet - commit hashIOException - on input or output errorpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
http://[Stash URL]/diff/[path]?at=[commit]&until=[commit]getDiffLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorpublic URL getFileLink(GitChangeSet.Path path) throws IOException
getFileLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorCopyright © 2007–2018. All rights reserved.