This commit is contained in:
Anupong Hompan 2025-10-28 16:40:17 +07:00
parent af82dcd41e
commit 7d60224421

2
Jenkinsfile vendored
View File

@ -12,6 +12,8 @@ pipeline {
parameters {
string(name: 'GIT_URL', defaultValue: 'file:///repos/AS400API.git', description: 'Git repository URL to clone')
string(name: 'GIT_BRANCH', defaultValue: 'main', description: 'Branch or ref to build')
string(name: 'SONARQUBE_SERVER', defaultValue: 'SonarQube', description: 'Name of the SonarQube server configured in Jenkins (Manage Jenkins → Configure System)')
string(name: 'SONAR_TOKEN_ID', defaultValue: '', description: 'Jenkins Secret Text credential ID for the Sonar token')
// string(name: 'AGENT_LABEL', defaultValue: '', description: 'Optional Jenkins agent label with Docker CLI access (leave blank for default node)')
}