Hi,

how does unarchive() determines which artefact is to be unarchived? I am building a C++ project natively and additionally doing a cross compile in parallel. Both archive steps will archive the same folder (but on two different workspaces). What will happen during unarchive()? Does archive "merge" the results (is it a big common data storage)?

Here is a stub to demonstrate what i mean:

parallel windowsBuild: {
  node('Windows') {
    unarchive mapping: ['src/' : '.']
    cd('build') {
      bat 'build'
    }
    archive "Binary/"    // <-- archive created binaries
  }
}, LinuxBuildEmbedded: {
  node('Linux') {
    unarchive mapping: ['src/' : '.']
    cd('build') {
      sh 'build'
    }
    archive "Binary/"    // <-- archive created binaries
  }
}

node('master') {
unarchive mapping ['Binary/' : 'Binary/'] // <-- what will happen here?
}

Thanks
Christoph



--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d7de976ad9ea63acbbe3a6086f7d8e4f%40kfpc.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to