mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
17 lines
216 B
Go
17 lines
216 B
Go
package gitlab
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/drone/drone/plugin/remote"
|
|
)
|
|
|
|
// registers the Gitlab plugin
|
|
func init() {
|
|
var url = os.Getenv("GITLAB_URL")
|
|
if len(url) == 0 {
|
|
return
|
|
}
|
|
remote.Register(New(url))
|
|
}
|