更新.gitlab-ci.yml文件
This commit is contained in:
parent
1aeb066ca0
commit
33e1e54559
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue