Specify `set +o pipefail`:

```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -18,6 +18,7 @@ jobs:
           name: Change Amazon Links
           working_directory: /root/project/
           command: |
+            set +o pipefail
             grep -l -r ecx.images-amazon.com content/ | sort | uniq | xargs -t --no-run-if-empty sed -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/g"
             grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"

@@ -30,6 +31,7 @@ jobs:
           name: Change Amazon Links
           working_directory: /root/project/
           command: |
+            set +o pipefail
             grep -l -r ecx.images-amazon.com content/ | sort | uniq | xargs -t --no-run-if-empty sed -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/g"

       - run:
```
This commit is contained in:
Kazuhiro MUSASHI 2019-05-04 20:51:31 +08:00
parent 4f6f71f2f8
commit c121f7db02
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ jobs:
name: Change Amazon Links
working_directory: /root/project/
command: |
set +o pipefail
grep -l -r ecx.images-amazon.com content/ | sort | uniq | xargs -t --no-run-if-empty sed -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/g"
grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"
@ -30,6 +31,7 @@ jobs:
name: Change Amazon Links
working_directory: /root/project/
command: |
set +o pipefail
grep -l -r ecx.images-amazon.com content/ | sort | uniq | xargs -t --no-run-if-empty sed -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/g"
- run: