Loading .gitlab-ci.yml +2 −3 Original line number Diff line number Diff line Loading @@ -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..." Loading @@ -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) Loading @@ -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..." Loading Loading
.gitlab-ci.yml +2 −3 Original line number Diff line number Diff line Loading @@ -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..." Loading @@ -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) Loading @@ -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..." Loading