diff options
-rw-r--r-- | jjb/vnfsdk/generate-dosc.sh | 10 | ||||
-rw-r--r-- | jjb/vnfsdk/upload-artifact.sh | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/jjb/vnfsdk/generate-dosc.sh b/jjb/vnfsdk/generate-dosc.sh index 96ce89728..06b00ab80 100644 --- a/jjb/vnfsdk/generate-dosc.sh +++ b/jjb/vnfsdk/generate-dosc.sh @@ -1,3 +1,11 @@ #!/bin/bash -mvn clean install -DskipDocsGeneration=false +cd $WORKSPACE/csarvalidation/python/ +virtualenv -p python3 ./venv +source ./venv/bin/activate +pip install --upgrade pip +pip install -r ./requirements.txt + +cd ./main +export OUTPUT_DIRECTORY="$WORKSPACE/generated/active-validation-rules/Honolulu/" +python3 ./generate_active_validation_rules_table.py diff --git a/jjb/vnfsdk/upload-artifact.sh b/jjb/vnfsdk/upload-artifact.sh index a307ad66b..3e07fd5d9 100644 --- a/jjb/vnfsdk/upload-artifact.sh +++ b/jjb/vnfsdk/upload-artifact.sh @@ -5,7 +5,7 @@ then echo "ERROR: NO PROJECT ID ENTERED" exit 1 else - cd $WORKSPACE/csarvalidation/target/generated-docs/Honolulu + cd $WORKSPACE/generated/active-validation-rules/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" |