parent
f8f311ba1f
commit
866e25b433
8
main.go
8
main.go
@ -190,12 +190,12 @@ func main() {
|
|||||||
Usage: "pull request",
|
Usage: "pull request",
|
||||||
EnvVar: "DRONE_PULL_REQUEST",
|
EnvVar: "DRONE_PULL_REQUEST",
|
||||||
},
|
},
|
||||||
cli.Int64Flag{
|
cli.Float64Flag{
|
||||||
Name: "job.started",
|
Name: "job.started",
|
||||||
Usage: "job started",
|
Usage: "job started",
|
||||||
EnvVar: "DRONE_BUILD_STARTED",
|
EnvVar: "DRONE_BUILD_STARTED",
|
||||||
},
|
},
|
||||||
cli.Int64Flag{
|
cli.Float64Flag{
|
||||||
Name: "job.finished",
|
Name: "job.finished",
|
||||||
Usage: "job finished",
|
Usage: "job finished",
|
||||||
EnvVar: "DRONE_BUILD_FINISHED",
|
EnvVar: "DRONE_BUILD_FINISHED",
|
||||||
@ -281,8 +281,8 @@ func run(c *cli.Context) error {
|
|||||||
Event: c.String("build.event"),
|
Event: c.String("build.event"),
|
||||||
Status: c.String("build.status"),
|
Status: c.String("build.status"),
|
||||||
Link: c.String("build.link"),
|
Link: c.String("build.link"),
|
||||||
Started: c.Int64("job.started"),
|
Started: c.Float64("job.started"),
|
||||||
Finished: c.Int64("job.finished"),
|
Finished: c.Float64("job.finished"),
|
||||||
PR: c.String("pull.request"),
|
PR: c.String("pull.request"),
|
||||||
DeployTo: c.String("deploy.to"),
|
DeployTo: c.String("deploy.to"),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user