I want to transfer files from my post build Jenkins workspace to a location on a remote server. Build goes smoothly for all steps in the job but always transfers 0 files.
This is the console output:
Started by user Patrick
Building in workspace /var/lib/jenkins/jobs/20eyes Build/workspace
Fetching changes from the remote Git repository
Fetching upstream changes from https://github.com/project/project.git
using .gitcredentials to set credentials
Checking out Revision a758e0f8e534271b999a2fc8696b6fd5a3d5e500 (origin/master)
executing script:
cd /var/www/20eyes-web
[SSH] exit-status: 0
SSH: Connecting from host [dev1.remotehost]
SSH: Connecting with configuration [dev2.remotehost] ...
SSH: Disconnecting configuration [dev2.remotehost] ...
SSH: Transferred 0 file(s)
Build step 'Send files or execute commands over SSH' changed build result to SUCCESS
Finished: SUCCESS
The job is configured to build after any commit is pushed to GitHub
The transfer set is:
Source Files:
/var/lib/jenkins/jobs/20eyes Build/workspace/**/*Remove prefix:
/var/lib/jenkins/jobs/20eyes Build/workspace
Please Help!!
Patrick
--
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 jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hello ,
SNAPSHOT/server-1.0-SNAPSHOT.jar [JENKINS] Archiving /var/lib/jenkins/workspace/Devops-project-2/pom.xml to com.example.maven-project/maven-project/1.0-SNAPSHOT/maven-project-1.0-SNAPSHOT.pom channel stopped SSH: Connecting from host [192.168.56.150] SSH: Connecting with configuration [ansible-server] ...SSH: Disconnecting configuration [ansible-server] ... SSH: Transferred 0 file(s) SSH: Connecting from host [192.168.56.150] SSH: Connecting with configuration [ansible-server] ... SSH: EXEC: STDOUT/STDERR from command [ansible-playbook /opt/playbooks/copywarfile.yml] ...PLAY [all] ********************************************************************* TASK [Gathering Facts] *********************************************************ok: [192.168.56.160] TASK [copy jar/war onto tomcat servers] ****************************************ok: [192.168.56.160] PLAY RECAP ********************************************************************* 192.168.56.160 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 SSH: EXEC: completed after 8,881 ms SSH: Disconnecting configuration [ansible-server] ... SSH: Transferred 0 file(s) Finished: SUCCESSThanksPrabhu V
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17d9e826-dee5-4bd5-959f-ce7eef81dfd1%40googlegroups.com.
--
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwe3A5eoY0CXhddr_7%2Bp1A0werQ0XW%2BC%3D1iLfLowhVo8xA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALJU9pdi3hT3aktn1yAY87NFjDkhgW4Tm5aH-cbmC0-24xqAcQ%40mail.gmail.com.