Request to not set label field by default when editing Pipeline
What would you like to be added:
As I mentioned in the title, I request to not set the label field by default in Pipeline editing modal, please see the screenshot below:
Why is this needed:
My raw Jenkinsfile is as below:
pipeline {
agent {
kubernetes {
inheritFrom 'nodejs base'
containerTemplate {
name 'nodejs'
image 'node:17'
}
}
}
But when I try to go into Pipeline editing modal, change nothing and save it, my Jenksinfile will be like as below:
pipeline {
agent {
kubernetes {
inheritFrom 'nodejs base'
containerTemplate {
name 'nodejs'
image 'node:17'
}
label 'default'
}
This Jenkinsfile cannot be run correctly. That's not our expectation.