• Similar Issues:


      Under an strange circumstance, after uploading a credential to Global Credentials section, Jenkins says that the credential is created and it is correct, but physically the file is not uploaded (or it is removed). In these cases the the credentials-binding-plugin fails with next exception: remote file operation failed: /scratch/jenkins/secretFiles/35effc3c-7cfe-4d39-ad01-720f9f0c0913 at hudson.remoting.Channel@18993415:13ca24de: /scratch/jenkins/secretFiles/35effc3c-7cfe-4d39-ad01-720f9f0c0913 (Is a directory)
      	at hudson.FilePath.act(
      	at hudson.FilePath.act(
      	at hudson.FilePath.write(
      	at hudson.FilePath.copyFrom(
      	at org.jenkinsci.plugins.credentialsbinding.impl.FileBinding.copy(
      	at org.jenkinsci.plugins.credentialsbinding.impl.FileBinding.bindSingle(
      	at org.jenkinsci.plugins.credentialsbinding.Binding.bind(
      	at org.jenkinsci.plugins.credentialsbinding.impl.BindingStep$Execution.start(

      It would be great if the plugin enforce to have a fileName set, and in case of not (probably because the credentials are not there) to throw an exception explaining the situation instead of showing an exception which does not explain this situation.


          Issue Links


            asotobueno Alex Soto created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Component/s plain-credentials-plugin [ 18123 ]
            Component/s credentials-binding-plugin [ 18129 ]
            asotobueno Alex Soto made changes -
            Assignee Jesse Glick [ jglick ] Alex Soto [ asotobueno ]
            asotobueno Alex Soto made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 3 (Web Link)" [ 13182 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 166055 ] JNJira + In-Review [ 197896 ]


              • Assignee:
                asotobueno Alex Soto
                asotobueno Alex Soto
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: