Skip to content

Commit 2eabd9b

Browse files
disabled snapshot generation during build
Signed-off-by: nishtham <nishtham@amazon.com>
1 parent 6f0d710 commit 2eabd9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Build and Test
5050
run: |
5151
chown -R 1000:1000 `pwd`
52-
su `id -un 1000` -c "whoami && java -version && ./gradlew build"
52+
su `id -un 1000` -c "whoami && java -version && ./gradlew build -Dbuild.snapshot=false -Dopensearch.version=3.1.0"
5353
5454
- name: Create Artifact Path
5555
run: |
@@ -112,7 +112,7 @@ jobs:
112112

113113
- name: Build and Test
114114
working-directory: ${{ env.WORKING_DIR }}
115-
run: ./gradlew build ${{ env.BUILD_ARGS }}
115+
run: ./gradlew -Dbuild.snapshot=false -Dopensearch.version=3.1.0 build ${{ env.BUILD_ARGS }}
116116
env:
117117
_JAVA_OPTIONS: ${{ matrix.os_java_options }}
118118

.github/workflows/security-test-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Run integration tests
5050
run: |
5151
chown -R 1000:1000 `pwd`
52-
su `id -un 1000` -c "./gradlew integTest -Dsecurity=true -Dhttps=true --tests '*IT'"
52+
su `id -un 1000` -c "./gradlew integTest -Dbuild.snapshot=false -Dsecurity=true -Dopensearch.version=3.1.0 -Dhttps=true --tests '*IT'"
5353
5454
- name: Upload failed logs
5555
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)