I want Jenkins on Linux to do builds on Windows servers.  Naturally the 
authentication must be secure as it is in a production environment.  The 
Windows servers are not part of any domain.  I thought I'd try to configure 
Windows credentials to be saved in Jenkins.  These credentials are those 
that each Windows server has.  When I go to Plugin Manager and look at 
installed plugins, I saw "Credentials Plugin."  I did not see Credentials 
Binding Plugin.  Aren't these different?

I downloaded the .hpi file for Credentials Binding.  In the 
/var/cache/jenkins/war/WEB-INFplugins/ directory I have placed .hpi files.  
I have therefore successfully installed plugins.  I placed the 
credentials-binding.hpi file there.  I restarted Jenkins.  But I still do 
not see this plugin in the installed tab of Jenkins.  I refreshed the 
page.  What should I do to use Credentials Binding?

I tried to use OpenSSH on a Windows server.  With the Jenkins server, I 
have builds that Execute Shell commands.  But I am having trouble.  In 
Jenkins, I configured a password with the name $foobar.  I tried one build 
in Jenkins with Execute Shell code like this:

echo $foobar | ssh -t -t [email protected] #I needed the -t -t flags because of 
an error.
date > C:\\temp\\new.txt

When I run the build, I get "Host Key verification failed."  The password 
that I assigned foobar does in fact work with interactive SSH.

I tried another build in Jenkins with Execute Shell code like this:

ssh -t -t [email protected] < $foobar
date > C:\\temp\\new.txt

When I try to run the build, I get "No such file or directory...Build step 
'Execute shell' marked build as failure'

How do I configure a build to work?  I just want to run a basic PowerShell 
command as a proof of concept.  I cannot even do that.  I don't know why.

How should I securely run builds from my Jenkins server on a Linux VM to my 
Windows machines that are not part of any A.D. domain?

Are usernames and passwords saved in Jenkins encrypted and secure when I 
use native Jenkins features to log into Windows servers?

Is NTLM possible with Jenkins on Linux so builds can be performed on 
Windows machines?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/aeaecdf0-553d-44ac-aa6c-3cb190e20c54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to