2019-04-06 19:32:14 +00:00
|
|
|
package build
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2021-10-27 19:03:14 +00:00
|
|
|
"github.com/woodpecker-ci/woodpecker/cli/common"
|
|
|
|
|
|
|
|
"github.com/urfave/cli/v2"
|
2019-04-06 19:32:14 +00:00
|
|
|
)
|
|
|
|
|
2021-10-27 19:03:14 +00:00
|
|
|
var buildLogsCmd = &cli.Command{
|
2019-04-06 19:32:14 +00:00
|
|
|
Name: "logs",
|
|
|
|
Usage: "show build logs",
|
|
|
|
ArgsUsage: "<repo/name> [build] [job]",
|
|
|
|
Action: buildLogs,
|
2021-10-27 19:03:14 +00:00
|
|
|
Flags: common.GlobalFlags,
|
2019-04-06 19:32:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func buildLogs(c *cli.Context) error {
|
2021-10-03 13:07:39 +00:00
|
|
|
// TODO: add logs command
|
|
|
|
return fmt.Errorf("Command temporarily disabled. See https://github.com/woodpecker-ci/woodpecker/issues/383")
|
2019-04-06 19:32:14 +00:00
|
|
|
}
|