Re: [JENKINS] General question

2019-02-22 Thread RAJENDRA PRASAD
Edge server means Jenkins slave or where the job is going to run?

Could you please clarify.


Thanks,
rajendra.penuma...@gmail.com

On Fri, 22 Feb, 2019, 16:30 ,  wrote:

> Hello,
> I have one more question.
> Does the Jenkins server comunicate with the edge servers in SSH?
> We have strong security policies in my company. One of it is that SSH/SNMP
> communication between servers is not allowed.
>
> Thank you,
>
> Guillaume.
>
> Le vendredi 22 février 2019 10:02:01 UTC+1, guyom...@gmail.com a écrit :
>>
>> Bonjour Rajendra,
>> Thank you for your quick reply!
>>
>> I was also looking for some diocumentation to compare Jenkins/Apache
>> Airflow/Schedulix.
>> Do you know if such a documentation exist somewhere?
>>
>> Thank you a lot for the answers you gave me below!
>> That will actually help me a lot!
>>
>> Guillaume from France.
>>
>>
>> Le vendredi 22 février 2019 06:14:00 UTC+1, rajendraprasad reddy a écrit :
>>>
>>>
>>> Find my inline answers [yes] means support and nothing mentioned means I
>>> don't know:
>>> 01. Start tasks on heterogeneous environments (Linux / Unix / Windows /
>>> Talend / Oracle DB / Postgres / MySQL), [yes]
>>> 02. Interfacing with existing tools via web services , [yes]
>>> 3. How to migrate existing tasks to the new scheduler,
>>> 04. Interfacing with cloud solutions, [yes]
>>> 05. Connection to our LDAP, With SSO , [yes],
>>> 06. Allow 3-tier architecture, [yes]
>>> 08. Centrally deployed and updated agents, [yes]
>>> 09. Launch a task following an event / trigger (file arrival, sending an
>>> email, etc.), [yes]
>>> 10. Allow the setting up of scenarios (chain of tasks),[yes]
>>> 11. Be compatible with virtual machines,[yes]
>>> 12. Visualize the state of the tasks as well as their result in a simple
>>> and centralized way,[yes]
>>> 13. Allow administration of the launch of tasks in a simple and
>>> centralized way,[yes]
>>> 14. Create launching subgroups to separate different types of tasks
>>> (technical, functional, etc.)[yes]
>>> 15. Which version of SQL server is compatible with the solution?
>>> 16. Avoid the use of plain text passwords [yes]
>>> 17. HA functionality.
>>>
>>> Thanks,
>>> rajendra@gmail.com
>>>
>>>
>>> On Fri, 22 Feb, 2019, 04:20 ,  wrote:
>>>
 Hello Folks,
 I'm looking for a scheduling solution.
 I was poking around the offical site but I still have (few) questions
 about the product.

 Is it possible to:
 01. Start tasks on heterogeneous environments (Linux / Unix / Windows /
 Talend / Oracle DB / Postgres / MySQL),
 02. Interfacing with existing tools via web services
 03. How to migrate existing tasks to the new scheduler,
 04. Interfacing with cloud solutions,
 05. Connection to our LDAP, With SSO capability,
 06. Allow 3-tier architecture,
 08. Centrally deployed and updated agents,
 09. Launch a task following an event / trigger (file arrival, sending
 an email, etc.),
 10. Allow the setting up of scenarios (chain of tasks),
 11. Be compatible with virtual machines,
 12. Visualize the state of the tasks as well as their result in a
 simple and centralized way,
 13. Allow administration of the launch of tasks in a simple and
 centralized way,
 14. Create launching subgroups to separate different types of tasks
 (technical, functional, etc.)
 15. Which version of SQL server is compatible with the solution?
 16. Avoid the use of plain text passwords
 17. HA functionality

 Thank you for your help!

 Guillaume, from France.

 --
 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 jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/11bd6f25-9ef1-40c4-8629-3c57d18acf34%40googlegroups.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/4de64d22-79e1-4538-b529-1bfda60b95c9%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jenk

Jenkins Plugin cannot get called from the pipeline with new syntax

2019-02-22 Thread prasad.pofali via Jenkins Users
I have developed a custom Jenkins plugin which extends *Recorder *and 
implements *SimpleBuildStep*. I was calling this plugin using the syntax:

