Jenkins transferring 0 files using publish over SSH plugin
Quick thing to try first: set the Source folder only with: **/* to see if any file is copied. If file was copied then take a look here to see how to write the correct path here
I thinks, problem at your config. We have 2 positions to configure.
- At System configuration (Global config). --> If test ok ==> Configuration to remote server is ok.
At your project. We will focus about transfer set: (Source file, Remove prefix, remote directory)
2.1 Source file : if it's blank = workspace directory. in your case i think you should input
**/*
2.2 Remove prefix : refer Here for more info.
2.3 Remote directory: if it's blank = directory that is configured at System configuration above.
Hope it help! Sorry about my English.
My advices:
- You should avoid using spaces in the Jenkins job name!
- in your case: name
20eyes Build
can produce some troubles in file/directory matching
- in your case: name
- You should use relative paths and not absolute paths!
- in your case:
/var/lib/jenkins/...
should be replaced by relative path from job's workspace
- in your case:
- You should NOT copy whole workspace!
- specify only appropriate files from last build (e.g. WAR file from target directory)
- You should check documentation and examples of Publish Over plugins:
- examples will be very usefull for You