|
1 | 1 | <?jelly escape-by-default='true'?> |
2 | 2 | <j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form" xmlns:c="/lib/credentials"> |
3 | 3 |
|
4 | | - <f:section title="🔥 ForgeAI Pipeline Intelligence"> |
5 | | - |
6 | | - <f:description> |
7 | | - <div style="padding:10px;background:#1e293b;border-radius:8px;color:#e2e8f0;margin-bottom:12px"> |
8 | | - <strong>ForgeAI</strong> — AI-Powered Pipeline Intelligence.<br/> |
9 | | - Configure your LLM provider, enable/disable analyzers, and set quality gates. |
10 | | - </div> |
11 | | - </f:description> |
| 4 | + <f:section title="ForgeAI Pipeline Intelligence"> |
12 | 5 |
|
13 | 6 | <!-- ── LLM Provider ──────────────────────────────────────────── --> |
14 | 7 | <f:entry title="LLM Provider" field="providerType"> |
|
21 | 14 | </f:entry> |
22 | 15 |
|
23 | 16 | <f:entry title="Model ID" field="modelId" |
24 | | - description="E.g. gpt-4o, claude-sonnet-4-20250514, codellama:13b, deepseek-coder:33b"> |
| 17 | + description="E.g. gpt-4o, claude-sonnet-4-20250514, codellama:13b"> |
25 | 18 | <f:textbox/> |
26 | 19 | </f:entry> |
27 | 20 |
|
|
32 | 25 |
|
33 | 26 | <f:entry title="Temperature" field="temperature" |
34 | 27 | description="0.0 = deterministic, 1.0 = creative. Recommended: 0.1 – 0.3 for code analysis."> |
35 | | - <f:textbox default="0.2"/> |
| 28 | + <f:number clazz="setting-input" min="0" max="1" step="0.1" default="0.2"/> |
36 | 29 | </f:entry> |
37 | 30 |
|
38 | 31 | <f:entry title="Timeout (seconds)" field="timeoutSeconds"> |
39 | | - <f:textbox default="120"/> |
| 32 | + <f:number clazz="setting-input" min="10" default="120"/> |
40 | 33 | </f:entry> |
41 | 34 |
|
42 | 35 | <f:entry title="Max Response Tokens" field="maxTokens"> |
43 | | - <f:textbox default="4096"/> |
| 36 | + <f:number clazz="setting-input" min="256" default="4096"/> |
44 | 37 | </f:entry> |
45 | 38 |
|
46 | 39 | <f:validateButton title="Test Connection" progress="Testing..." |
47 | 40 | method="testConnection" |
48 | 41 | with="providerType,llmEndpoint,modelId,apiKeyCredentialId"/> |
49 | 42 |
|
50 | | - <!-- ── Feature Toggles ───────────────────────────────────────── --> |
51 | | - <f:section title="Analyzer Modules"> |
52 | | - |
53 | | - <f:entry title="AI Code Review" field="enableCodeReview"> |
54 | | - <f:checkbox default="true"/> |
55 | | - </f:entry> |
56 | | - <f:entry title="Vulnerability Analysis" field="enableVulnerabilityAnalysis"> |
57 | | - <f:checkbox default="true"/> |
58 | | - </f:entry> |
59 | | - <f:entry title="Architecture Drift Detection" field="enableArchitectureDrift"> |
60 | | - <f:checkbox default="true"/> |
61 | | - </f:entry> |
62 | | - <f:entry title="Test Gap Analysis" field="enableTestGapAnalysis"> |
63 | | - <f:checkbox default="true"/> |
64 | | - </f:entry> |
65 | | - <f:entry title="Dependency Risk Scoring" field="enableDependencyRisk"> |
66 | | - <f:checkbox default="true"/> |
67 | | - </f:entry> |
68 | | - <f:entry title="Commit Intelligence" field="enableCommitIntelligence"> |
69 | | - <f:checkbox default="true"/> |
70 | | - </f:entry> |
71 | | - <f:entry title="Pipeline Optimization Advisor" field="enablePipelineAdvisor"> |
72 | | - <f:checkbox default="true"/> |
73 | | - </f:entry> |
74 | | - <f:entry title="Release Readiness Score" field="enableReleaseReadiness"> |
75 | | - <f:checkbox default="true"/> |
76 | | - </f:entry> |
77 | | - |
78 | | - </f:section> |
| 43 | + <!-- ── Analyzer Modules ──────────────────────────────────────── --> |
| 44 | + <f:entry title="AI Code Review" field="enableCodeReview"> |
| 45 | + <f:checkbox default="true"/> |
| 46 | + </f:entry> |
| 47 | + <f:entry title="Vulnerability Analysis" field="enableVulnerabilityAnalysis"> |
| 48 | + <f:checkbox default="true"/> |
| 49 | + </f:entry> |
| 50 | + <f:entry title="Architecture Drift Detection" field="enableArchitectureDrift"> |
| 51 | + <f:checkbox default="true"/> |
| 52 | + </f:entry> |
| 53 | + <f:entry title="Test Gap Analysis" field="enableTestGapAnalysis"> |
| 54 | + <f:checkbox default="true"/> |
| 55 | + </f:entry> |
| 56 | + <f:entry title="Dependency Risk Scoring" field="enableDependencyRisk"> |
| 57 | + <f:checkbox default="true"/> |
| 58 | + </f:entry> |
| 59 | + <f:entry title="Commit Intelligence" field="enableCommitIntelligence"> |
| 60 | + <f:checkbox default="true"/> |
| 61 | + </f:entry> |
| 62 | + <f:entry title="Pipeline Optimization Advisor" field="enablePipelineAdvisor"> |
| 63 | + <f:checkbox default="true"/> |
| 64 | + </f:entry> |
| 65 | + <f:entry title="Release Readiness Score" field="enableReleaseReadiness"> |
| 66 | + <f:checkbox default="true"/> |
| 67 | + </f:entry> |
79 | 68 |
|
80 | 69 | <!-- ── Quality Gate ──────────────────────────────────────────── --> |
81 | | - <f:section title="Quality Gate & Reporting"> |
82 | | - |
83 | | - <f:entry title="Publish HTML Report" field="publishHtmlReport"> |
84 | | - <f:checkbox default="true"/> |
85 | | - </f:entry> |
86 | | - |
87 | | - <f:entry title="Fail Build on Low Score" field="failOnCritical" |
88 | | - description="Fail the build when composite score falls below the threshold."> |
89 | | - <f:checkbox default="false"/> |
90 | | - </f:entry> |
| 70 | + <f:entry title="Publish HTML Report" field="publishHtmlReport"> |
| 71 | + <f:checkbox default="true"/> |
| 72 | + </f:entry> |
91 | 73 |
|
92 | | - <f:entry title="Score Threshold (1-10)" field="criticalThreshold" |
93 | | - description="Minimum composite score to pass the quality gate."> |
94 | | - <f:textbox default="3"/> |
95 | | - </f:entry> |
| 74 | + <f:entry title="Fail Build on Low Score" field="failOnCritical" |
| 75 | + description="Fail the build when composite score falls below the threshold."> |
| 76 | + <f:checkbox default="false"/> |
| 77 | + </f:entry> |
96 | 78 |
|
97 | | - <f:entry title="Custom System Prompt (Advanced)" field="customSystemPrompt" |
98 | | - description="Optional: prepend custom instructions to all analyzer prompts."> |
99 | | - <f:textarea/> |
100 | | - </f:entry> |
| 79 | + <f:entry title="Score Threshold (1-10)" field="criticalThreshold" |
| 80 | + description="Minimum composite score to pass the quality gate."> |
| 81 | + <f:number clazz="setting-input" min="1" max="10" default="3"/> |
| 82 | + </f:entry> |
101 | 83 |
|
102 | | - </f:section> |
| 84 | + <f:entry title="Custom System Prompt (Advanced)" field="customSystemPrompt" |
| 85 | + description="Optional: prepend custom instructions to all analyzer prompts."> |
| 86 | + <f:textarea/> |
| 87 | + </f:entry> |
103 | 88 |
|
104 | 89 | </f:section> |
105 | 90 |
|
|
0 commit comments