jenkins setup

This commit is contained in:
simon987
2019-03-09 09:31:19 -05:00
parent 6048cfbebc
commit fea86af41d
7 changed files with 128 additions and 48 deletions

View File

@@ -1,6 +1,7 @@
package api
import (
"fmt"
"path/filepath"
"strings"
)
@@ -49,6 +50,8 @@ func (req *AllocateUploadSlotRequest) IsValid() bool {
return false
}
if !strings.HasPrefix(pathAbs, WorkDir) {
fmt.Println(pathAbs)
fmt.Println(WorkDir)
return false
}