Jenkins Plugins forJob Configuration change email notification

scmuser created the topic: Jenkins Plugins forJob Configuration change email notification
We have a many team admin for Jenkins server. I would like to have kind of Jenkins plugins which can send an email when any job configuration changed and it should be notified to specific users so we can have a track of each changes notified via email.

Tagged :

Jenkins Plugins for Job Configuration change email notification

scmuser created the topic: Jenkins Plugins forJob Configuration change email notification
We have a many team admin for Jenkins server. I would like to have kind of Jenkins plugins which can send an email when any job configuration changed and it should be notified to specific users so we can have a track of each changes notified via email.

Tagged :

Unable to delete script file /tmp/hudson

scmuser created the topic: Unable to delete script file /tmp/hudson
Hi,
I am getting build failure due to following issues….

FATAL: Unable to delete script file /tmp/hudson5099275030745290919.sh
hudson.util.IOException2: remote file operation failed: /tmp/hudson5099275030745290919.sh at hudson.remoting.Channel@3f08de20:mtv-ubld-39
at hudson.FilePath.act(FilePath.java:905)
at hudson.FilePath.act(FilePath.java:882)
at hudson.FilePath.delete(FilePath.java:1291)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:101)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
at hudson.model.Run.execute(Run.java:1603)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:247)
Caused by: hudson.remoting.ChannelClosedException: channel is already closed
at hudson.remoting.Channel.send(Channel.java:516)
at hudson.remoting.Request.call(Request.java:129)
at hudson.remoting.Channel.call(Channel.java:714)
at hudson.FilePath.act(FilePath.java:898)
… 13 more
Caused by: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at hudson.remoting.Command.readFrom(Command.java:92)
at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

Tagged :

hudson.util.IOException2: Could not copy slave.jar into ” on slave

scmuser created the topic: hudson.util.IOException2: Could not copy slave.jar into ” on slave
How to resolve this issues?

Remote file system root does not exist. Will try to create it…

[10/31/13 01:36:55] [SSH] Opening SSH connection to 172.16.116.77:22.
[10/31/13 01:36:56] [SSH] Authentication successful.
[10/31/13 01:36:57] [SSH] The remote users environment is:
BASH=/bin/bash
8d03be7b734b352178df5-1383227978.473831-1761971970
_=’]’
[10/31/13 01:36:57] [SSH] Checking java version of java
[10/31/13 01:36:58] [SSH] java -version returned 1.7.0_25.
[10/31/13 01:36:58] [SSH] Starting sftp client.
[10/31/13 01:36:58] [SSH] Remote file system root does not exist. Will try to create it…
hudson.util.IOException2: Could not copy slave.jar into ” on slave
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:790)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:487)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: hudson.util.IOException2: Failed to mkdir
at hudson.plugins.sshslaves.SFTPClient.mkdirs(SFTPClient.java:85)
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:762)
… 7 more
Caused by: com.trilead.ssh2.SFTPException: No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.)
at com.trilead.ssh2.SFTPv3Client.expectStatusOKMessage(SFTPv3Client.java:555)
at com.trilead.ssh2.SFTPv3Client.mkdir(SFTPv3Client.java:955)
at hudson.plugins.sshslaves.SFTPClient.mkdirs(SFTPClient.java:83)
… 8 more
[10/31/13 01:36:59] [SSH] Connection closed.

rajeshkumar replied the topic: hudson.util.IOException2: Could not copy slave.jar into ” on slave
Check if “Remote FS root” in slave configurtion…
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Unable to establish loopback connection

scmuser created the topic: Unable to establish loopback connection
Issues –
Unable to establish loopback connection
&
An internal error occurred.
&
Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect

Error
ERROR: An internal error occurred. [0x8001FFFF]
org.jinterop.dcom.common.JIException: An internal error occurred. [0x8001FFFF]
at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:546)
at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:458)
at org.jinterop.dcom.core.JIComServer.(JIComServer.java:427)
at org.jvnet.hudson.wmi.WMI.connect(WMI.java:41)
at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:139)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:194)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.(Unknown Source)
at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
at java.nio.channels.Pipe.open(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl.(Unknown Source)
at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
at sun.nio.ch.Util.getTemporarySelector(Unknown Source)
at sun.nio.ch.SocketAdaptor$SocketInputStream.read(Unknown Source)
at sun.nio.ch.ChannelInputStream.read(Unknown Source)
at org.jinterop.dcom.transport.JIComTransport.receive(JIComTransport.java:147)
at rpc.DefaultConnection.receiveFragment(DefaultConnection.java:182)
at rpc.DefaultConnection.receive(DefaultConnection.java:68)
at rpc.ConnectionOrientedEndpoint.receive(ConnectionOrientedEndpoint.java:227)
at rpc.ConnectionOrientedEndpoint.connect(ConnectionOrientedEndpoint.java:251)
at rpc.ConnectionOrientedEndpoint.bind(ConnectionOrientedEndpoint.java:217)
at rpc.ConnectionOrientedEndpoint.rebind(ConnectionOrientedEndpoint.java:153)
at org.jinterop.dcom.transport.JIComEndpoint.rebindEndPoint(JIComEndpoint.java:40)
at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:529)
… 10 more
Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)

scmuser replied the topic: Unable to establish loopback connection
Solution –

dbaktiar-on-java.blogspot.in/2010/03/hud…space-available.html
rwatsh.blogspot.in/2012/04/resolution-for-no-buffer-space.html

Tagged :

The hudson service on local computer started and stopped

scmuser created the topic: The hudson service on local computer started and stopped
issues –
The hudson service on local computer started and stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.

scmuser replied the topic: The hudson service on local computer started and stopped
Solved that problem
I cleared the event log, then it worked.. the application log was full so it couldn’t start..

Tagged :

Build step ‘Execute shell’ marked build as failure

scmuser created the topic: Build step ‘Execute shell’ marked build as failure
Build step ‘Execute shell’ marked build as failure

How to resolve this issues? I am building this in slave?

[QA-QBO-Square-e2e-regression] $ /bin/sh -xe /tmp/hudson2656830909630025820.sh
+ cat
/tmp/hudson2656830909630025820.sh: 2: /tmp/hudson2656830909630025820.sh: cat: not found
Build step ‘Execute shell’ marked build as failure

mastinder@gmail.com replied the topic: Build step ‘Execute shell’ marked build as failure
Hi,

use -li option at the end of shebang and it should work

#!/bin/zsh -li
set -xv
ear_path=/cygdrive/e/mas2/maven/repository/ie/aib/ems/masii-ear

Tagged :

Pending – Waiting for next available executor

scmuser created the topic: pending – Waiting for next available executor
Issues –
I am getting following error while executing the jenkins builds.

“pending – Waiting for next available executor”

Solution:

TBD