aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-09-06 00:31:56 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-09-06 00:31:56 -0400
commitcd21e5c4ec5da24abd7c3f50ce564539e89f8aec (patch)
tree1fc6de944b7c8f41ea5510bf561e49e612d7adbb
parentde9741b417ee04a54512af106b71cf388c93ea9d (diff)
test-build
-rw-r--r--.onedev-buildspec.yml34
1 files changed, 33 insertions, 1 deletions
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 8049766..8faf682 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -1,4 +1,4 @@
-version: 33
+version: 35
jobs:
- name: GitHub Push
steps:
@@ -44,3 +44,35 @@ jobs:
maxRetries: 3
retryDelay: 30
timeout: 3600
+- name: Build and publish
+ jobExecutor: primary-shell-executor
+ steps:
+ - !CheckoutStep
+ name: Code checkout
+ cloneCredential: !DefaultCredential {}
+ withLfs: false
+ withSubmodules: false
+ checkoutPath: '@project_name@/'
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ - !CommandStep
+ name: VNBuild build
+ runInContainer: false
+ interpreter: !DefaultInterpreter
+ commands: |
+ vnbuild build -S --verbose
+ useTTY: true
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ - !CommandStep
+ name: VNBuild publish
+ runInContainer: false
+ interpreter: !DefaultInterpreter
+ commands: |
+ vnbuild publish --sign --output "f:\downloads\test\build" --verbose
+ useTTY: true
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ triggers:
+ - !BranchUpdateTrigger {}
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ timeout: 3600 \ No newline at end of file