pipeline {
agent any
stages {
stage('Build and Run Tests') {
steps {
step([$class : 'TestClass', name: 'admin', lastname: 
'admin', endPoint:'http://localhost:8080/', file:'path/to/myfile.txt'])
}
}
}
}


With this the plugin is executed, but now my requirement is to call this 
plugin with the different pipeline syntax which is our primary requirement. 
The required syntax is as follows:

pipeline {
agent any
 stages {
 stage('Build and Run Tests') {
  steps {
   TestClass name:'admin' lastname: 'admin' endPoint: 
'http://localhost:8080/', file:'path/to/myfile.txt'
  }
  }
 }
}


But I am not able to call the same plugin with the above syntax. Can anyone 
please help me?

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/db5c1523-75e2-4969-ba26-54dede193291%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to call jenkins custom plugin from Pipeline

2019-02-22 Thread prasad.pofali via Jenkins Users
I have made changes to the code according to this. And I am able to call 
the plugin with this syntax. But as this syntax is older, I am seeking for 
the new approach to call the plugin through new pipeline syntax.

Below is my expected syntax:
pipeline {
agent any
stages {
stage('Build and Run Tests') {
steps {
TestPublisher endpoint:'http://localhost:8080/' name: 
'name1' password: 'pass1' filePath:'path/to/xml'
}
}
}
}

Thanks In Advance


On Friday, February 8, 2019 at 6:31:40 PM UTC+5:30, slide wrote:
>
> In order for your plugin to work in pipeline jobs, you need to implement 
> SimpleBuildStep in your recorder and then override the perform method that 
> takes a Run and FilePath instead of an AbstractBuild. You do not need both 
> overrides, the one that I mentioned first will work for both freestyle and 
> pipeline jobs. In addition, you can add an @Symbol annotation to your 
> descriptor and make a shorthand for calling your step instead of having to 
> use `step()`
>
> On Fri, Feb 8, 2019, 04:27 prasad.pofali via Jenkins Users <
> jenkins...@googlegroups.com  wrote:
>
>> I am referring a custom Jenkins plugin from here (
>> https://github.com/pritic/testExample)
>>
>> This plugin is working fine with the traditional approach of building 
>> jenkins jobs.
>>
>> When I tried to call this plugin using a declarative pipeline, it caused 
>> an exception. The following is the pipeline code.
>>
>> import hudson.model.*
>> checkout filesystem(clearWorkspace: false, copyHidden: false, path: 
>> 'C:\\java-junit-sample-master\\java-junit-sample-master')
>>
>> pipeline {
>> agent any
>> stages {
>> stage('Build and Run Tests') {
>> steps {
>> node {
>> step([$class : 'TestExamplePublisher', applications:[name: 
>> 'PrasadP']])
>> }
>> }
>> }
>> }
>> }
>>
>>
>> Below is the exception stacktrace:
>>
>> [Pipeline] End of Pipeline
>>>
>>> org.jenkinsci.plugins.workflow.steps.MissingContextVariableException: 
>>> Required context class hudson.FilePath is missing
>>> at 
>>> org.jenkinsci.plugins.workflow.steps.StepDescriptor.checkContextAvailability(StepDescriptor.java:260)
>>> at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:262)
>>> at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:178)
>>> at 
>>> org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at 
>>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
>>> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
>>> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1213)
>>> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
>>> at 
>>> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42)
>>> at 
>>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
>>> at 
>>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
>>> at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:157)
>>> at 
>>> org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:23)
>>> at 
>>> org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:155)
>>> at 
>>> org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:142)
>>> at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:155)
>>> at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:159)
>>> at 
>>> com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:17)
>>> at WorkflowScript.run(WorkflowScript:2)
>>> at ___cps.transform___(Native Method)
>>> at 
>>> com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:57)
>>> at 
>>> com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
>>> at 
>>> com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at 
>>> com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
>>> at 
>>> com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:60)
>>> at 
>>> com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
>>> at 
>>> com.cloudbees.g

Re: Custom build number to child job (correlate parent build with Child build)

2019-02-22 Thread Bhanu Sahu
Hi,
Thanks for reply.
No ,I am triggering child job as post build action.

Thanks
Bhanu

On Fri, Feb 22, 2019, 6:44 PM ZillaYT  wrote:

