Documentation suggests to build a project with jfrog rt go build --no-registry
. We are using go modules and the command fails on recognising current module - can't load package: package unknown import path cannot find module providing package
, same as go build
does.
go build ./...
does work though but I can't do jfrog rt go build ./.. --no-registry
. Does jfrog rt go build --no-registry
do anything else apart from calling go build
anyway? Is there a way to pass the parameters?
Can you run jfrog rt go "build ./..." --no-registry
(with build
and ./...
) in quotes. That seems to work on my machine (after removing my local package cache I can see the modules being downloaded from GitHub).