更新.gitlab-ci.yml文件

This commit is contained in:
kiler398 2022-11-24 11:15:19 +08:00
parent 1aeb066ca0
commit 33e1e54559
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ stages: # List of stages for jobs, and their order of execution
- deploy
build-job: # This job runs in the build stage, which runs first.
image: Maven:3.8.6-ibm-semeru-11-focal
image: maven:3.8.6-ibm-semeru-11-focal
stage: build
script:
- echo "Compiling the code..."
@ -32,7 +32,7 @@ build-job: # This job runs in the build stage, which runs first.
unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
image: Maven:3.8.6-ibm-semeru-11-focal
image: maven:3.8.6-ibm-semeru-11-focal
script:
- echo "Running unit tests... This will take about 60 seconds."
- sleep 60