This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      I have a parameterized build (copied from an existing job) in jenkins. While building, my parameter is getting replaced by a white space. Here I am sharing what I have.
      Parameter Name: "BuildDate" (I tried using %% and ${} but no luck)

      Windows batch command:
      copy \Network_drive\dir1\dir2\dir3%BuildDate%\filename*.zip .

      Output from jenkins console:
      c:\jenkins\workspace\my_build_job_name>copy
      Shared_Network_drive\dir1\dir2\dir3\ \filename.zip .
      Shared_Network_drive\dir1\dir2\dir3\ \filename.zip The system cannot find the path specified. 0 file(s) copied.

      c:\jenkins\workspace\my_build_job_name>exit 1 Build step 'Execute Windows batch command' marked build as failure Notifying upstream projects of job completion Finished: FAILURE

      Any help? Thanks

            Assignee:
            huybrechts
            Reporter:
            Dhruvit Patel
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: