From c79b513a97a57f85cf6022aa739907a4afdb14c9 Mon Sep 17 00:00:00 2001
From: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date: Thu, 13 Mar 2025 23:45:52 +0100
Subject: [PATCH] Fix typos in put ftp commands in gitlab-ci.yaml

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
---
 .gitlab-ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 09717f57..52c2eb96 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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..."
-- 
GitLab