Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    .onedev-buildspec.yml
    1  -version: 6
     1 +version: 13
    2 2  jobs:
    3 3  - name: Release
    4 4   steps:
    5 5   - !CheckoutStep
    6 6   name: checkout
    7 7   cloneCredential: !DefaultCredential {}
     8 + withLfs: false
     9 + withSubmodules: true
    8 10   condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
    9 11   - !CommandStep
    10 12   name: detect build version
    skipped 4 lines
    15 17   dependencies)..."
    16 18   - echo $(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version
    17 19   -q -DforceStdout) > buildVersion
     20 + useTTY: false
    18 21   condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
    19 22   - !SetBuildVersionStep
    20 23   name: set build version
    skipped 4 lines
    25 28   image: 1dev/build-environment:1.1
    26 29   commands:
    27 30   - mvn deploy -Dmaven.deploy.password=@secrets:maven-deploy-password@
     31 + useTTY: false
    28 32   condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
    29 33   - !CreateTagStep
    30 34   name: 'create tag '
    skipped 5 lines
    36 40   retryCondition: never
    37 41   maxRetries: 3
    38 42   retryDelay: 30
    39  - cpuRequirement: 250m
    40  - memoryRequirement: 128m
     43 + cpuRequirement: 250
     44 + memoryRequirement: 128
    41 45   caches:
    42 46   - key: maven-cache
    43 47   path: /root/.m2/repository
    skipped 3 lines
    47 51   - !CheckoutStep
    48 52   name: checkout
    49 53   cloneCredential: !DefaultCredential {}
     54 + withLfs: false
     55 + withSubmodules: true
    50 56   condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
    51 57   - !CommandStep
    52 58   name: sync
    skipped 2 lines
    55 61   - git config --global --unset http.extraHeader
    56 62   - git push -f https://robinshine:@secrets:github-token@@@github.com/theonedev/agent
    57 63   HEAD:main
     64 + useTTY: false
    58 65   condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
    59 66   triggers:
    60 67   - !BranchUpdateTrigger
    61 68   branches: main
     69 + projects: onedev/agent
    62 70   retryCondition: never
    63 71   maxRetries: 3
    64 72   retryDelay: 30
    65  - cpuRequirement: 250m
    66  - memoryRequirement: 128m
     73 + cpuRequirement: 250
     74 + memoryRequirement: 128
    67 75   timeout: 3600
    68 76   
Please wait...
Page is in error, reload to recover