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