summaryrefslogtreecommitdiffstats
path: root/jjb/qtip
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2017-12-07 18:52:46 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-07 18:52:46 +0000
commit4dbe6616e33c7eb9208b4f15378e6d1cc1693e80 (patch)
tree3fa180d0ddfe4ef1da36414a93a9768effc9d78f /jjb/qtip
parent24e8cc66450544a30f031d40ed53f94154f2a349 (diff)
parent7bd55848c47a228e8608526eed0e797dbd5adc35 (diff)
Merge "Filter out added/modified *.ipynb for preview job"
Diffstat (limited to 'jjb/qtip')
-rw-r--r--jjb/qtip/qtip-verify-jobs.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/jjb/qtip/qtip-verify-jobs.yml b/jjb/qtip/qtip-verify-jobs.yml
index 047d7f2be..f772e3917 100644
--- a/jjb/qtip/qtip-verify-jobs.yml
+++ b/jjb/qtip/qtip-verify-jobs.yml
@@ -191,7 +191,8 @@
mkdir -p $local_path
- git diff HEAD~1 --name-only | grep -E ".+\.ipynb$" | xargs -I '{}' cp '{}' $local_path
+ git diff HEAD~1 --name-status | grep -E "[AM]\t.+\.ipynb$" | awk '{print $2}' \
+ | xargs -I '{}' cp '{}' $local_path
gsutil -m cp -r "$local_path" "gs://$gs_base/"
echo "Document link(s):" >> gerrit_comment.txt