From 6f902c6e11cc9c01e2baaa01e6f973838fa2e02a Mon Sep 17 00:00:00 2001 From: Jaryt Bustard Date: Tue, 11 Oct 2022 14:41:17 -0400 Subject: [PATCH] feat: expose with_cache parameters to test jobs (#33) --- src/jobs/parallel_test.yml | 11 +++++++++++ src/jobs/test.yml | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/src/jobs/parallel_test.yml b/src/jobs/parallel_test.yml index c7dbff2..cd6b238 100755 --- a/src/jobs/parallel_test.yml +++ b/src/jobs/parallel_test.yml @@ -47,6 +47,15 @@ parameters: description: If following standard maven conventions this does not need to be changed. type: string default: "src/test/java" + verify_dependencies: + description: Verify dependencies are valid and available from public sources + type: boolean + default: true + dependency_plugin_version: + description: Specify the Maven Dependency Plugin + type: string + default: "3.1.2" + steps: - checkout - run: @@ -61,6 +70,8 @@ steps: settings_file: << parameters.settings_file >> app_src_directory: << parameters.app_src_directory >> maven_command: << parameters.maven_command >> + dependency_plugin_version: << parameters.dependency_plugin_version >> + verify_dependencies: << parameters.verify_dependencies >> steps: - run: name: Run Tests diff --git a/src/jobs/test.yml b/src/jobs/test.yml index ea3913a..8421108 100755 --- a/src/jobs/test.yml +++ b/src/jobs/test.yml @@ -26,6 +26,14 @@ parameters: description: Specify a custom path for invoking maven type: string default: mvn + verify_dependencies: + description: Verify dependencies are valid and available from public sources + type: boolean + default: true + dependency_plugin_version: + description: Specify the Maven Dependency Plugin + type: string + default: "3.1.2" steps: - checkout @@ -33,6 +41,8 @@ steps: settings_file: << parameters.settings_file >> app_src_directory: << parameters.app_src_directory >> maven_command: << parameters.maven_command >> + dependency_plugin_version: << parameters.dependency_plugin_version >> + verify_dependencies: << parameters.verify_dependencies >> steps: - run: name: Run Tests