@@ -169,11 +169,7 @@ downloads/$(MQ_ARCHIVE_DEV):
169169 mkdir -p downloads
170170ifneq "$(BUILD_RSYNC_SERVER ) " "$(EMPTY ) "
171171# Use key which is not stored in the repository to fetch the files from the fileserver
172- curl --fail --location $(BUILD_RSYNC_ENCRYPTED_KEY_URL) --output ./host.key.gpg
173- @echo $(BUILD_RSYNC_ENCRYPTION_PASSWORD)|gpg --batch --passphrase-fd 0 ./host.key.gpg
174- chmod 600 ./host.key
175- rsync -rv -e "ssh -o BatchMode=yes -q -o StrictHostKeyChecking=no -i ./host.key" --include="*/" --include="*.tar.gz" --exclude="*" $(BUILD_RSYNC_USER)@$(BUILD_RSYNC_SERVER):"$(BUILD_RSYNC_PATH)" downloads/$(MQ_ARCHIVE_DEV)
176- -@rm host.key.gpg host.key
172+ rsync -rv -e "ssh -o BatchMode=yes -q -o StrictHostKeyChecking=no" --include="*/" --include="*.tar.gz" --exclude="*" $(BUILD_RSYNC_USER)@$(BUILD_RSYNC_SERVER):"$(BUILD_RSYNC_PATH)" downloads/$(MQ_ARCHIVE_DEV)
177173else
178174ifneq "$(MQ_ARCHIVE_REPOSITORY_DEV ) " "$(EMPTY ) "
179175 curl --fail --user $(MQ_ARCHIVE_REPOSITORY_USER):$(MQ_ARCHIVE_REPOSITORY_CREDENTIAL) --request GET "$(MQ_ARCHIVE_REPOSITORY_DEV)" --output downloads/$(MQ_ARCHIVE_DEV)
@@ -187,12 +183,7 @@ downloads/$(MQ_ARCHIVE):
187183 mkdir -p downloads
188184ifneq "$(BUILD_RSYNC_SERVER ) " "$(EMPTY ) "
189185# Use key which is not stored in the repository to fetch the files from the fileserver
190- -@rm host.key.gpg host.key
191- curl --fail --location $(BUILD_RSYNC_ENCRYPTED_KEY_URL) --output ./host.key.gpg
192- @echo $(BUILD_RSYNC_ENCRYPTION_PASSWORD)|gpg --batch --passphrase-fd 0 ./host.key.gpg
193- chmod 600 ./host.key
194- rsync -rv -e "ssh -o BatchMode=yes -q -o StrictHostKeyChecking=no -i ./host.key" --include="*/" --include="*.tar.gz" --exclude="*" $(BUILD_RSYNC_USER)@$(BUILD_RSYNC_SERVER):"$(BUILD_RSYNC_PATH)" downloads/$(MQ_ARCHIVE)
195- -@rm host.key.gpg host.key
186+ rsync -rv -e "ssh -o BatchMode=yes -q -o StrictHostKeyChecking=no" --include="*/" --include="*.tar.gz" --exclude="*" $(BUILD_RSYNC_USER)@$(BUILD_RSYNC_SERVER):"$(BUILD_RSYNC_PATH)" downloads/$(MQ_ARCHIVE)
196187else
197188ifneq "$(MQ_ARCHIVE_REPOSITORY ) " "$(EMPTY ) "
198189 curl --fail --user $(MQ_ARCHIVE_REPOSITORY_USER):$(MQ_ARCHIVE_REPOSITORY_CREDENTIAL) --request GET "$(MQ_ARCHIVE_REPOSITORY)" --output downloads/$(MQ_ARCHIVE)
0 commit comments