Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jenkins Publish Over SSH返回空错误消息_Jenkins_Ssh - Fatal编程技术网

Jenkins Publish Over SSH返回空错误消息

Jenkins Publish Over SSH返回空错误消息,jenkins,ssh,Jenkins,Ssh,我们遇到了一个错误,但没有日志或错误消息来帮助toubleshooting: SSH: Connecting from host [xxxxxxxx] SSH: Connecting with configuration [test_p805] ... SSH: Creating session: username [p805s1], hostname [xxxxxxxx], port [22] SSH: Connecting session ... SSH: Connected SSH: Op

我们遇到了一个错误,但没有日志或错误消息来帮助toubleshooting:

SSH: Connecting from host [xxxxxxxx]
SSH: Connecting with configuration [test_p805] ...
SSH: Creating session: username [p805s1], hostname [xxxxxxxx], port [22]
SSH: Connecting session ...
SSH: Connected
SSH: Opening SFTP channel ...
SSH: SFTP channel open
SSH: Connecting SFTP channel ...
SSH: Connected
SSH: cd [/]
SSH: OK
SSH: cd [/]
SSH: OK
SSH: cd [correct/destination/path]
SSH: OK
SSH: Disconnecting configuration [test_p805] ...
ERROR: Exception when publishing, exception message [null]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
我们有许多使用相同配置的成功作业(test_p805)。对于此特定步骤,配置如下所示:

          <jenkins.plugins.publish__over__ssh.BapSshTransfer>
            <remoteDirectory>/correct/destination/path</remoteDirectory>
            <sourceFiles>${source_files}</sourceFiles>
            <excludes></excludes>
            <removePrefix></removePrefix>
            <remoteDirectorySDF>false</remoteDirectorySDF>
            <flatten>true</flatten>
            <cleanRemote>true</cleanRemote>
            <noDefaultExcludes>false</noDefaultExcludes>
            <makeEmptyDirs>false</makeEmptyDirs>
            <patternSeparator>[, ]+</patternSeparator>
            <execCommand></execCommand>
            <execTimeout>600000</execTimeout>
            <usePty>false</usePty>
          </jenkins.plugins.publish__over__ssh.BapSshTransfer>

/正确/目的地/路径
${source_files}
假的
真的
真的
假的
假的
[, ]+
600000
假的
其中${source_files}是一个模式,应该拾取一个jar文件:
target\scala-2.10\*.jar
,我已经确认了一个jar在工作区的那个位置

以前有人碰到过这个吗