Skip to content
Snippets Groups Projects
Commit c79b513a authored by garciadeblas's avatar garciadeblas
Browse files

Fix typos in put ftp commands in gitlab-ci.yaml


Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent b61a0683
No related branches found
No related tags found
No related merge requests found
Pipeline #18601 passed with stages
in 1 minute and 38 seconds
...@@ -59,7 +59,7 @@ publish-testing-repository: ...@@ -59,7 +59,7 @@ publish-testing-repository:
echo "Uploading new files to Testing-new..." echo "Uploading new files to Testing-new..."
sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF
mkdir Testing-new mkdir Testing-new
put -r vnf-catalog/* Testing-new/ put -r vnf-catalog/* Testing-new
EOF EOF
echo "Switching directories..." echo "Switching directories..."
...@@ -77,7 +77,6 @@ publish-testing-repository: ...@@ -77,7 +77,6 @@ publish-testing-repository:
when: on_success when: on_success
# - if: '$CI_COMMIT_REF_PROTECTED == "true"' # - if: '$CI_COMMIT_REF_PROTECTED == "true"'
# when: on_success # when: on_success
allow_failure: true
############################################################################### ###############################################################################
# Job to publish artifacts on demand (publication to Testing) # Job to publish artifacts on demand (publication to Testing)
...@@ -97,7 +96,7 @@ publish-ondemand-repository: ...@@ -97,7 +96,7 @@ publish-ondemand-repository:
echo "Uploading files to temporary folder $TEMP_FOLDER in FTP ..." echo "Uploading files to temporary folder $TEMP_FOLDER in FTP ..."
sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF
mkdir $TEMP_FOLDER mkdir $TEMP_FOLDER
put -r vnf-catalog/* $TEMP_FOLDER/ put -r vnf-catalog/* $TEMP_FOLDER
EOF EOF
echo "Switching directories..." echo "Switching directories..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment