Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61777

SSH job configuration wrong when value deleted

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • None
    • Jenkins-2.176.2
      publish-over-ssh-1.20.1

    Description

      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.

      Attachments

        Activity

          ianw Ian Williams created issue -

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/83
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-61777%22

          (Note: this is an automated bulk comment)

          gmcdonald Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/83 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-61777%22 (Note: this is an automated bulk comment)

          Closing ticket, please use the corresponding Github Issue as linked above.

          gmcdonald Gavin McDonald added a comment - Closing ticket, please use the corresponding Github Issue as linked above.
          gmcdonald Gavin McDonald made changes -
          Field Original Value New Value
          Resolution Incomplete [ 4 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            Unassigned Unassigned
            ianw Ian Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: