export const DetectorJenkinsMensagens = {
    missingTimeout: 'Timeout not configured in pipeline or stage',
    missingTimeoutSugestao: "Add an \"options { timeout(time: 30, unit: 'MINUTES') }\" block to avoid zombie jobs",
    missingCleanup: 'Workspace cleanup (cleanWs) not detected in post-build',
    missingCleanupSugestao: 'Use "cleanWs()" in post { always { ... } } to avoid disk issues on the agent',
    optimizationParallel: (stageCount) => `Long pipeline detected (${stageCount} stages) without parallelism`,
    optimizationParallelSugestao: 'Consider using the "parallel" block to run independent tests or builds simultaneously',
    semAgent: 'Declarative pipeline without an agent block defined',
    semAgentSugestao: "Add agent { label '...' } or agent any to define where the pipeline runs",
    semPost: 'Pipeline without a post block for post-execution actions',
    semPostSugestao: 'Add post { always { cleanWs() } } to clean the workspace',
    poucosStages: 'Pipeline defined with only one stage',
    poucosStagesSugestao: 'Split the pipeline into stages (e.g. Build, Test, Deploy)',
    pipelineIncompleto: (missingStages) => `Pipeline may be missing stages such as: ${missingStages}`,
    pipelineIncompletoSugestao: 'Consider adding separate build, test, and deploy stages',
    semTools: 'Pipeline without a tools block to define tool dependencies (JDK, Maven, Node)',
    semToolsSugestao: "Add tools { nodejs 'NodeJS' } or tools { jdk 'JDK17' }",
    dangerousSudo: 'Detected sudo usage in shell commands',
    dangerousSugestao: 'Configure permissions on the Jenkins Agent or use Docker containers to avoid needing sudo',
    dockerLatest: 'Detected Docker image using :latest tag',
    dockerLatestSugestao: 'Use a fixed version tag to ensure build reproducibility',
    hardcodedSecrets: 'Potential hardcoded secret detected',
    hardcodedSecretsSugestao: "Use Jenkins credentials('ID') to inject secrets securely",
};
//# sourceMappingURL=detector-jenkins-messages.js.map