diff --git a/bamboo-specs/bamboo.yml b/bamboo-specs/bamboo.yml index da5b5dbd..2a9b4e47 100644 --- a/bamboo-specs/bamboo.yml +++ b/bamboo-specs/bamboo.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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