You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a build is started without providing a file to the 'myFile' Job parameter, I expect the build to fail since the allowNoFile attribute is set to false.
Actual Results
The build does not fail when no file is given as a Job parameter, even though the allowNoFile argument is set to false.
However, the build fails if no parameters are declared in the Job configuration. This isn't absurd, but it's not what you'd expect from the allowNoFile argument. After all, the argument isn't called allowNoParameter.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Ubuntu 20.04 and Windows 10 VMs
Reproduction steps
Scripted pipeline definition:
Expected Results
When a build is started without providing a file to the 'myFile' Job parameter, I expect the build to fail since the
allowNoFile
attribute is set tofalse
.Actual Results
The build does not fail when no file is given as a Job parameter, even though the
allowNoFile
argument is set tofalse
.However, the build fails if no parameters are declared in the Job configuration. This isn't absurd, but it's not what you'd expect from the
allowNoFile
argument. After all, the argument isn't called allowNoParameter.Anything else?
No response
The text was updated successfully, but these errors were encountered: