You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi fellows! Please help with the error below?
I have a problem that my second step with Docker is not able to find the JAR produced in the first step. In my docker file I have:
Inside my Dockerfile:
COPY TEST.jar /inside/docker/dir/TEST.jar
Step 14/19: COPY TEST*.jar /inside/docker/dir/TEST.jar
ERROR: COPY failed: no source files were specified
My Configuration:
image: openjdk:11
pipelines:
default:
- step:
name: Build jar
caches:
- gradle
script:
- bash ./gradlew build
artifacts:
- "*.jar" //Here I have tried with: target/** , build/lib/**, **.jar -> Neither of them worked!!!
branches:
master:
- step:
name: Build and publish docker image
script:
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD
- docker build -t ***/test:latest .
- docker push ***/test:latest
options:
docker: true
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.