Failed to run go build
task, env var is not taking into account
#22930
Labels
area/editor/vscode
Issues related to the Code OSS editor of Che
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
team/A
This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che
team/B
This team is responsible for the Web Terminal, the DevWorkspace Operator and the IDEs.
Describe the bug
Failed to run
go build
task from the devfile below:The output:
Meanwhile, this commands runs successfully:
commandLine: echo "GOCACHE=$GOCACHE" && export GOCACHE=/projects/go-stater/.cache && go build main.go
Che version
next (development version)
Steps to reproduce
build
taskExpected behavior
Command run successfully
Runtime
OpenShift
Screenshots
No response
Installation method
chectl/next
Environment
Linux
Eclipse Che Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: