diff --git a/Jenkinsfile b/Jenkinsfile index e107ed3525..f71119e000 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,6 +17,8 @@ pipeline { sh "go get golang.org/x/tools/cmd/goimports" } dir ("go") { + sh "git submodule update --init --recursive" + // Keep this in sync with //go/utils/prepr/prepr.sh. sh "go get -mod=readonly ./..." sh "./utils/repofmt/check_fmt.sh" @@ -42,6 +44,8 @@ pipeline { sh "npm i bats" } dir ("go") { + sh "git submodule update --init --recursive" + sh "go get -mod=readonly ./..." sh "go build -mod=readonly -o ../.ci_bin/dolt ./cmd/dolt/." sh "go build -mod=readonly -o ../.ci_bin/git-dolt ./cmd/git-dolt/." @@ -65,6 +69,8 @@ pipeline { } steps { dir ("go/") { + bat "git submodule update --init --recursive" + bat "go test ./..." bat "go build -mod=readonly -o ..\\.ci_bin\\dolt.exe ./cmd/dolt/." bat "copy /Y ..\\.ci_bin\\dolt.exe ..\\.ci_bin\\dolt"