This commit is contained in:
Anupong Hompan 2025-10-27 23:18:38 +07:00
parent fef65d1cf8
commit a96e4c8644

2
Jenkinsfile vendored
View File

@ -3,7 +3,6 @@ pipeline {
docker {
image 'mcr.microsoft.com/dotnet/sdk:9.0'
args '-u root:root'
label "${params.AGENT_LABEL ?: 'docker'}"
}
}
@ -18,7 +17,6 @@ pipeline {
parameters {
string(name: 'GIT_URL', defaultValue: 'file:///SourceCode/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: 'docker', description: 'Label of Jenkins agent with Docker CLI access')
}
environment {