Why do we need to provide the path to the artifacts and the naming of executable after it finish building?
I tried to look up on gitlab's official documentation, which I still not quite understand, could anyone please describes it in a simpler way?
build:
stage: build
script: /usr/lib/jvm/java-8-openjdk-amd64/bin/javac HelloWorld.java
artifacts:
paths:
- HelloWorld.*
execute:
stage: execute
script: /usr/lib/jvm/java-8-openjdk-amd64/bin/java HelloWorld
for the above steps, in the build stage, I'm not quite sure what does the artifacts doing there, do I have to provide that artifacts?