Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .pipelines/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ stages:
displayName: "Build NPM Image"

- bash: |
cd ./output
sudo find . -mindepth 2 -type f -regextype posix-extended ! -iregex '.*\.(zip|tgz)$' -delete
sudo find . -mindepth 2 -type f -print -exec mv {} . \;
sudo rm -R -- */ && cd ..
# 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
{ { { {
sudo -E env "PATH=$PATH" make test-all;
Expand Down Expand Up @@ -148,6 +144,15 @@ stages:
name: "mcrreplication"
displayName: "Push NPM Image and Wait for MCR"

- script: |
cd ./output
sudo find . -mindepth 2 -type f -regextype posix-extended ! -iregex '.*\.(zip|tgz)$' -delete
sudo find . -mindepth 2 -type f -print -exec mv {} . \;
sudo rm -R -- */ && cd ..
workingDirectory: "$(modulePath)"
name: "PrepareArtifacts"
displayName: "Prepare Artifacts"

- task: PublishTestResults@2
inputs:
testRunner: JUnit
Expand Down