JK
This commit is contained in:
parent
d408523931
commit
a01cb08985
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user