Added highlighting for build config + updated dependencies
This commit is contained in:
parent
efb9cacb02
commit
91a8054fdd
5 changed files with 78 additions and 39 deletions
|
|
@ -8,17 +8,19 @@ namespace PHPCensor\Model\Build;
|
|||
class GogsBuild extends RemoteGitBuild
|
||||
{
|
||||
/**
|
||||
* Get link to commit from Gogs repositorie
|
||||
* Get link to commit from Gogs repository
|
||||
*/
|
||||
public function getCommitLink()
|
||||
{
|
||||
if ($this->getCommitId() !== 'manual'){
|
||||
return $this->getProject()->getReference() . '/commit/' . $this->getCommitId();
|
||||
}
|
||||
|
||||
return parent::getCommitLink();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get link to branch from Gogs repositorie
|
||||
* Get link to branch from Gogs repository
|
||||
*/
|
||||
public function getBranchLink()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue