Commit c79b513a authored by garciadeblas's avatar garciadeblas
Browse files

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

parent b61a0683
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ publish-testing-repository:
        echo "Uploading new files to Testing-new..."
        sshpass -p "$VNF_CATALOG_CREDENTIALS" sftp -o "StrictHostKeyChecking no" -P $SFTP_PORT $SFTP_USER@$SFTP_SERVER << EOF
          mkdir Testing-new
          put -r vnf-catalog/* Testing-new/
          put -r vnf-catalog/* Testing-new
        EOF
        
        echo "Switching directories..."
@@ -77,7 +77,6 @@ publish-testing-repository:
      when: on_success
    # - if: '$CI_COMMIT_REF_PROTECTED == "true"'
    #   when: on_success
  allow_failure: true

###############################################################################
# Job to publish artifacts on demand (publication to Testing)
@@ -97,7 +96,7 @@ publish-ondemand-repository:
        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
          mkdir $TEMP_FOLDER
          put -r vnf-catalog/* $TEMP_FOLDER/
          put -r vnf-catalog/* $TEMP_FOLDER
        EOF
        
        echo "Switching directories..."