yandex-export post-processor artifact id is url.
First storage path used.
This commit is contained in:
parent
0092007311
commit
bd1e4f9d7d
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue