cws-publish role: change |& to 2>&1
Bug: twpowertools:20
Change-Id: I410999d690c2ec78168ea0708f4c73318007d4af
diff --git a/roles/cws-publish/tasks/main.yaml b/roles/cws-publish/tasks/main.yaml
index 6a4b82f..eac466d 100644
--- a/roles/cws-publish/tasks/main.yaml
+++ b/roles/cws-publish/tasks/main.yaml
@@ -36,7 +36,7 @@
--source {{ zip_file.stdout|quote }} \
--client-id {{ credentials.clientId|quote }} \
--refresh-token {{ credentials.refreshToken|quote }} \
- |& tee cws-log.txt
+ 2>&1 | tee cws-log.txt
chdir: "{{ zuul.project.src_dir }}/out"
no_log: True
register: uploadcmd