-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
When using a file parameter, and no file is selected in the build trigger view,
hudson should not 'touch' (create a zero-length) file at the location specified
in the parameter definition.
My use case is to use a file parameter to temporarily ovewrite a project file
that controls the build process. If I don't specify any file in the build page,
I don't want hudson to overwrite my default control file (coming from svn) with
a zero length one.
- is duplicated by
-
JENKINS-19183 File Parameter: Creates an empty file when no file is uploaded
-
- Resolved
-
- links to
[JENKINS-3539] File parameter, file is touched if no argument given
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Assignee | Original: huybrechts [ huybrechts ] | |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Component/s | New: core [ 15593 ] | |
Component/s | Original: parameters [ 15594 ] |
Assignee | New: Daniel Beck [ danielbeck ] |
I also noticed that when an upstream project triggers the build of a downstream
project, which has a file parameter, it works as expected, i.e. no file is touched.