[JIRA] (JENKINS-60020) Wrong baseDirectory when using publish over ssh via promotion

5 views
Skip to first unread message

saskia.bikle@gmail.com (JIRA)

unread,
Nov 1, 2019, 10:34:02 AM11/1/19
to jenkinsc...@googlegroups.com
Saskia Bikle created an issue
 
Jenkins / Bug JENKINS-60020
Wrong baseDirectory when using publish over ssh via promotion
Issue Type: Bug Bug
Assignee: Oleg Nenashev
Components: promoted-builds-plugin, publish-over-ssh-plugin
Created: 2019-11-01 14:33
Environment: Jenkins ver. 2.190.2
Priority: Major Major
Reporter: Saskia Bikle

After we updated our jenkins to 2.190.1 we are not able to to use the pubish over ssh feature within a manually approved promotion. Even after updating to 2.190.2 the issue exists.

The issue is that the publish-over.BPPlugin resolves in line 115 the path from the promtion job which is different from the real build path. In my case it is '/opt/jenkins/jobs/frontend/promotions/Deployment server/builds/11/archive' but it should be '/opt/jenkins/jobs/frontend/builds/61/archive'.

The job log of a failed publish over ssh is:

Running as SYSTEM
Building in workspace /opt/jenkins/workspace/frontend
Promoting frontend #61
SSH: Connecting from host [jenkins]
SSH: Connecting with configuration [server] ...
SSH: Disconnecting configuration [server] ...
ERROR: Exception when publishing, exception message [The base directory does not exist. If this is a promotion, have you "Archived the artifacts"?]

 

Do we use a deprecated configuration?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages