node.js - Jenkins off-line node CLI troubles -


I want to briden a node offline, I made a job on the master and tried to send the offline signal Specific node but I have problems with authentication, what can it be !!

My Jenkins job configuration in execution shell:

  wget http: // local: 8080 / jnlpjars / jenkins -cliger java-jenkins-clear.jar -s http: // local: 8080 / jo-am-ii java-jenkins-clozer-s http: // local: 8080 / offline-node "NSD 38" - name manager - password manager  

Mark all the points to give anonymous protection to all security access in the matrix-based security.

Output:

  + java -jar jenkins-cli.jar -s http: // localhost: 8080 / which-I-I [warning] your SSH key Failed to authenticate with the proceeding as an unknown Unnamed: Authorization: anonymous + java-jarkins-cli.jar -s http: // localhost: 8080 / offline-node NSD38 - Username Administrator - Password Manager [Warning] Cables failing to authenticate with SSH . Hudson.slaves.OfflineCause Go to JavaConnectException anonymous as the anonymous user $$$; Init>. Hudson.slaves.OfflineCause at $ ByCLI (OfflineCause.java:111) & lt; Init & gt; (OfflineCause.java:128) at Sun.reflect.NativeMethodAccessorImpl.invoke0 (Basic Method) on Hudson.ro.reflect.NativeMethodAccessorImpl.invoke (at NativeMethodAccessorImpl.java39) at sun.reflect.DellegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl) .model.Computer CL .java: 25) at java.lang.reflect.Method.invoke (Method.java:597) at hudson.cli.declarative.MethodBinderCall (MethodBinder.java:102) hudson.cli.declarative.CLIRegisterer $ 1.main on SunkreflectkNativeMethodAccessorImplkinvoke (NativeMethodAccessorImplkjava:39) on sun.reflect.NativeMethodAccessorImpl.invoke0 (hudson.cli.CliManagerImpl.main (CliManagerImpl.java:92) Native method) (CLIRegisterer.java:185) At Sun.reflect.DellegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) start advertising (method.java597) on Hudson (java.lang.reflect.method) I Remoting.RemoteInvocationHandler $ RPCRequest.perform (RemoteInvocationHandler.javaociety99) on Hudson. Remoting.RemoteInvocationHandler $ RPCRequest.call (Remote Invocation Handler .Java 28080) on Hudson. Remoting.RemoteInvocationHandler hudson.remoting.Request $ on $ RPCRequest .call (RemoteInvocationHandler.java:239) hudson.remoting.UserRequest.perform (UserRequest.java:118) on hudson.remoting.UserRequest.perform (UserRequest.java:48) 2.run (.java upon request: 328) on Hdsnkrmotingkinrspting Aksclorr Service $ 1.Call (InterceptingExecutorService.java:72) $ 1.Call (CliManagerImpl.java:63) hudson.remoting on hudson.cli.CliManagerIplpl .InterceptingExecutorService at $ 2.call (InterceptingExecutorService.java: 95) java.util.concurrent.ThreadPoolExecutor $ workers java.util.concurrent.FutureTask $ Sync.innerRun (FutureTask.java:303) java.util.concurrent.FutureTask. On run (FutureTask.java:138). Java.util.concurrent.ThreadPool Explorer Run Task at $ Worker.run (Threadpoo). (Thunderpool Ext. Java: 985) on Java.lang.Thread.run (Thread. Java: 662) Step 'execution shell' creation Failure  ,  Working with credentials     / Strong> 

Read

you -i private_key_file Need to use Not as long as you do not have a local private key stored. The key is to configure that key in the Jenkins configuration


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -