• ■ ■ ■ ■ ■ ■
    .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 clean 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 2 lines
    33 37   triggers:
    34 38   - !BranchUpdateTrigger
    35 39   branches: main
     40 + projects: onedev/maven-plugin
    36 41   retryCondition: never
    37 42   maxRetries: 3
    38 43   retryDelay: 30
    39  - cpuRequirement: 250m
    40  - memoryRequirement: 128m
     44 + cpuRequirement: 250
     45 + memoryRequirement: 128
    41 46   caches:
    42 47   - key: maven-cache
    43 48   path: /root/.m2/repository
    skipped 3 lines
    47 52   - !CheckoutStep
    48 53   name: 'checkout '
    49 54   cloneCredential: !DefaultCredential {}
     55 + withLfs: false
     56 + withSubmodules: true
    50 57   condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
    51 58   - !CommandStep
    52 59   name: 'command '
    skipped 2 lines
    55 62   - git config --global --unset http.extraHeader
    56 63   - git push https://robinshine:@secrets:github-token@@@github.com/theonedev/maven-plugin
    57 64   HEAD:main
     65 + useTTY: false
    58 66   condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
    59 67   triggers:
    60 68   - !BranchUpdateTrigger
    skipped 1 lines
    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