> Are you triggering the child job via pipeline?
>
> On Friday, February 22, 2019 at 2:44:38 AM UTC-5, Bhanu Sahu wrote:
>>
>> Dear All,
>>
>> Problem statement:   I have created a parent job in Jenkins, on
>> completion of the parent job I am triggering the a child job, Parent job is
>> deployment job and child job is sanity job.  I want to correlate the parent
>> job with the child job. Sending  a parameter from the parent job is not
>> solving the problem.
>>
>> I want to control  the child build number from the parent job,  It means
>> i want to assign the custom build number to child build .
>>
>>
>>
>>
>> How can we achieve this please advice.
>>
>> Thank you
>> Bhanu
>>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/39021a2d-727b-451d-8ac8-d3d50fe3e107%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAHFYERHoYPWHeeTs9EHeNYeCSvQtrB81zC3NcyrAhjdyRxOf2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Can a class inside a pipeline be a subclass of the Script object?

2019-02-22 Thread ZillaYT
I have a class, say

class Foo {
  def fooEcho()
echo "Hello Foo"
  }
}


but of course this fails if I

Foo foo = new Foo()
foo.fooEcho()



because the Foo class doesn't know about Script echo() function. The 
general workaround is to do

class Foo {
  Foo(Script s) {
this.script = s
  }
  def fooEcho() {
script.echo "Hello Foo"
  }
  def script = null
}

Foo foo = new Foo(this)
foo.fooEcho()

But this is ugly, and it means that I have to prepend ALL normal Script 
calls (echo, println, stage, etc.) with "script."

Can Foo be defined as

class Foo extends Script {
 ...
}

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/632a36b4-7f37-409b-a37f-541124df2706%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to pass parameters to Parameterized build job in case of SVN polling?

2019-02-22 Thread Viacheslav Dubrovskyi

Hi

You can set default or get it from build trigger metadata or any other way.


22.02.2019 08:28, Bhanu Sahu пишет:

Dear All,

I have created a Parameterized job, which takes 4 parameters in the 
input. While building the job in the Jenkins screen I can feed these 
parameters.


But in case of the when build trigger is SVN polling , How can we pass 
these parameter to the job?


Where to specify these parameter while invoking the Parameterized job 
through SVN polling.


Thank You
Regards
Bhanu
--
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 jenkinsci-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/aeda5187-6241-4abf-9a5d-011aeb78a2e4%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
WBD,
Viacheslav Dubrovskyi

--
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0271cbe6-26ed-3f29-f6dd-791f753c66e6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: Криптографическая подпись S/MIME


Re: Custom build number to child job (correlate parent build with Child build)

2019-02-22 Thread ZillaYT
Are you triggering the child job via pipeline?

On Friday, February 22, 2019 at 2:44:38 AM UTC-5, Bhanu Sahu wrote:
>
> Dear All,
>
> Problem statement:   I have created a parent job in Jenkins, on completion 
> of the parent job I am triggering the a child job, Parent job is deployment 
> job and child job is sanity job.  I want to correlate the parent job with 
> the child job. Sending  a parameter from the parent job is not solving the 
> problem.
>
> I want to control  the child build number from the parent job,  It means i 
> want to assign the custom build number to child build .
>
>
>
>
> How can we achieve this please advice.
>
> Thank you 
> Bhanu
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/39021a2d-727b-451d-8ac8-d3d50fe3e107%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to pass parameters to Parameterized build job in case of SVN polling?

2019-02-22 Thread ZillaYT
You'll have to specify a default parameter that will be used when the 
polling triggers.

Chris 

On Friday, February 22, 2019 at 2:45:14 AM UTC-5, Bhanu Sahu wrote:
>
> Dear All,
>
> I have created a Parameterized job, which takes 4 parameters in the input. 
> While building the job in the Jenkins screen I can feed these parameters.
>
> But in case of the when build trigger is SVN polling , How can we pass 
> these parameter to the job?
>
> Where to specify these parameter while invoking the  Parameterized job 
> through SVN polling.
>
> Thank You
> Regards
> Bhanu
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b9697c46-8c01-4cf5-92af-984628060616%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Use AdoptOpenJDK as JDK Tool download source

2019-02-22 Thread Devin Nusbaum
There is some relevant discussion in 
https://issues.jenkins-ci.org/browse/JENKINS-54305 
 that may be interesting to 
you.

