Il pacchetto di Mac OS nativo di Jenkins viene installato per impostazione predefinita in /Users/Shared/Jenkins
e la guerra in /Applications/Jenkins
. Funziona come un demone e si riavvia automaticamente nonostante il comando .Configurare il pacchetto nativo di Jenkins Mac OS X per l'esecuzione in una porta diversa
Ho aggiunto uno winstone.properties
in /Applications/Jenkins
con un puntello singolo, httpPort=9999
.
Ancora applicazione inizia il 8080.
ho anche installato CLI e provato:
java -jar jenkins-cli.jar -s http://127.0.0.1:8080/ shutdown
Failed to authenticate with your SSH keys. Proceeding with anonymous access
Sep 19, 2011 1:11:00 PM hudson.remoting.Channel$ReaderThread run
SEVERE: I/O error in channel CLI connection to http://127.0.0.1:8080/
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1093)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1087)
Exception in thread "main" hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the
channel
at hudson.remoting.Request.call(Request.java:149)
at hudson.remoting.Channel.call(Channel.java:681)
at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158)
at $Proxy2.main(Unknown Source)
at hudson.cli.CLI.execute(CLI.java:171)
at hudson.cli.CLI._main(CLI.java:297)
at hudson.cli.CLI.main(CLI.java:216)
Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Request.abort(Request.java:273)
at hudson.remoting.Channel.terminate(Channel.java:732)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1117)
Caused by: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1093)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1087)
Insomma, non posso forzare stop/start Jenkins e/o configurare (posso tramite procedura manuale comunque usando una guerra).
Suggerimenti? Qualsiasi idea di come configurare il Jenkins
Per le piattaforme che hanno, è possibile utilizzare "pkill" per fare questo processo in un unico passaggio. Recentemente ho eseguito molti comandi di 'pkill -9 java', perché abbiamo rafforzato la nostra configurazione di tomcat per eliminare la porta di shutdown, e ora l'unico modo per farlo arrestare è inviare un segnale. –