[JIRA] (JENKINS-61777) SSH job configuration wrong when value deleted

1 view
Skip to first unread message

ian.williams1@telus.com (JIRA)

unread,
Apr 2, 2020, 5:03:02 AM4/2/20
to jenkinsc...@googlegroups.com
Ian Williams created an issue
 
Jenkins / Bug JENKINS-61777
SSH job configuration wrong when value deleted
Issue Type: Bug Bug
Assignee: Unassigned
Components: publish-over-ssh-plugin
Created: 2020-04-02 09:02
Environment: Jenkins-2.176.2
publish-over-ssh-1.20.1
Priority: Major Major
Reporter: Ian Williams

Assume a Jenkins configuration with 2 SSH server configurations,
SERVER_A and SERVER_B
Assume pre-existing job A with an SSH step using SERVER_B.
Delete SSH SERVER_B from the Global Configuration, save configuration
Configure job A, change nothing and Save job.
Job config.xml now contiansthe first available value from the drop-down selector in configure.

Plugin does not warn the existing configuration is no longer available.
Plugin replaces "non-resolvable" value with first one on the list.
User is none the wiser until something goes wrong during execution.

Plugin should WARN/ERROR:
"Existing job SSH server configuration<value> is not valid"
When existing value is not found, set first value in selector list to:
" - Choose SSH server - "
Plugin should set value to - NULL - if existing value not found, not take the first on the list if job is saved.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages