This commit is contained in:
Anupong Hompan 2025-10-28 00:49:59 +07:00
parent d408523931
commit a01cb08985

4
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ pipeline {
docker {
image 'mcr.microsoft.com/dotnet/sdk:9.0'
args '-u root:root'
label "${params.AGENT_LABEL?.trim() ?: ''}"
// label "${params.AGENT_LABEL?.trim() ?: ''}"
}
}
@ -18,7 +18,7 @@ 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: 'AGENT_LABEL', defaultValue: '', description: 'Optional Jenkins agent label with Docker CLI access (leave blank for default node)')
// string(name: 'AGENT_LABEL', defaultValue: '', description: 'Optional Jenkins agent label with Docker CLI access (leave blank for default node)')
}
environment {