Edit .onedev-buildspec.yml
This commit is contained in:
parent
bc9c541343
commit
20044c48be
@ -45,7 +45,6 @@ jobs:
|
|||||||
path: /root/.m2/repository
|
path: /root/.m2/repository
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
- name: package
|
- name: package
|
||||||
jobExecutor: internal
|
|
||||||
steps:
|
steps:
|
||||||
- !CheckoutStep
|
- !CheckoutStep
|
||||||
name: Checkout Code
|
name: Checkout Code
|
||||||
@ -82,6 +81,7 @@ jobs:
|
|||||||
name: Publish Artifacts
|
name: Publish Artifacts
|
||||||
artifacts: '**'
|
artifacts: '**'
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
|
jobExecutor: internal
|
||||||
retryCondition: never
|
retryCondition: never
|
||||||
maxRetries: 3
|
maxRetries: 3
|
||||||
retryDelay: 30
|
retryDelay: 30
|
||||||
@ -112,3 +112,45 @@ jobs:
|
|||||||
cpuRequirement: 250
|
cpuRequirement: 250
|
||||||
memoryRequirement: 256
|
memoryRequirement: 256
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
|
- name: Pull from Github
|
||||||
|
steps:
|
||||||
|
- !PullRepository
|
||||||
|
name: Pull from GitHub
|
||||||
|
remoteUrl: https://github.com/ronger-x/forest
|
||||||
|
syncToChildProject: false
|
||||||
|
passwordSecret: access_token
|
||||||
|
refs: refs/heads/* refs/tags/*
|
||||||
|
withLfs: false
|
||||||
|
force: false
|
||||||
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
|
triggers:
|
||||||
|
- !ScheduleTrigger
|
||||||
|
cronExpression: 0 0 1 * * ?
|
||||||
|
retryCondition: never
|
||||||
|
maxRetries: 3
|
||||||
|
retryDelay: 30
|
||||||
|
cpuRequirement: 250
|
||||||
|
memoryRequirement: 256
|
||||||
|
timeout: 3600
|
||||||
|
- name: Push to GitHub
|
||||||
|
steps:
|
||||||
|
- !PushRepository
|
||||||
|
name: Push to GitHub
|
||||||
|
remoteUrl: https://github.com/ronger-x/forest
|
||||||
|
passwordSecret: access_token
|
||||||
|
withLfs: false
|
||||||
|
force: false
|
||||||
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
|
triggers:
|
||||||
|
- !BranchUpdateTrigger
|
||||||
|
branches: master
|
||||||
|
projects: forest
|
||||||
|
- !TagCreateTrigger
|
||||||
|
branches: master
|
||||||
|
projects: forest
|
||||||
|
retryCondition: never
|
||||||
|
maxRetries: 3
|
||||||
|
retryDelay: 30
|
||||||
|
cpuRequirement: 250
|
||||||
|
memoryRequirement: 256
|
||||||
|
timeout: 3600
|
||||||
|
Loading…
Reference in New Issue
Block a user