mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-22 16:36:30 +00:00
setup error when workspace path not exists
This commit is contained in:
parent
164c0c6a8e
commit
b3f4cfccda
2 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,7 @@ func main() {
|
||||||
os.Exit(ctx.Job.ExitCode)
|
os.Exit(ctx.Job.ExitCode)
|
||||||
}
|
}
|
||||||
|
|
||||||
func createClone(c *Context) error {
|
func createClone(c *Context) {
|
||||||
c.Clone = &common.Clone{
|
c.Clone = &common.Clone{
|
||||||
Netrc: c.Netrc,
|
Netrc: c.Netrc,
|
||||||
Keypair: c.Keys,
|
Keypair: c.Keys,
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
|
|
||||||
"github.com/drone/drone/Godeps/_workspace/src/github.com/samalba/dockerclient"
|
"github.com/drone/drone/Godeps/_workspace/src/github.com/samalba/dockerclient"
|
||||||
common "github.com/drone/drone/pkg/types"
|
common "github.com/drone/drone/pkg/types"
|
||||||
"github.com/drone/drone/pkg/yaml"
|
"github.com/drone/drone/pkg/yaml"
|
||||||
|
|
Loading…
Reference in a new issue