From 9a7f0d7f64866431948a0c4cf44c83775b27399c Mon Sep 17 00:00:00 2001 From: Rodrigo Pastrana Date: Thu, 17 Aug 2023 17:53:18 -0400 Subject: [PATCH] JAPI-524 env var test Signed-off-by: Rodrigo Pastrana --- .github/workflows/httpsUnitTests.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/httpsUnitTests.yml b/.github/workflows/httpsUnitTests.yml index 1d7e06c70..69642934a 100644 --- a/.github/workflows/httpsUnitTests.yml +++ b/.github/workflows/httpsUnitTests.yml @@ -123,4 +123,12 @@ jobs: restore-keys: ${{ runner.os }}-m2 - name: Build with Maven - run: mvn -B --activate-profiles jenkins-on-demand -Dmaven.gpg.skip=true -Dmaven.javadoc.skip=true -Dmaven.test.failure.ignore=false -Dhpccconn=https://eclwatch.default:8010 -Dwssqlconn=https://sql2ecl.default:8510 ${{ env.CUSTOM_MVN_OPTIONS }} install \ No newline at end of file + env: + CUSTOM_MVN_OPTIONS_SECRET : ${{ secrets.CUSTOM_MVN_OPTIONS }} + CUSTOM_MVN_OPTIONS_ENV : ${{ vars.CUSTOM_MVN_OPTIONS }} + #run: mvn -B --activate-profiles jenkins-on-demand -Dmaven.gpg.skip=true -Dmaven.javadoc.skip=true -Dmaven.test.failure.ignore=false -Dhpccconn=https://eclwatch.default:8010 -Dwssqlconn=https://sql2ecl.default:8510 ${{ env.CUSTOM_MVN_OPTIONS }} install + run: | + echo "VARIABLE: env.CUSTOM_MVN_OPTIONS_SECRET: ${{ env.CUSTOM_MVN_OPTIONS_SECRET }}" + echo "VARIABLE: env.CUSTOM_MVN_OPTIONS_ENV: ${{ env.CUSTOM_MVN_OPTIONS_ENV }}" + echo "direct: vars.CUSTOM_MVN_OPTIONS: ${{ vars.CUSTOM_MVN_OPTIONS }}" + echo "direct: secrets.CUSTOM_MVN_OPTIONS: ${{ secrets.CUSTOM_MVN_OPTIONS }}" \ No newline at end of file