You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .pipelines/pipeline.yaml
+4-14Lines changed: 4 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -177,31 +177,21 @@ stages:
177
177
steps:
178
178
179
179
- script: |
180
-
go env
181
-
export PATH=$HOME/go/bin:$PATH
182
-
go get github.com/docker/libnetwork/driverapi
183
-
go get github.com/gorilla/mux
184
-
go get github.com/jstemmer/go-junit-report
185
-
go get github.com/axw/gocov/gocov
186
-
go get github.com/AlekSi/gocov-xml
187
-
go get github.com/matm/gocov-html
188
-
go get github.com/rakyll/gotest
189
-
180
+
make tools
190
181
# run test, echo exit status code to fd 3, pipe output from test to tee, which splits output to stdout and go-junit-report (which converts test output to report.xml), stdout from tee is redirected to fd 4. Take output written to fd 3 (which is the exit code of test), redirect to stdout, pipe to read from stdout then exit with that status code. Read all output from fd 4 (output from tee) and write to top stdout
191
182
{ { { {
192
183
sudo -E env "PATH=$PATH" make test-all;
193
184
echo $? >&3;
194
-
} | tee >(go-junit-report > report.xml) >&4;
185
+
} | tee >(build/tools/bin/go-junit-report > report.xml) >&4;
0 commit comments