image: java:8-jdk before_script: - chmod 777 ./* stages: - build build: stage: build script: - ./gradlew clean shadowJar artifacts: name: latest paths: - ./build/libs/*.jar expire_in: 50 yrs only: - master