mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
Fix extractRepositoryName() in agent logs
This commit is contained in:
parent
c8313f8cd8
commit
fbb9526a39
1 changed files with 1 additions and 2 deletions
|
@ -414,8 +414,7 @@ func (c *credentials) RequireTransportSecurity() bool {
|
||||||
|
|
||||||
// extract repository name from the configuration
|
// extract repository name from the configuration
|
||||||
func extractRepositoryName(config *backend.Config) string {
|
func extractRepositoryName(config *backend.Config) string {
|
||||||
return config.Stages[0].Steps[0].Environment["DRONE_REPO_NAME"] + "/" +
|
return config.Stages[0].Steps[0].Environment["DRONE_REPO"]
|
||||||
config.Stages[0].Steps[0].Environment["DRONE_REPO_NAME"]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// extract build number from the configuration
|
// extract build number from the configuration
|
||||||
|
|
Loading…
Reference in a new issue