Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22480

option to check file checksums after copying artfacts

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • copyartifact-plugin
    • None
    • RHEL 6.3
      os.arch amd64
      os.name Linux
      os.version 2.6.32-279.el6.x86_64
      java.runtime.name OpenJDK Runtime Environment
      java.runtime.version 1.6.0_24-b24

      Jenkins 1.509.4

      We have following kind of scenario:

      • Artifacts (text files containing SVN revision info) are transferred to matrix project(s), which are executed on Win7 slave nodes that are virtualmachines.
      • Project read version info files as system variables and uses variable when executing svn checkout from command line

      Problem:
      Occasionally (not always) variable is empty -because file is still empty while it is read, when checking file content afterwards from workspace, content is OK. I presume that root cause is file-system buffer etc.

      Workaround:
      We added step that delays file reading couple of seconds, and problem was gone.

      Suggesting:
      Add file checksum test to copyartifacts plugin, or some other test that verifies that files really are written to file-system and can be used before plugin finishes its task.

      Filing this as a bug, but it might be more improvement idea. Change status how you feel appropriate.

            Unassigned Unassigned
            swiksted Samu Wikstedt
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: