-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 2.89.4, Publish Over SSH 1.19
I have a freestyle job that publish over SSH some artifacts using "remove prefix" and "remote directory" valued. With the plugin version 1.17 it works great.
Updating to 1.19 everytime I edit the job configuration both fields are empty also if valued (are not persistend on save) and subsequently any run fails.
Before:
<jenkins.plugins.publish__over__ssh.BapSshPublisherPlugin plugin="publish-over-ssh@1.17"> <consolePrefix>SSH: </consolePrefix> <delegate> <publishers> <jenkins.plugins.publish__over__ssh.BapSshPublisher> <configName>machine01.acme.com</configName> <verbose>false</verbose> <transfers> <jenkins.plugins.publish__over__ssh.BapSshTransfer> <remoteDirectory>build</remoteDirectory> <sourceFiles>target/*.tar.gz,wealth/target/db/**/*</sourceFiles> <excludes /> <removePrefix>target</removePrefix> <remoteDirectorySDF>false</remoteDirectorySDF> <flatten>false</flatten> <cleanRemote>false</cleanRemote> <noDefaultExcludes>false</noDefaultExcludes> <makeEmptyDirs>false</makeEmptyDirs> <patternSeparator>[, ]+</patternSeparator> <execCommand /> <execTimeout>120000</execTimeout> <usePty>false</usePty> <useAgentForwarding>false</useAgentForwarding> </jenkins.plugins.publish__over__ssh.BapSshTransfer> </transfers> <useWorkspaceInPromotion>false</useWorkspaceInPromotion> <usePromotionTimestamp>false</usePromotionTimestamp> </jenkins.plugins.publish__over__ssh.BapSshPublisher> </publishers> </delegate> </jenkins.plugins.publish__over__ssh.BapSshPublisherPlugin>
After:
<jenkins.plugins.publish__over__ssh.BapSshPublisherPlugin plugin="publish-over-ssh@1.19"> <consolePrefix>SSH: </consolePrefix> <delegate plugin="publish-over@0.21"> <publishers> <jenkins.plugins.publish__over__ssh.BapSshPublisher plugin="publish-over-ssh@1.19"> <configName>machine01.acme.com</configName> <verbose>false</verbose> <transfers> <jenkins.plugins.publish__over__ssh.BapSshTransfer> <sourceFiles>target/*.tar.gz,target/db/**/*</sourceFiles> <remoteDirectorySDF>false</remoteDirectorySDF> <flatten>false</flatten> <cleanRemote>false</cleanRemote> <noDefaultExcludes>false</noDefaultExcludes> <makeEmptyDirs>false</makeEmptyDirs> <execCommand /> <execTimeout>120000</execTimeout> <usePty>false</usePty> <useAgentForwarding>false</useAgentForwarding> </jenkins.plugins.publish__over__ssh.BapSshTransfer> </transfers> <useWorkspaceInPromotion>false</useWorkspaceInPromotion> <usePromotionTimestamp>false</usePromotionTimestamp> </jenkins.plugins.publish__over__ssh.BapSshPublisher> </publishers> </delegate> </jenkins.plugins.publish__over__ssh.BapSshPublisherPlugin>
- duplicates
-
JENKINS-49770 publish-over-ssh not saving settings
- Resolved