I'm building Jenkins(with Jenkins version 2.1.2.0 ) pipeline and after pipeline fails with server installation some logs are generated on machine where server is being installed.

      I want to attach those logs to Jenkins build so person can see that file from Jenkins build only instead of going to machine and find it out.

      I saw a plugin Copy To Slave Plugin but for installation when I searched for it in Jenkins under Manage Jenkins -> Manage Plugins -> Available, it's not listed.

      Could you please confirm if it is no longer available and suggest which plugin will help me to attach log files to Jenkins build?

      Copy data to workspace plugin is not going to help to resolve my problem.

          [JENKINS-60086] Copy To Slave Plugin is not available

          Casper added a comment -

          Any updates on this?

          Casper added a comment - Any updates on this?

          Kalle Niemitalo added a comment - - edited

          https://plugins.jenkins.io/copy-to-slave/ says distribution of this plugin has indeed been suspended and refers to https://www.jenkins.io/security/plugins/#suspensions, which says this was caused by SECURITY-545 / CVE-2018-1000148 ”Copy To Slave Plugin allows access to arbitrary files on the Jenkins controller file system”.

          If your build steps make the Jenkins agent run something that generates log files, and you “want to attach those logs to Jenkins build”, then perhaps you can add them as artifacts.

          Kalle Niemitalo added a comment - - edited https://plugins.jenkins.io/copy-to-slave/ says distribution of this plugin has indeed been suspended and refers to https://www.jenkins.io/security/plugins/#suspensions , which says this was caused by SECURITY-545 / CVE-2018-1000148 ”Copy To Slave Plugin allows access to arbitrary files on the Jenkins controller file system” . If your build steps make the Jenkins agent run something that generates log files, and you “want to attach those logs to Jenkins build”, then perhaps you can add them as artifacts.

            sshelomentsev Sergey Shelomentsev
            gajananrmahajan Gajanan Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: