Skip to content

Commit

Permalink
Resolving review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirgune committed Dec 2, 2024
1 parent e0cc72c commit ccb630a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions auto-run-dockerized-nondex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ docker run \

---

The `-v` flag in the command mounts a local directory, `<nondex_logs>`, to the container directory `app/<nondex_logs>`. This ensures that logs generated during execution are saved directly to the user's local system. You can customize this behavior by binding a different local directory to the container, based on your preference.

---

## Script Workflow

### 1. Clone the Repository
Expand Down
4 changes: 2 additions & 2 deletions auto-run-dockerized-nondex/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ echo "Printing java version for reference"
java --version

# Initialize the Maven install command
MVN_INSTALL_CMD="mvn clean install"
MVN_INSTALL_CMD="mvn clean install -DskipTests"

# Add the -pl option if MODULE is provided
if [ -n "$MODULE" ]; then
Expand Down Expand Up @@ -58,7 +58,7 @@ NONDEX_LOG_FILE="$NONDEX_LOG_DIR/nondex-logs-$(date +%Y%m%d-%H%M%S).log"
NONDEX_FAILURE_FILE="$NONDEX_LOG_DIR/nondex-flaky-tests-$(date +%Y%m%d-%H%M%S).txt"

echo "Running the NonDex plugin. Logs will be saved to $NONDEX_LOG_FILE"
eval $NONDEX_CMD | tee "$NONDEX_LOG_FILE"
eval $NONDEX_CMD 2>&1 | tee "$NONDEX_LOG_FILE"

if [ ! -f "$NONDEX_LOG_FILE" ]; then
echo "Error: NonDex log file not found at $NONDEX_LOG_FILE."
Expand Down

0 comments on commit ccb630a

Please sign in to comment.