I tried to upload all .js file from Gitlab-ci to Jfrog and I got this
curl: Can't open 'scripts/*.js'
It works if I point to a specified file (scripts/001.js)
My .gitlab-ci.yml
---
default:
image:
name: ubuntu:18.04
entrypoint:
- '/usr/bin/env'
- 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
stages:
- upload
job01:
only:
- branches
stage: upload
script:
- apt update -y
- apt install curl -y
- curl -u $JFROG_USERNAME:$JFROG_PASSWORD -X PUT $JFROG_URL -T 'scripts/*.js'
tags:
- runner-aws
I tried with 'scripts/(*).js' and the same error.