Skip to content
Snippets Groups Projects
Commit adf4276d authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

feat(ci): update artifact naming in GitLab CI configuration

parent a9bea6d7
No related branches found
No related tags found
No related merge requests found
Pipeline #983 passed
......@@ -13,13 +13,14 @@ build:
- mvn $MAVEN_CLI_OPTS clean package
- BUILD_DATE=$(date -u +${DATE_FORMAT})
- JAR_NAME="PrivateServerPlugin-${BUILD_DATE}.jar"
- mv target/PrivateServerPlugin.jar "${JAR_NAME}"
- echo "BUILD_DATE=${BUILD_DATE}" > build.env
- echo "JAR_NAME=${JAR_NAME}" >> build.env
- echo "BUILD_JOB_ID=${CI_JOB_ID}" >> build.env
- ls -l
artifacts:
paths:
- "target/PrivateServerPlugin.jar"
- "PrivateServerPlugin-*.jar"
reports:
dotenv: build.env
rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment