yandex-export post-processor artifact id is url.

First storage path used.
This commit is contained in:
Gennady Lipenkov 2020-07-17 00:45:19 +03:00
parent 0092007311
commit bd1e4f9d7d
1 changed files with 2 additions and 7 deletions

View File

@ -15,8 +15,8 @@ func (*Artifact) BuilderId() string {
return BuilderId
}
func (*Artifact) Id() string {
return ""
func (a *Artifact) Id() string {
return a.urls[0]
}
func (a *Artifact) Files() []string {
@ -29,11 +29,6 @@ func (a *Artifact) String() string {
return fmt.Sprintf("Exported artifacts in: %s", a.paths)
}
func (a *Artifact) Url() string {
// print url for first path
return a.urls[0]
}
func (*Artifact) State(name string) interface{} {
return nil
}