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

Unable to define CIFS share credentials at runtime as per documentation

    XMLWordPrintable

Details

    Description

      According to the plugin documentation

       

      The credentials can now be overriden when configuring the publisher within a job. This means that you can now specify all of the properties of the Host Configuration, but leave the credentials blank - ensuring that the server can only be used if the person configuring the job can supply the required credentials.

       however, nowhere does it show how to configure the credentials in a job, using declarative / script language in the Jenkinsfile. I am only able to configure a share with embedded credentials which makes the share available for anyone on the Jenkins platform to use which is not good from a security standpoint.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ajb1967 Andy Burrows
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: