blob: a307ad66bd841384e15f6b8d92c4a5741c51dabe [file] [log] [blame]
Bartosz Gardziejewski8e505aa2020-11-25 14:06:01 +01001#!/bin/bash
2set -e -o pipefail
3if [ -z "$PROJECT_ID" ]
4then
5 echo "ERROR: NO PROJECT ID ENTERED"
6 exit 1
7else
8 cd $WORKSPACE/csarvalidation/target/generated-docs/Honolulu
9 for file in *.csv ; do
10 echo "-n --upload-file $file https://nexus.onap.org/content/sites/raw/$PROJECT_ID/Honolulu/$file"
11 curl -n --upload-file "$file" "https://nexus.onap.org/content/sites/raw/$PROJECT_ID/Honolulu/$file"
12 done
13 exit 0
14fi