这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 8 additions & 106 deletions bamboo-specs/bamboo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,8 @@ stages:
Build and Test JDK 17:
key: BTJ17
tasks:
- script:
interpreter: SHELL
scripts:
- |-
#!/bin/bash -eu

set -x

export IMAGE=${bamboo.build.docker.image.id}

docker pull ${IMAGE}

docker run -v m2-repo:/root/.m2/repository -v ${PWD}:/module --rm -w="/module" ${IMAGE} bash -c 'chmod -R 777 .'
description: Resolve file permissions
- checkout:
force-clean-build: 'true'
force-clean-build: 'false'
description: Checkout default repository
- script:
interpreter: SHELL
Expand All @@ -63,22 +49,8 @@ Build and Test JDK 17:
Build and Test JDK 24:
key: BTJ24
tasks:
- script:
interpreter: SHELL
scripts:
- |-
#!/bin/bash -eu

set -x

export IMAGE=${bamboo.build.docker.image.id}

docker pull ${IMAGE}

docker run -v m2-repo:/root/.m2/repository -v ${PWD}:/module --rm -w="/module" ${IMAGE} bash -c 'chmod -R 777 .'
description: Resolve file permissions
- checkout:
force-clean-build: 'true'
force-clean-build: 'false'
description: Checkout default repository
- script:
interpreter: SHELL
Expand All @@ -98,22 +70,8 @@ Build and Test JDK 24:
Build and Test JDK 8:
key: BTJ8
tasks:
- script:
interpreter: SHELL
scripts:
- |-
#!/bin/bash -eu

set -x

export IMAGE=${bamboo.build.docker.image.id}

docker pull ${IMAGE}

docker run -v m2-repo:/root/.m2/repository -v ${PWD}:/module --rm -w="/module" ${IMAGE} bash -c 'chmod -R 777 .'
description: Resolve file permissions
- checkout:
force-clean-build: 'true'
force-clean-build: 'false'
description: Checkout default repository
- script:
interpreter: SHELL
Expand All @@ -133,22 +91,8 @@ Build and Test JDK 8:
Build and Test JDK 11:
key: BTJ11
tasks:
- script:
interpreter: SHELL
scripts:
- |-
#!/bin/bash -eu

set -x

export IMAGE=${bamboo.build.docker.image.id}

docker pull ${IMAGE}

docker run -v m2-repo:/root/.m2/repository -v ${PWD}:/module --rm -w="/module" ${IMAGE} bash -c 'chmod -R 777 .'
description: Resolve file permissions
- checkout:
force-clean-build: 'true'
force-clean-build: 'false'
description: Checkout default repository
- script:
interpreter: SHELL
Expand All @@ -168,22 +112,8 @@ Build and Test JDK 11:
Build and Test JDK 21:
key: BTJ21
tasks:
- script:
interpreter: SHELL
scripts:
- |-
#!/bin/bash -eu

set -x

export IMAGE=${bamboo.build.docker.image.id}

docker pull ${IMAGE}

docker run -v m2-repo:/root/.m2/repository -v ${PWD}:/module --rm -w="/module" ${IMAGE} bash -c 'chmod -R 777 .'
description: Resolve file permissions
- checkout:
force-clean-build: 'true'
force-clean-build: 'false'
description: Checkout default repository
- script:
interpreter: SHELL
Expand All @@ -203,22 +133,8 @@ Build and Test JDK 21:
Deploy to Maven:
key: DTM
tasks:
- script:
interpreter: SHELL
scripts:
- |-
#!/bin/bash -eu

set -x

export IMAGE=${bamboo.build.docker.image.id}

docker pull ${IMAGE}

docker run -v m2-repo:/root/.m2/repository -v ${PWD}:/module --rm -w="/module" ${IMAGE} bash -c 'chmod -R 777 .'
description: Resolve file permissions
- checkout:
force-clean-build: 'true'
force-clean-build: 'false'
description: Checkout default repository
- script:
interpreter: SHELL
Expand All @@ -238,27 +154,13 @@ Deploy to Maven:
Release to maven:
key: RTM
tasks:
- script:
interpreter: SHELL
scripts:
- |-
#!/bin/bash -eu

set -x

export IMAGE=${bamboo.build.docker.image.id}

docker pull ${IMAGE}

docker run -v m2-repo:/root/.m2/repository -v ${PWD}:/module --rm -w="/module" ${IMAGE} bash -c 'chmod -R 777 .'
description: Temporarily resolve file permissions
- checkout:
force-clean-build: 'true'
force-clean-build: 'false'
description: Checkout Default Repository
- checkout:
repository: Release scripts
path: release-scripts
force-clean-build: 'true'
force-clean-build: 'false'
description: Checkout Default Repository
- script:
interpreter: SHELL
Expand Down
Loading