Edit .onedev-buildspec.yml
This commit is contained in:
parent
ae88c7d170
commit
3e0618e035
@ -74,12 +74,12 @@ jobs:
|
|||||||
image: '@script:builtin:maven:determine-docker-image@'
|
image: '@script:builtin:maven:determine-docker-image@'
|
||||||
interpreter: !DefaultInterpreter
|
interpreter: !DefaultInterpreter
|
||||||
commands:
|
commands:
|
||||||
- mvn package -P dev
|
- mvn package
|
||||||
useTTY: false
|
useTTY: false
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
- !BuildImageStep
|
- !BuildImageStep
|
||||||
name: Build Docker Image
|
name: Build Docker Image
|
||||||
tags: rymcu/@project_name@:@build_version@
|
tags: rymcu/forest:@build_version@
|
||||||
publish: false
|
publish: false
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
retryCondition: never
|
retryCondition: never
|
||||||
@ -87,4 +87,7 @@ jobs:
|
|||||||
retryDelay: 30
|
retryDelay: 30
|
||||||
cpuRequirement: 250
|
cpuRequirement: 250
|
||||||
memoryRequirement: 256
|
memoryRequirement: 256
|
||||||
|
caches:
|
||||||
|
- key: maven-cache
|
||||||
|
path: /root/.m2/repository
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
|
Loading…
Reference in New Issue
Block a user