Skip to content

Commit dc21546

Browse files
committed
feat: update Makefile and documentation for linting and reinstall targets
1 parent d9c06b1 commit dc21546

3 files changed

Lines changed: 6 additions & 17 deletions

File tree

.github/copilot-instructions.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -135,17 +135,6 @@ Use `provider.setThrowError(true)` to simulate failures, `provider.getLastCustom
135135

136136
A `Makefile` is provided for convenience — run `make help` to list all targets.
137137

138-
| Make target | Maven equivalent | Purpose |
139-
|---|---|---|
140-
| `make build` | `mvn compile` | Compile the plugin |
141-
| `make test` | `mvn test` | Run unit tests |
142-
| `make verify` | `mvn verify` | Full CI check |
143-
| `make package` | `mvn package -DskipTests` | Build .hpi file |
144-
| `make run` | `mvn hpi:run` | Start Jenkins with plugin |
145-
| `make debug` | `mvnDebug hpi:run` | Start Jenkins with remote debugger |
146-
| `make lint` | `mvn checkstyle:checkstyle spotbugs:check` | Static analysis (non-blocking) |
147-
| `make reinstall` | `mvn clean package install -DskipTests` | Clean rebuild + local install |
148-
149138
## Configuration & Usage
150139

151140
### Global Configuration

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class AIServiceTest {
162162

163163
To check for code quality issues:
164164
```bash
165-
make lint # Checkstyle report + SpotBugs (non-blocking)
165+
make lint # Checkstyle report + SpotBugs (report only, non-blocking)
166166
```
167167

168168
### Architecture

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: help build test verify clean package run debug lint
1+
.PHONY: help build test verify clean package package-full run debug lint reinstall
22

33
# Default target
44
.DEFAULT_GOAL := help
@@ -30,8 +30,8 @@ run: ## Start Jenkins locally with the plugin (http://localhost:8080/jenkins)
3030
debug: ## Start Jenkins with remote debugger on port 8000 (attach anytime, does not block)
3131
VSCODE_JDWP_ADAPTER_ENDPOINTS="" mvn hpi:run -Ddebug="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=localhost:8000"
3232

33-
lint: ## Run Checkstyle (report only) and SpotBugs static analysis
34-
mvn checkstyle:checkstyle spotbugs:check
33+
lint: ## Run Checkstyle and SpotBugs static analysis (report only, non-blocking)
34+
mvn checkstyle:checkstyle spotbugs:spotbugs
3535

36-
reinstall: clean package ## Clean, rebuild, and install .hpi locally
37-
mvn install -DskipTests
36+
reinstall: ## Clean, rebuild, and install .hpi locally
37+
mvn clean install -DskipTests

0 commit comments

Comments
 (0)