> On Feb 22, 2019, at 09:20, Sverre Moe  wrote:
> 
> Now that Oracle has shut down any commercial use of their JDK, Jenkins should 
> add option to download JDK from AdoptOpenJDK
> 
> Install automatically
> Extract *.zip/*.tar.gz
> Install from java.sun.com
> Run Batch Command
> Run Shell Command
> 
> Now that the JDK from Oracle cannot be used in production we need another 
> source.
> 
> Install from AdoptOpenJDK
> https://adoptopenjdk.net/
> 
> -- 
> 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 jenkinsci-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/6a0fc33b-e4b4-4c06-9674-2c49218617fe%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/F73F02E0-BB6A-4701-9589-58FB81676001%40cloudbees.com.
For more options, visit https://groups.google.com/d/optout.


Use AdoptOpenJDK as JDK Tool download source

2019-02-22 Thread Sverre Moe
Now that Oracle has shut down any commercial use of their JDK, Jenkins 
should add option to download JDK from AdoptOpenJDK

Install automatically
Extract *.zip/*.tar.gz
Install from java.sun.com
Run Batch Command
Run Shell Command

Now that the JDK from Oracle cannot be used in production we need another 
source.

Install from AdoptOpenJDK
https://adoptopenjdk.net/

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6a0fc33b-e4b4-4c06-9674-2c49218617fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Kubernets Plugin Slaves Are Terminating Mysteriously

2019-02-22 Thread YAN-HONG WANG
Hello @Carlos Sanchez,

I have similar warning message in Jenkins Master log. These warning message 
doesn't influence result of Jenkins Job execution.
And in my case, I didn't see 'OOM killed' flag in period of Pod.

Jenkins version: 2.150.3 alpine
kubernetes plugin version: 1.14.5

But, is that possible to avoid these warning message?

/
WARNING: Connection #10 failed
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at java.io.DataInputStream.readFully(DataInputStream.java:169)
at 
hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:244)

/
WARNING: Computer.threadPoolForRemoting [#286] for 
jenkins-slave-z23g0-9z5q0 terminated
java.nio.channels.ClosedChannelException
at 
org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:209)
at 
org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222)
at 
org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816)
at 
org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287)
at 
org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181)
at 
org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283)
at 
org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503)
at 
org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248)
at 
org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200)
at 
org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213)
at 
org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:784)
at 
org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173)
at 
org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:314)
at hudson.remoting.Channel.close(Channel.java:1450)
at hudson.remoting.Channel.close(Channel.java:1403)
at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:821)
at hudson.slaves.SlaveComputer.access$800(SlaveComputer.java:105)
at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:737)
at 
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at 
jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


Thanks very much.

BR
Hong

Am Donnerstag, 12. Juli 2018 08:52:20 UTC+2 schrieb Carlos Sanchez:
>
> does the pod die or it just disconnects ? when you describe the pod does 
> it show OOM killed flag?
>
> On Thu, Jul 12, 2018 at 1:40 AM > 
> wrote:
>
>> We are experiencing an issue with the kubernetes plugin where certain 
>> builds are failing because the slave has died/terminated unexpectedly. This 
>> is happening to us on a variety of builds and its occurring seemingly at 
>> random to different builds we have so it's hard to pin down a root cause.  
>> The errors I've pasted below haven't really given us any clear direction or 
>> shown a pattern.  I was hoping someone has run into this issue before and 
>> fixed it and might have some advice.
>>
>> Thanks in advance
>> Asaf
>>
>> *In the build we see the following error...*
>>
>> java.nio.channels.ClosedChannelException
>> at 
>> org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)
>> at 
>> org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:179)
>> at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:789)
>> at 
>> jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
>> at 
>> jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
>> Caused: hudson.remoting.ChannelClosedException: Channel "unknown": Remote 
>> call on JNLP4-connect connection from 

Re: [JENKINS] General question

2019-02-22 Thread guyome . prof
Hello,
I have one more question.
Does the Jenkins server comunicate with the edge servers in SSH?
We have strong security policies in my company. One of it is that SSH/SNMP 
communication between servers is not allowed.

Thank you,

Guillaume.

Le vendredi 22 février 2019 10:02:01 UTC+1, guyom...@gmail.com a écrit :
>
> Bonjour Rajendra,
> Thank you for your quick reply! 
>
> I was also looking for some diocumentation to compare Jenkins/Apache 
> Airflow/Schedulix.
> Do you know if such a documentation exist somewhere?
>
> Thank you a lot for the answers you gave me below!
> That will actually help me a lot!
>
> Guillaume from France.
>
>
> Le vendredi 22 février 2019 06:14:00 UTC+1, rajendraprasad reddy a écrit :
>>
>>
>> Find my inline answers [yes] means support and nothing mentioned means I 
>> don't know:
>> 01. Start tasks on heterogeneous environments (Linux / Unix / Windows / 
>> Talend / Oracle DB / Postgres / MySQL), [yes]
>> 02. Interfacing with existing tools via web services , [yes]
>> 3. How to migrate existing tasks to the new scheduler,
>> 04. Interfacing with cloud solutions, [yes]
>> 05. Connection to our LDAP, With SSO , [yes],
>> 06. Allow 3-tier architecture, [yes]
>> 08. Centrally deployed and updated agents, [yes]
>> 09. Launch a task following an event / trigger (file arrival, sending an 
>> email, etc.), [yes]
>> 10. Allow the setting up of scenarios (chain of tasks),[yes]
>> 11. Be compatible with virtual machines,[yes]
>> 12. Visualize the state of the tasks as well as their result in a simple 
>> and centralized way,[yes]
>> 13. Allow administration of the launch of tasks in a simple and 
>> centralized way,[yes]
>> 14. Create launching subgroups to separate different types of tasks 
>> (technical, functional, etc.)[yes]
>> 15. Which version of SQL server is compatible with the solution?
>> 16. Avoid the use of plain text passwords [yes]
>> 17. HA functionality. 
>>
>> Thanks,
>> rajendra@gmail.com
>>
>>
>> On Fri, 22 Feb, 2019, 04:20 ,  wrote:
>>
>>> Hello Folks,
>>> I'm looking for a scheduling solution.
>>> I was poking around the offical site but I still have (few) questions 
>>> about the product.
>>>
>>> Is it possible to:
>>> 01. Start tasks on heterogeneous environments (Linux / Unix / Windows / 
>>> Talend / Oracle DB / Postgres / MySQL),
>>> 02. Interfacing with existing tools via web services
>>> 03. How to migrate existing tasks to the new scheduler,
>>> 04. Interfacing with cloud solutions,
>>> 05. Connection to our LDAP, With SSO capability,
>>> 06. Allow 3-tier architecture,
>>> 08. Centrally deployed and updated agents,
>>> 09. Launch a task following an event / trigger (file arrival, sending an 
>>> email, etc.),
>>> 10. Allow the setting up of scenarios (chain of tasks),
>>> 11. Be compatible with virtual machines,
>>> 12. Visualize the state of the tasks as well as their result in a simple 
>>> and centralized way,
>>> 13. Allow administration of the launch of tasks in a simple and 
>>> centralized way,
>>> 14. Create launching subgroups to separate different types of tasks 
>>> (technical, functional, etc.)
>>> 15. Which version of SQL server is compatible with the solution?
>>> 16. Avoid the use of plain text passwords
>>> 17. HA functionality
>>>
>>> Thank you for your help!
>>>
>>> Guillaume, from France.
>>>
>>> -- 
>>> 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 jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/11bd6f25-9ef1-40c4-8629-3c57d18acf34%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4de64d22-79e1-4538-b529-1bfda60b95c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Configure BitBucket to build upon commit on Jenkins

2019-02-22 Thread Francisco
Yap, I followed those steps and with the branch source plugin doesn't work.

And I tried the native webhook, which seems to get to jenkins (saw it on 
the log) but then it says :"Matched 0". Meaning it doesn't find anything... 
Any solutions?

Em sexta-feira, 22 de fevereiro de 2019 04:01:16 UTC, Richard Bywater 
escreveu:
>
> Have you followed the instructions available at 
> https://support.cloudbees.com/hc/en-us/articles/11553051-How-to-Trigger-Multibranch-Jobs-from-Bitbucket-Server-
>  
> ? I haven't configured it in a while but these steps are what I last used. 
>
> Also of particular note is that, as far as I know, you can't used the 
> native Bitbucket webhook functionality and instead need to use the plugin 
> mentioned in the above article. 
>
> Richard. 
>
> On Fri, 22 Feb 2019, 11:50 AM Francisco,  > wrote:
>
>> Hello guys,
>>
>> I'm facing an issue and I already tried many solutions. The trouble is: 
>> on BitBucket (BB) I configured the Bitbucket Server Webhook to Jenkins with 
>> my Jenkins URL and my repository. Then, on Jenkins I configured (in a 
>> multibranch) the Git Plugin with my repo and tried to do a commit and it 
>> worked perfect, I committed and a build was a fired on Jenkins. But I want 
>> to use the BitBucket Branch Source Plugin on Jenkins and when I tried to 
>> configure it instead of using the Git Plugin nothing happened (no build has 
>> fired on Jenkins after a commit). Can you guys help me on this?
>>
>> The second solution I tried was using a custom hook on BitBucket which 
>> seems to get to Jenkins but then it doesn't find my multibranch on Jenkins 
>> (I can detail this a little more if you want).
>>
>> I wanted to make the first solution to get to work because it's the best 
>> and the cleanest, so if you could help me I would appreciate.
>>
>> Best regards,
>>
>> Francisco Vieira
>>
>> -- 
>> 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 jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/66a7c81b-d4e5-49b1-b796-8147680c7885%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ad9f986a-2c90-4579-b9c4-51bc2eae4a8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [JENKINS] General question

2019-02-22 Thread guyome . prof
Bonjour Rajendra,
Thank you for your quick reply! 

I was also looking for some diocumentation to compare Jenkins/Apache 
Airflow/Schedulix.
Do you know if such a documentation exist somewhere?

Thank you a lot for the answers you gave me below!
That will actually help me a lot!

Guillaume from France.


Le vendredi 22 février 2019 06:14:00 UTC+1, rajendraprasad reddy a écrit :
>
>
> Find my inline answers [yes] means support and nothing mentioned means I 
> don't know:
> 01. Start tasks on heterogeneous environments (Linux / Unix / Windows / 
> Talend / Oracle DB / Postgres / MySQL), [yes]
> 02. Interfacing with existing tools via web services , [yes]
> 3. How to migrate existing tasks to the new scheduler,
> 04. Interfacing with cloud solutions, [yes]
> 05. Connection to our LDAP, With SSO , [yes],
> 06. Allow 3-tier architecture, [yes]
> 08. Centrally deployed and updated agents, [yes]
> 09. Launch a task following an event / trigger (file arrival, sending an 
> email, etc.), [yes]
> 10. Allow the setting up of scenarios (chain of tasks),[yes]
> 11. Be compatible with virtual machines,[yes]
> 12. Visualize the state of the tasks as well as their result in a simple 
> and centralized way,[yes]
> 13. Allow administration of the launch of tasks in a simple and 
> centralized way,[yes]
> 14. Create launching subgroups to separate different types of tasks 
> (technical, functional, etc.)[yes]
> 15. Which version of SQL server is compatible with the solution?
> 16. Avoid the use of plain text passwords [yes]
> 17. HA functionality. 
>
> Thanks,
> rajendra@gmail.com 
>
>
> On Fri, 22 Feb, 2019, 04:20 , > wrote:
>
>> Hello Folks,
>> I'm looking for a scheduling solution.
>> I was poking around the offical site but I still have (few) questions 
>> about the product.
>>
>> Is it possible to:
>> 01. Start tasks on heterogeneous environments (Linux / Unix / Windows / 
>> Talend / Oracle DB / Postgres / MySQL),
>> 02. Interfacing with existing tools via web services
>> 03. How to migrate existing tasks to the new scheduler,
>> 04. Interfacing with cloud solutions,
>> 05. Connection to our LDAP, With SSO capability,
>> 06. Allow 3-tier architecture,
>> 08. Centrally deployed and updated agents,
>> 09. Launch a task following an event / trigger (file arrival, sending an 
>> email, etc.),
>> 10. Allow the setting up of scenarios (chain of tasks),
>> 11. Be compatible with virtual machines,
>> 12. Visualize the state of the tasks as well as their result in a simple 
>> and centralized way,
>> 13. Allow administration of the launch of tasks in a simple and 
>> centralized way,
>> 14. Create launching subgroups to separate different types of tasks 
>> (technical, functional, etc.)
>> 15. Which version of SQL server is compatible with the solution?
>> 16. Avoid the use of plain text passwords
>> 17. HA functionality
>>
>> Thank you for your help!
>>
>> Guillaume, from France.
>>
>> -- 
>> 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 jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/11bd6f25-9ef1-40c4-8629-3c57d18acf34%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/66c77826-66a5-4fb6-8f4d-408929b7fff0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.