Re: Host key verification failed

2022-12-05 Thread Ram R
 I think you need to check in the ssh plugin username and password in
jenkins, there should be a connection issue.

Ramkrishna
9652540292



On Mon, Dec 5, 2022 at 5:55 PM pooja pooja  wrote:

> Hi all,
> While executing my job am getting below error can anyone help me on this
> issue?
>
> --
> 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/CANJUvtzQjRury4Ywu3AUwHV3L9a0a78niHcRV0OoV_wa6YBAQA%40mail.gmail.com
> 
> .
>

-- 
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/CABNk%2BKd1RKHgnNuNPtbEGYwm5bMV78tADaGS8Pb0ouqRJzwFpw%40mail.gmail.com.


Re: jenkins endpoints

2022-08-03 Thread MANIDEEP R KUMMITHA
tq Mark,this was really helpful

On Tue, 26 Jul 2022 at 07:50, Mark Waite  wrote:

>
>
> On Monday, July 25, 2022 at 8:14:02 PM UTC-6 maanideep wrote:
>
>> Hi,
>>
>> could someone please get me Jenkins REST API endpoint for project build .
>>
>> https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-PROJECTS
>> please help
>>
>> something similar to this
>>
>
> See the "REST API" link at the bottom right side of the Jenkins page for
> the job.  There is a link "REST API".  When that link is clicked, it opens
> a page that describes many different portions of the REST API for that job.
>
> For example,
> https://ci.jenkins.io/job/Plugins/job/elastic-axis-plugin/job/master/api/
> will show the REST API for the Elastic Axis plugin job on ci.jenkins.io
>
> --
> 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/93811d6a-1c91-4e18-8ba3-d445ecd82131n%40googlegroups.com
> 
> .
>

-- 
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/CAG_kgPD93EfVKdp__qg_PPBXOmdU1OZ5n99DSxgBj5%2B4upOi5g%40mail.gmail.com.


jenkins endpoints

2022-07-25 Thread MANIDEEP R KUMMITHA
 Hi,

could someone please get me Jenkins REST API endpoint for project build .
https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-PROJECTS
please help

something similar to this

Regards,
manideep

-- 
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/a4ac4468-8c49-4f05-83e1-cbf184ec0027n%40googlegroups.com.


Could not create or change to directory. Directory [webapp]]

2021-09-16 Thread Ram R
Hi Guys, 

Unable to copy jenkins artifacts from Jenkins jobs to Docker host, getting 
below error. I have google but not getting solution. Error is below. 

SSH: Connected SSH: cd [/home] SSH: OK SSH: cd [/home] SSH: OK SSH: mkdir 
[webapp] SSH: FAILED: Message [Permission denied] SSH: Disconnecting 
configuration [docker host] ... ERROR: Exception when publishing, exception 
message [Could not create or change to directory. Directory [webapp]] Build 
step 'Send build artifacts over SSH' changed build result to UNSTABLE 
Finished: UNSTABLE


-- 
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/6a09ebdc-b1ad-4782-9537-10f44c753f9cn%40googlegroups.com.


Re: Issue with master-agent communication over ssh

2021-03-01 Thread Jigar R


On Monday, March 1, 2021 at 4:03:24 PM UTC-5 Jigar R wrote:

> I configured my jenkins agent with over 16GB of memory now. I use Apache 
> ivy & Apache Ant to build the project. I still get resource temporarily 
> unavailable. 
>
> On the other hand, It works like a charm with Java Web start agent that I 
> have. I haven't configured any JVM options for it and it just works 
> smoothly. This is nerve wrecking. 
> On Saturday, February 13, 2021 at 8:35:07 AM UTC-5 kuisat...@gmail.com 
> wrote:
>
>> the memory for the remoting process is not the issue, it is the free 
>> memory you left for the builds and the systems. I dunno what memory have 
>> your agents, but let's said they have 4GB if you give 2GB to the remoting 
>> process you only have 2GB for your builds and the system tasks so probably 
>> if you run a maven build that generates reports, it will need more than 4GB 
>> but only have 2GB so the maven process will die and because it grabs all 
>> the memory probably tear down another system process so the agent will 
>> disconnect the SSH connection.
>> The remoting process usually not need more than 512MB (-Xms512m 
>> -Xms512m), I use to keep 1-2 GB for the system (ssh, Docker, and 
>> other services) so if you maven build need 4GB the agent will need at least 
>> 6-8GB. But all this is a guess because I dunno how much memory your build 
>> needs (maven or whatever) and I dunno which services you have running on 
>> your agents, and so on.
>>
>>
Java web start agent uses agent.jar whereas SSH agent uses remoting.jar. Is 
there a difference between them?
 

> El vie, 12 feb 2021 a las 19:39, Jigar Rathod () 
>> escribió:
>>
>>>
>>>
>>> Sent from my iPhone
>>>
>>> On Feb 12, 2021, at 1:09 PM, Iván Fernández Calvo  
>>> wrote:
>>>
>>> Looks like an abrupt disconnect, this point to the resources you give 
>>> to the remote process and the resources you have in the agent. The resource 
>>> management on a JVM is tricky, the JDK gives a 75% of the memory resources 
>>> if you do not pass Xmx and Xms settings. So I wonder how much memory you 
>>> have on those agents and if you set those limits. Based on my experience 
>>> less than 4GB  for sunfire tasks use to be tight.
>>>
>>> Un Saludo 
>>> Ivan Fernandez Calvo
>>>
>>> I am using -Xmx2048m -Xms2048m. I will increase it to 4096 and see what 
>>> happens. 
>>>
>>> Thanks, 
>>> Jigar R
>>>
>>>
>>> El 12 feb 2021, a las 17:32, Jigar R  escribió:
>>>
>>> 
>>>
>>> On Wednesday, February 10, 2021 at 9:30:28 AM UTC-5 kuisat...@gmail.com 
>>> wrote:
>>>
>>>> you attached the Jenkins build log and the Agent log, should be also an 
>>>> exception in the Jenkins log, Is the same you posted before `invalid 
>>>> type code: 6D`?
>>>>
>>>> This is all I see in jenkins.err log
>>>
>>> 2021-02-11 21:44:00.121+ [id=67650] INFO   
>>>  h.r.SynchronousCommandTransport$ReaderThread#run: I/O error in channel 
>>> ssh_agent
>>> java.io.EOFException
>>> at 
>>> java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:3106)
>>> at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1956)
>>> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
>>> at 
>>> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
>>> at 
>>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
>>> at 
>>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
>>> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
>>> at 
>>> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
>>> at 
>>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
>>> at 
>>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
>>> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
>>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
>>> at hudson.remoting.Command.readFromObjectStream(Command.java:155)
>>> at hudson.remoting.Command.readFrom(Command.java:142)
>>> at hudson.remoting.Command.readFrom(Command.java:128)
>>> at 
>>> hudson.remoting.AbstractSynchronousByte

Re: Issue with master-agent communication over ssh

2021-03-01 Thread Jigar R
I configured my jenkins agent with over 16GB of memory now. I use Apache 
ivy & Apache Ant to build the project. I still get resource temporarily 
unavailable. 

On the other hand, It works like a charm with Java Web start agent that I 
have. I haven't configured any JVM options for it and it just works 
smoothly. This is nerve wrecking. 
On Saturday, February 13, 2021 at 8:35:07 AM UTC-5 kuisat...@gmail.com 
wrote:

> the memory for the remoting process is not the issue, it is the free 
> memory you left for the builds and the systems. I dunno what memory have 
> your agents, but let's said they have 4GB if you give 2GB to the remoting 
> process you only have 2GB for your builds and the system tasks so probably 
> if you run a maven build that generates reports, it will need more than 4GB 
> but only have 2GB so the maven process will die and because it grabs all 
> the memory probably tear down another system process so the agent will 
> disconnect the SSH connection.
> The remoting process usually not need more than 512MB (-Xms512m -Xms512m), 
> I use to keep 1-2 GB for the system (ssh, Docker, and other services) so if 
> you maven build need 4GB the agent will need at least 6-8GB. But all this 
> is a guess because I dunno how much memory your build needs (maven or 
> whatever) and I dunno which services you have running on your agents, and 
> so on.
>
> El vie, 12 feb 2021 a las 19:39, Jigar Rathod () 
> escribió:
>
>>
>>
>> Sent from my iPhone
>>
>> On Feb 12, 2021, at 1:09 PM, Iván Fernández Calvo  
>> wrote:
>>
>> Looks like an abrupt disconnect, this point to the resources you give to 
>> the remote process and the resources you have in the agent. The resource 
>> management on a JVM is tricky, the JDK gives a 75% of the memory resources 
>> if you do not pass Xmx and Xms settings. So I wonder how much memory you 
>> have on those agents and if you set those limits. Based on my experience 
>> less than 4GB  for sunfire tasks use to be tight.
>>
>> Un Saludo 
>> Ivan Fernandez Calvo
>>
>> I am using -Xmx2048m -Xms2048m. I will increase it to 4096 and see what 
>> happens. 
>>
>> Thanks, 
>> Jigar R
>>
>>
>> El 12 feb 2021, a las 17:32, Jigar R  escribió:
>>
>> 
>>
>> On Wednesday, February 10, 2021 at 9:30:28 AM UTC-5 kuisat...@gmail.com 
>> wrote:
>>
>>> you attached the Jenkins build log and the Agent log, should be also an 
>>> exception in the Jenkins log, Is the same you posted before `invalid 
>>> type code: 6D`?
>>>
>>> This is all I see in jenkins.err log
>>
>> 2021-02-11 21:44:00.121+ [id=67650] INFO   
>>  h.r.SynchronousCommandTransport$ReaderThread#run: I/O error in channel 
>> ssh_agent
>> java.io.EOFException
>> at 
>> java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:3106)
>> at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1956)
>> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
>> at 
>> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
>> at 
>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
>> at 
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
>> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
>> at 
>> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
>> at 
>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
>> at 
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
>> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
>> at hudson.remoting.Command.readFromObjectStream(Command.java:155)
>> at hudson.remoting.Command.readFrom(Command.java:142)
>> at hudson.remoting.Command.readFrom(Command.java:128)
>> at 
>> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
>> at 
>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)
>> Caused: java.io.IOException: Unexpected termination of the channel
>> at 
>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:77)
>> 2021-02-11 21:44:00.122+ [id=67569] WARNING 
>> h.m.AbstractBuild$AbstractBuildExecution#reportError: Step ‘Record compiler 
>> warnings and static anal

Re: Issue with master-agent communication over ssh

2021-02-12 Thread Jigar R


On Wednesday, February 10, 2021 at 9:30:28 AM UTC-5 kuisat...@gmail.com 
wrote:

> you attached the Jenkins build log and the Agent log, should be also an 
> exception in the Jenkins log, Is the same you posted before `invalid type 
> code: 6D`?
>
> This is all I see in jenkins.err log

2021-02-11 21:44:00.121+ [id=67650] INFO   
 h.r.SynchronousCommandTransport$ReaderThread#run: I/O error in channel 
ssh_agent
java.io.EOFException
at 
java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:3106)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1956)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
at hudson.remoting.Command.readFromObjectStream(Command.java:155)
at hudson.remoting.Command.readFrom(Command.java:142)
at hudson.remoting.Command.readFrom(Command.java:128)
at 
hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)
Caused: java.io.IOException: Unexpected termination of the channel
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:77)
2021-02-11 21:44:00.122+ [id=67569] WARNING 
h.m.AbstractBuild$AbstractBuildExecution#reportError: Step ‘Record compiler 
warnings and static analysis results’ aborted due to exception:
java.io.IOException: No workspace found for JOB_NAME #116
at 
io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:577)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1919)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:428)
2021-02-11 21:44:00.283+ [id=67569] WARNING 
hudson.ivy.IvyBuildTrigger#recomputeModuleDescriptor: Cannot read ivy file 
backup...removing ModuleDescriptor
2021-02-11 21:44:00.287+ [id=67569] WARNING 
hudson.ivy.IvyBuildTrigger#getModuleDescriptor: Node is offline for 
JOB_NAME, using project to get Module Descriptor

 

> El mar, 9 feb 2021 a las 21:23, Jigar R () escribió:
>
>> Any recommendations on how should I go about this new error?
>>
>> On Thursday, February 4, 2021 at 5:26:13 PM UTC-5 Jigar R wrote:
>>
>>> On Thursday, February 4, 2021 at 12:20:21 PM UTC-5 Jigar R wrote:
>>>
>>>> On Thu, Feb 4, 2021 at 9:29 AM kuisathaverat  
>>>> wrote:
>>>>
>>>>> I see some serialization fails and this breaks the channel, the plugin 
>>>>> that causes the exception seems 
>>>>> https://github.com/jenkinsci/tasks-plugin, and the `[Deprecated] Scan 
>>>>> workspace for open tasks` I think matters, this plugins has been 
>>>>> integrated 
>>>>> into https://github.com/jenkinsci/warnings-ng-plugin and 
>>>>> https://github.com/jenkinsci/analysis-model
>>>>>
>>>>> ERROR: Step ‘[Deprecated] Scan workspace for open tasks’ aborted due to 
>>>>> exception:
>>>>> java.io.StreamCorruptedException: invalid type code: 6D
>>>>> ...
>>>>> at 
>>>>> hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:182)
>>>>> at 
>>>>> hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:69)
>>>>> at 
>>>>> hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:298)
>>>>> at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:112)
>>>>

Re: Issue with master-agent communication over ssh

2021-02-09 Thread Jigar R
Any recommendations on how should I go about this new error?

On Thursday, February 4, 2021 at 5:26:13 PM UTC-5 Jigar R wrote:

> On Thursday, February 4, 2021 at 12:20:21 PM UTC-5 Jigar R wrote:
>
>> On Thu, Feb 4, 2021 at 9:29 AM kuisathaverat  wrote:
>>
>>> I see some serialization fails and this breaks the channel, the plugin 
>>> that causes the exception seems 
>>> https://github.com/jenkinsci/tasks-plugin, and the `[Deprecated] Scan 
>>> workspace for open tasks` I think matters, this plugins has been integrated 
>>> into https://github.com/jenkinsci/warnings-ng-plugin and 
>>> https://github.com/jenkinsci/analysis-model
>>>
>>> ERROR: Step ‘[Deprecated] Scan workspace for open tasks’ aborted due to 
>>> exception:
>>> java.io.StreamCorruptedException: invalid type code: 6D
>>> ...
>>> at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:182)
>>> at 
>>> hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:69)
>>> at 
>>> hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:298)
>>> at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:112)
>>> at 
>>> hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
>>> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>>> at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
>>> at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
>>> at hudson.model.Build$BuildExecution.post2(Build.java:186)
>>> at 
>>> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
>>> at hudson.model.Run.execute(Run.java:1919)
>>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>>> at hudson.model.ResourceController.execute(ResourceController.java:97)
>>> at hudson.model.Executor.run(Executor.java:428)
>>>
>>>
>>> Thanks for this information. I will move to use warning-ng plugin & see 
>> if it breaks this or not. 
>>
>
> I updated jenkins job to use warnings NG instead of deprecated plugins. 
> After lots of trial and error, I found that jenkins SSH agent would throw 
> EOFException while running JaCoCo plugin v3.0.7 (
> https://plugins.jenkins.io/jacoco/). Attached logs.
>
>
>  
>
>>
>> El jue, 4 feb 2021 a las 14:58, Jigar R () 
>>> escribió:
>>>
>>>> Hello Ivan,
>>>>
>>>> Attached the logs in the email 
>>>>
>>>>- jenkins.log - jenkins build output
>>>>- Jenkins-agent.log - output from jenkins ssh agent 
>>>>
>>>> Jenkins SSH agent was created with following:
>>>>
>>>>- 
>>>>- launch method : launch agents via ssh
>>>>- JavaPath: $JAVA_HOME
>>>>- JVM options: -Xmx2048m -Xms2048m
>>>>- Use TCP_NODELAY flag on the ssh connection - enabled
>>>>
>>>> Environment information
>>>>
>>>>
>>>>- Jenkins v2.249.1
>>>>- RH6
>>>>- SSH agent plugin 1.20
>>>>- SSH slaves plugin 1.30.4
>>>>
>>>>
>>>> On Tuesday, February 2, 2021 at 5:27:07 PM UTC-5 kuisat...@gmail.com 
>>>> wrote:
>>>>
>>>>> Weird, Could you share a screencapture of what you configurate? Also 
>>>>> the whole exception those lines alone mean nothing. Know the version of 
>>>>> Jenkins and the version of the SSH build agents plugins you use can help, 
>>>>> the memory you have in your agents, if they are bare metal or cloud. In 
>>>>> overall if you want help please provide more context. 
>>>>>
>>>>> El mar, 2 feb 2021 a las 22:52, Jigar R () 
>>>>> escribió:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Tuesday, February 2, 2021 at 12:20:19 PM UTC-5 kuisat...@gmail.com 
>>>>>> wrote:
>>>>>>
>>>>>>> >I have 2 different kind of jenkins agents.
>>>>>>> >1. java web start
>>>>>>> >2. ssh
>>>>>>> >If the memory was issue then wouldn't it fail on both cases?
>>>>>>>
>>>>>>> Not necessarily, starting by the 

Re: Issue with master-agent communication over ssh

2021-02-04 Thread Jigar R


On Thursday, February 4, 2021 at 12:20:21 PM UTC-5 Jigar R wrote:

> On Thu, Feb 4, 2021 at 9:29 AM kuisathaverat  wrote:
>
>> I see some serialization fails and this breaks the channel, the plugin 
>> that causes the exception seems https://github.com/jenkinsci/tasks-plugin, 
>> and the `[Deprecated] Scan workspace for open tasks` I think matters, this 
>> plugins has been integrated into 
>> https://github.com/jenkinsci/warnings-ng-plugin and 
>> https://github.com/jenkinsci/analysis-model
>>
>> ERROR: Step ‘[Deprecated] Scan workspace for open tasks’ aborted due to 
>> exception:
>> java.io.StreamCorruptedException: invalid type code: 6D
>> ...
>> at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:182)
>> at 
>> hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:69)
>> at 
>> hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:298)
>> at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:112)
>> at 
>> hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
>> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>> at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
>> at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
>> at hudson.model.Build$BuildExecution.post2(Build.java:186)
>> at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
>> at hudson.model.Run.execute(Run.java:1919)
>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>> at hudson.model.ResourceController.execute(ResourceController.java:97)
>> at hudson.model.Executor.run(Executor.java:428)
>>
>>
>> Thanks for this information. I will move to use warning-ng plugin & see 
> if it breaks this or not. 
>

I updated jenkins job to use warnings NG instead of deprecated plugins. 
After lots of trial and error, I found that jenkins SSH agent would throw 
EOFException while running JaCoCo plugin v3.0.7 
(https://plugins.jenkins.io/jacoco/). Attached logs.


 

>
> El jue, 4 feb 2021 a las 14:58, Jigar R () escribió:
>>
>>> Hello Ivan,
>>>
>>> Attached the logs in the email 
>>>
>>>- jenkins.log - jenkins build output
>>>- Jenkins-agent.log - output from jenkins ssh agent 
>>>
>>> Jenkins SSH agent was created with following:
>>>
>>>- 
>>>- launch method : launch agents via ssh
>>>- JavaPath: $JAVA_HOME
>>>- JVM options: -Xmx2048m -Xms2048m
>>>- Use TCP_NODELAY flag on the ssh connection - enabled
>>>
>>> Environment information
>>>
>>>
>>>- Jenkins v2.249.1
>>>- RH6
>>>- SSH agent plugin 1.20
>>>- SSH slaves plugin 1.30.4
>>>
>>>
>>> On Tuesday, February 2, 2021 at 5:27:07 PM UTC-5 kuisat...@gmail.com 
>>> wrote:
>>>
>>>> Weird, Could you share a screencapture of what you configurate? Also 
>>>> the whole exception those lines alone mean nothing. Know the version of 
>>>> Jenkins and the version of the SSH build agents plugins you use can help, 
>>>> the memory you have in your agents, if they are bare metal or cloud. In 
>>>> overall if you want help please provide more context. 
>>>>
>>>> El mar, 2 feb 2021 a las 22:52, Jigar R () 
>>>> escribió:
>>>>
>>>>>
>>>>>
>>>>> On Tuesday, February 2, 2021 at 12:20:19 PM UTC-5 kuisat...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> >I have 2 different kind of jenkins agents.
>>>>>> >1. java web start
>>>>>> >2. ssh
>>>>>> >If the memory was issue then wouldn't it fail on both cases?
>>>>>>
>>>>>> Not necessarily, starting by the point that are different ways to 
>>>>>> establish the connection, the JNLP agents could not update the remoting 
>>>>>> jar 
>>>>>> file (depends on your configurations), so you can be running different 
>>>>>> versions of remoting. I agree with Jeff looks like an OOM issue, review 
>>>>>> my 
>>>>>> comments at 
>>>>>> https://groups.google.com/g/jenkinsci-users/c/nD3s06hSUXE/m/BQKk5GSYBwAJ 
>>>>>> my re

Re: Issue with master-agent communication over ssh

2021-02-04 Thread Jigar R
On Thu, Feb 4, 2021 at 9:29 AM kuisathaverat 
wrote:

> I see some serialization fails and this breaks the channel, the plugin
> that causes the exception seems https://github.com/jenkinsci/tasks-plugin,
> and the `[Deprecated] Scan workspace for open tasks` I think matters, this
> plugins has been integrated into
> https://github.com/jenkinsci/warnings-ng-plugin and
> https://github.com/jenkinsci/analysis-model
>
> ERROR: Step ‘[Deprecated] Scan workspace for open tasks’ aborted due to 
> exception:
> java.io.StreamCorruptedException: invalid type code: 6D
> ...
> at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:182)
> at 
> hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:69)
> at 
> hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:298)
> at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:112)
> at 
> hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
> at hudson.model.Build$BuildExecution.post2(Build.java:186)
> at 
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
> at hudson.model.Run.execute(Run.java:1919)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> at hudson.model.ResourceController.execute(ResourceController.java:97)
> at hudson.model.Executor.run(Executor.java:428)
>
>
> Thanks for this information. I will move to use warning-ng plugin & see if
it breaks this or not.

El jue, 4 feb 2021 a las 14:58, Jigar R ()
> escribió:
>
>> Hello Ivan,
>>
>> Attached the logs in the email
>>
>>- jenkins.log - jenkins build output
>>- Jenkins-agent.log - output from jenkins ssh agent
>>
>> Jenkins SSH agent was created with following:
>>
>>-
>>- launch method : launch agents via ssh
>>- JavaPath: $JAVA_HOME
>>- JVM options: -Xmx2048m -Xms2048m
>>- Use TCP_NODELAY flag on the ssh connection - enabled
>>
>> Environment information
>>
>>
>>- Jenkins v2.249.1
>>- RH6
>>- SSH agent plugin 1.20
>>- SSH slaves plugin 1.30.4
>>
>>
>> On Tuesday, February 2, 2021 at 5:27:07 PM UTC-5 kuisat...@gmail.com
>> wrote:
>>
>>> Weird, Could you share a screencapture of what you configurate? Also the
>>> whole exception those lines alone mean nothing. Know the version of Jenkins
>>> and the version of the SSH build agents plugins you use can help, the
>>> memory you have in your agents, if they are bare metal or cloud. In overall
>>> if you want help please provide more context.
>>>
>>> El mar, 2 feb 2021 a las 22:52, Jigar R ()
>>> escribió:
>>>
>>>>
>>>>
>>>> On Tuesday, February 2, 2021 at 12:20:19 PM UTC-5 kuisat...@gmail.com
>>>> wrote:
>>>>
>>>>> >I have 2 different kind of jenkins agents.
>>>>> >1. java web start
>>>>> >2. ssh
>>>>> >If the memory was issue then wouldn't it fail on both cases?
>>>>>
>>>>> Not necessarily, starting by the point that are different ways to
>>>>> establish the connection, the JNLP agents could not update the remoting 
>>>>> jar
>>>>> file (depends on your configurations), so you can be running different
>>>>> versions of remoting. I agree with Jeff looks like an OOM issue, review my
>>>>> comments at
>>>>> https://groups.google.com/g/jenkinsci-users/c/nD3s06hSUXE/m/BQKk5GSYBwAJ
>>>>> my recommendation is to fix the mem for the remoting process to 1024M
>>>>> (-Xmx1024m -Xms1024m) see if the issue disappear or change, if disappear,
>>>>> you would have to adjust the remoting process memory to the right one
>>>>> between 256M-1024M, to use 512M usually is safe a not too much (but 
>>>>> depends
>>>>> on your agents' memory we do not know how much they have)
>>>>>
>>>>
>>>> I created SSH agent with -Xmx1024m -Xms1024m.
>>>> I do see bunch of Warnings about "Ping failed. Terminating the channel
>>>> channel".
>>>> I got following error:
>>>> "
>>>>  

Re: Issue with master-agent communication over ssh

2021-02-04 Thread Jigar R
Hello Ivan,

Attached the logs in the email 

   - jenkins.log - jenkins build output
   - Jenkins-agent.log - output from jenkins ssh agent 

Jenkins SSH agent was created with following:

   - 
   - launch method : launch agents via ssh
   - JavaPath: $JAVA_HOME
   - JVM options: -Xmx2048m -Xms2048m
   - Use TCP_NODELAY flag on the ssh connection - enabled
   
Environment information


   - Jenkins v2.249.1
   - RH6
   - SSH agent plugin 1.20
   - SSH slaves plugin 1.30.4
   

On Tuesday, February 2, 2021 at 5:27:07 PM UTC-5 kuisat...@gmail.com wrote:

> Weird, Could you share a screencapture of what you configurate? Also the 
> whole exception those lines alone mean nothing. Know the version of Jenkins 
> and the version of the SSH build agents plugins you use can help, the 
> memory you have in your agents, if they are bare metal or cloud. In overall 
> if you want help please provide more context. 
>
> El mar, 2 feb 2021 a las 22:52, Jigar R () escribió:
>
>>
>>
>> On Tuesday, February 2, 2021 at 12:20:19 PM UTC-5 kuisat...@gmail.com 
>> wrote:
>>
>>> >I have 2 different kind of jenkins agents.
>>> >1. java web start
>>> >2. ssh
>>> >If the memory was issue then wouldn't it fail on both cases?
>>>
>>> Not necessarily, starting by the point that are different ways to 
>>> establish the connection, the JNLP agents could not update the remoting jar 
>>> file (depends on your configurations), so you can be running different 
>>> versions of remoting. I agree with Jeff looks like an OOM issue, review my 
>>> comments at 
>>> https://groups.google.com/g/jenkinsci-users/c/nD3s06hSUXE/m/BQKk5GSYBwAJ 
>>> my recommendation is to fix the mem for the remoting process to 1024M 
>>> (-Xmx1024m -Xms1024m) see if the issue disappear or change, if disappear, 
>>> you would have to adjust the remoting process memory to the right one 
>>> between 256M-1024M, to use 512M usually is safe a not too much (but depends 
>>> on your agents' memory we do not know how much they have)
>>>
>>
>> I created SSH agent with -Xmx1024m -Xms1024m.
>> I do see bunch of Warnings about "Ping failed. Terminating the channel 
>> channel".
>> I got following error:
>> "
>>   WARNING: Failed to send back a reply to te rquest 
>> hudson.remoting.Request$
>>   java.io.IOException: Resource temporarily unavailable
>>   at java.io.FileOutputStream.writeBytes(Native method)
>>   .
>> "
>>  
>>
>>>
>>> El lunes, 1 de febrero de 2021 a las 23:52:19 UTC+1, 
>>> jigarra...@gmail.com escribió:
>>>
>>>> On Monday, January 4, 2021 at 12:37:52 PM UTC-5 jtho...@cloudbees.com 
>>>> wrote:
>>>>
>>>>> When I saw something like this in the past, it was because the process 
>>>>> was running out of resources. Specifically when running SpotBugs, I got 
>>>>> out-of-memory errors. I had to modify the pom to allocate more memory.
>>>>>
>>>> I have 2 different kind of jenkins agents.
>>>> 1. java web start
>>>> 2. ssh
>>>> If the memory was issue then wouldn't it fail on both cases? 
>>>>
>>>> I do see "Agent went offline during build Connection was broker: 
>>>> java.io.StreamCorruptedException: invalid stream header:".
>>>>
>>>>> I recommend ensuring your build runs normally on the agent without the 
>>>>> additional complexities of the Jenkins environment. This might show where 
>>>>> additional resources are needed. If that all passes, then continue on to 
>>>>> the additional troubleshooting steps involving the Jenkins controller and 
>>>>> agent.
>>>>>
>>>>> Jeff Thompson
>>>>> On 12/30/20 3:40 PM, jiga...@gmail.com wrote:
>>>>>
>>>>> Interestingly, whenever Jenkins agent is executing PMD/Findbugs task, 
>>>>> it runs into " Resource temporarily unavailable".  
>>>>> I have
>>>>>
>>>>>- verified TCP parameters 
>>>>>i.e. tcp_keepalive_time, tcp_keepalive_intvl, tcp_keepalive_probes 
>>>>>& tcp_fin_timeout ; All of them have higher values then what cloudbees 
>>>>>recommended at 
>>>>>
>>>>> https://support.cloudbees.com/hc/en-us/articles/115001369667-dedicated-SSH-agents-formerly-slaves-get-disconnected
>>>>>  
>>>>>- set 

Re: Issue with master-agent communication over ssh

2021-02-02 Thread Jigar R
adPoolExecutor.java:1149)
>>>>> at 
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>>>> at java.lang.Thread.run(Thread.java:748)
>>>>>  
>>>>> Dec 04, 2020 5:25:30 PM hudson.remoting.Request$2 run
>>>>> WARNING: Failed to send back a reply to the request 
>>>>> hudson.remoting.Request$2@2511e2d4
>>>>> java.io.IOException: Resource temporarily unavailable
>>>>> at java.io.FileOutputStream.writeBytes(Native Method)
>>>>> at java.io.FileOutputStream.write(FileOutputStream.java:326)
>>>>> at 
>>>>> hudson.remoting.StandardOutputStream.write(StandardOutputStream.java:88)
>>>>> at 
>>>>> hudson.remoting.ChunkedOutputStream.sendFrame(ChunkedOutputStream.java:90)
>>>>> at 
>>>>> hudson.remoting.ChunkedOutputStream.drain(ChunkedOutputStream.java:85)
>>>>> at 
>>>>> hudson.remoting.ChunkedOutputStream.write(ChunkedOutputStream.java:54)
>>>>> at java.io.OutputStream.write(OutputStream.java:75)
>>>>> at 
>>>>> hudson.remoting.ChunkedCommandTransport.writeBlock(ChunkedCommandTransport.java:45)
>>>>> at 
>>>>> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:46)
>>>>> at hudson.remoting.Channel.send(Channel.java:766)
>>>>> at hudson.remoting.Request$2.run(Request.java:388)
>>>>> at 
>>>>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
>>>>> 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)
>>>>>  
>>>>> ERROR: Connection terminated
>>>>> java.io.StreamCorruptedException: invalid stream header: 00025B42
>>>>> at 
>>>>> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:866)
>>>>> at java.io.ObjectInputStream.(ObjectInputStream.java:358)
>>>>> at 
>>>>> hudson.remoting.ObjectInputStreamEx.(ObjectInputStreamEx.java:49)
>>>>> at hudson.remoting.Command.readFrom(Command.java:142)
>>>>> at hudson.remoting.Command.readFrom(Command.java:128)
>>>>> at 
>>>>> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
>>>>> at 
>>>>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)
>>>>> Dec 04, 2020 5:32:30 PM hudson.slaves.ChannelPinger$1 onDead
>>>>> INFO: Ping failed. Terminating the channel channel.
>>>>> java.util.concurrent.TimeoutException: Ping started at 1607120910589 
>>>>> hasn't completed by 1607121150590
>>>>> at hudson.remoting.PingThread.ping(PingThread.java:134)
>>>>> at hudson.remoting.PingThread.run(PingThread.java:90)
>>>>>
>>>>> Thanks,
>>>>> Jigar R
>>>>>
>>>>> -- 
>>> 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/030aced0-ba6e-4012-a60a-58208d350544n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/030aced0-ba6e-4012-a60a-58208d350544n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>>

-- 
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/615a4333-587c-4ea2-a11f-fea45fe38a56n%40googlegroups.com.


Re: Issue with master-agent communication over ssh

2021-02-01 Thread Jigar R
FS discoverGitSystemConfig
>>> WARNING: Exception caught during execution of command '[git, config, 
>>> --system, --edit]' in '$GIT_PATH/bin', return code '128', error message 
>>> 'fatal: Invalid path '$GIT_PATH/etc': No such file or directory
>>> '
>>> Dec 04, 2020 3:33:58 PM org.eclipse.jgit.util.FS$FileStoreAttributes 
>>> saveToConfig
>>> WARNING: locking FileBasedConfig[$JENKINS_PATH/.config/jgit/config] 
>>> failed after 5 retries
>>> Dec 04, 2020 3:33:59 PM 
>>> org.jenkinsci.remoting.util.AnonymousClassWarnings warn
>>> WARNING: Attempt to (de-)serialize anonymous class 
>>> com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser$1;
>>>  
>>> see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
>>> Dec 04, 2020 3:34:24 PM hudson.remoting.Request$2 run
>>> WARNING: Failed to send back a reply to the request 
>>> hudson.remoting.Request$2@493c5a4e
>>> java.io.IOException: Resource temporarily unavailable
>>> at java.io.FileOutputStream.writeBytes(Native Method)
>>> at java.io.FileOutputStream.write(FileOutputStream.java:313)
>>> at 
>>> hudson.remoting.StandardOutputStream.write(StandardOutputStream.java:83)
>>> at 
>>> hudson.remoting.ChunkedOutputStream.sendFrame(ChunkedOutputStream.java:89)
>>> at 
>>> hudson.remoting.ChunkedOutputStream.sendBreak(ChunkedOutputStream.java:62)
>>> at 
>>> hudson.remoting.ChunkedCommandTransport.writeBlock(ChunkedCommandTransport.java:46)
>>> at 
>>> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:46)
>>> at hudson.remoting.Channel.send(Channel.java:766)
>>> at hudson.remoting.Request$2.run(Request.java:388)
>>> at 
>>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
>>> 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)
>>>  
>>> Dec 04, 2020 5:25:30 PM hudson.remoting.Request$2 run
>>> WARNING: Failed to send back a reply to the request 
>>> hudson.remoting.Request$2@2511e2d4
>>> java.io.IOException: Resource temporarily unavailable
>>> at java.io.FileOutputStream.writeBytes(Native Method)
>>> at java.io.FileOutputStream.write(FileOutputStream.java:326)
>>> at 
>>> hudson.remoting.StandardOutputStream.write(StandardOutputStream.java:88)
>>> at 
>>> hudson.remoting.ChunkedOutputStream.sendFrame(ChunkedOutputStream.java:90)
>>> at 
>>> hudson.remoting.ChunkedOutputStream.drain(ChunkedOutputStream.java:85)
>>> at 
>>> hudson.remoting.ChunkedOutputStream.write(ChunkedOutputStream.java:54)
>>> at java.io.OutputStream.write(OutputStream.java:75)
>>> at 
>>> hudson.remoting.ChunkedCommandTransport.writeBlock(ChunkedCommandTransport.java:45)
>>> at 
>>> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.write(AbstractSynchronousByteArrayCommandTransport.java:46)
>>> at hudson.remoting.Channel.send(Channel.java:766)
>>> at hudson.remoting.Request$2.run(Request.java:388)
>>> at 
>>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
>>> 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)
>>>  
>>> ERROR: Connection terminated
>>> java.io.StreamCorruptedException: invalid stream header: 00025B42
>>> at 
>>> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:866)
>>> at java.io.ObjectInputStream.(ObjectInputStream.java:358)
>>> at 
>>> hudson.remoting.ObjectInputStreamEx.(ObjectInputStreamEx.java:49)
>>> at hudson.remoting.Command.readFrom(Command.java:142)
>>> at hudson.remoting.Command.readFrom(Command.java:128)
>>> at 
>>> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
>>> at 
>>> hudso

Re: Confusion with JNLP

2021-01-29 Thread Jigar R


On Monday, January 25, 2021 at 7:07:37 PM UTC-5 jtho...@cloudbees.com wrote:

> On 1/25/21 1:23 PM, Jigar R wrote:
>
> Hello Jenkins community, 
>
> I have created jenkins (v2.249.1) agent with launch method "Lauch agent by 
> connecting it to the master". This prints a command on Jenkins UI i.e. 
> "java -jar agent.jar -jnlpUrl  -secret ". Does this method use java 
> web start / JNLP4? Is it going away?
>
>
> I meant to send the following explanation to the list a few weeks back but 
> apparently it didn't work out that way.
>
>
> Hello Jeff,

Thanks for your response. I am not well-versed with JNLPs.

My only question is that, am I using java web start?

Should I be concerned? If yes then Do you recommend me to move to something 
more stabled?

> On 12/31/20 9:32 AM, jiga...@gmail.com wrote:
>
> I have been running on JNLP for a while. Is it going to be deprecated? 
> Should I prepare to move to SSH? 
>
> Unfortunately, that's a more confusing question than it should be. There 
> are three things related to Jenkins agents that are named "JNLP". Only one 
> of them actually has anything to do with JNLP.
>
> First, the one that actually has anything to do with JNLP. If you use the 
> "Launch" button on the controller to start your agent, that uses Java 
> WebStart and JNLP is the launch protocol / mechanism. WebStart is going 
> away. Or not. It has been removed from later versions of Java. Though, the 
> OpenWebStart project has reimplemented these capabilities, which you could 
> add onto later Java installations. However, I don't recommend using 
> WebStart in production. It has no restart capabilities. It has become 
> increasingly difficult to get it to work on current operating systems, etc.
>
> Second, the one in Jenkins that has been renamed. When you configure an 
> agent in Jenkins, there used to be an option to have a JNLP agent. This was 
> renamed to "Inbound TCP agent" a while back as it has nothing to do with 
> JNLP. This one is not going away.
>
> Third, the one(s) in Jenkins that are still misnamed. Jenkins Remoting has 
> had a series of network protocols named "JNLP". Currently, the only 
> available one is "JNLP4-connect". This name is incorrect, as it has nothing 
> to do with JNLP. The misleading name is retained for backwards 
> compatibility purposes. The earlier versions of these protocols had a 
> variety of problems and have gone away. The current one is not going away.
> Jeff Thompson 
>

-- 
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/e7ab64a4-4f61-4d41-b9da-f4af655bf7b4n%40googlegroups.com.


Confusion with JNLP

2021-01-25 Thread Jigar R
Hello Jenkins community, 

I have created jenkins (v2.249.1) agent with launch method "Lauch agent by 
connecting it to the master". This prints a command on Jenkins UI i.e. 
"java -jar agent.jar -jnlpUrl  -secret ". Does this method use java 
web start / JNLP4? Is it going away?

--
Jigar R

-- 
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/7679139e-e3bd-436d-b50f-23c50b0a5a8dn%40googlegroups.com.


Re: hudson.triggers.TimerTrigger.run() spent too much time

2020-11-19 Thread Jani R
Advises/comments from anyone? I'm totally lost how to solve this issue...

On Monday, 26 October 2020 at 12:01:25 UTC+2 Jani R wrote:

> Has anyone runned into following issue with Jenkins?
>
> hudson.triggers.TimerTrigger ... Trigger 
> hudson.triggers.TimerTrigger.run() triggered by 
> hudson.model.FreeStyleProject@... spent too much time (5 min 4 
> sec) in its execution, other timers can be affected
>
>  varies, when this happen, all jobs stops from triggering.
>
> Current configuration:
> Ubuntu server 20.04
> Jenkins 2.235.3 (started via .war)
> Tested also with latest Jenkins+plugins and issue still happens.
>
> I'm not sure is this actually Jenkins or Ubuntu problem, any ideas how to 
> resolve this?
>

-- 
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/3ac1904c-11b2-4c7e-b0e5-2c567e940403n%40googlegroups.com.


hudson.triggers.TimerTrigger.run() spent too much time

2020-10-26 Thread Jani R
Has anyone runned into following issue with Jenkins?

hudson.triggers.TimerTrigger ... Trigger hudson.triggers.TimerTrigger.run() 
triggered by hudson.model.FreeStyleProject@... spent too much 
time (5 min 4 sec) in its execution, other timers can be affected

 varies, when this happen, all jobs stops from triggering.

Current configuration:
Ubuntu server 20.04
Jenkins 2.235.3 (started via .war)
Tested also with latest Jenkins+plugins and issue still happens.

I'm not sure is this actually Jenkins or Ubuntu problem, any ideas how to 
resolve this?

-- 
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/a14071e5-1065-4483-844c-515933ea6aecn%40googlegroups.com.


Re: Get stage name in pipeline

2019-08-24 Thread amit r
Hi,
Even if you have parallel stages, you still can have different stages printed 
with any info that u wish.
Lets assume that you call each stage with different name.
You can define for your stage withEnv function what will print also your stage 
name or just like the msg above mentioned.

Did you try it and didnt work?
Share your pipeline if have more issue..

Amit Rintzler

בתאריך יום שבת, 24 באוגוסט 2019 בשעה 16:12:54 UTC+3, מאת Sureshkumar Ramar:
> Hi,
> Thanks for your answer and this should work when your pipeline only has 
> sequence stages. In parallel stages two or more stage got failed then one 
> stage name will replaced by another stage name . So, i can't get all the 
> failed stage. Is there any other way?
> 
> 
> 
> 
> On Fri, 23 Aug, 2019, 5:06 PM Faad Sayaou,  wrote:
> 
> 
> 
> 
>   you can include this in every stage
>   FAILED_STAGE=env.STAGE_NAME
> 
> 
> 
> and in your email you can call the property $FAILED_STAGE.
> hope it helps
> 
> 
> 
> 
> On Fri, 23 Aug 2019 at 12:42, Sureshkumar Ramar  wrote:
> 
> Hi,
> i am using jenkins pipeline. i want to send the failed stage name to the 
> developer. is there a way to capture the failure stage in jenkins. it should 
> work in parallel stages also. 
> 
> 
> -- 
> 
> 
> Thanks & Regards,
> Suresh Kumar R
> 
> 
> 
> 
> -- 
> 
> 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 jenkins...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAM6nqfeQ9sPjgT-nPf%2BhWDY-nuE30%3D3O6No-10WLT3G%2B-jiPvg%40mail.gmail.com.
> 
> 
> 
> 
> -- 
> 
> 
> 
> 
> 
> Best Regards / Mit freundlichen Grüßen,
> Faad Sayaou,
> Embedded Systems for Mechatronics Masters student | FH Dortmund | Germany
> Fachhochschule Dortmund
> University of Applied Sciences and Arts
> Email: faad...@gmail.com
> 
> 
> 
> 
> 
> 
> -- 
> 
> 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 jenkins...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAL2KjjRd%3DbqTJdU99Tp8Bj22Q9ryPCZnN%3D9O10QpO5m7KW7N7g%40mail.gmail.com.

-- 
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/122c7898-1ad4-42c0-b1a0-00cce807d50c%40googlegroups.com.


Re: emailext using groovy-html.template with environment variables issue

2019-08-11 Thread amit r

*Hi Reinhold, *
*thank you for your help!*
*pls see inline*

בתאריך יום חמישי, 8 באוגוסט 2019 בשעה 07:45:34 UTC+3, מאת Reinhold Füreder:

> Hi Amit,
>
>  
>
> (a) in your code/screenshot example the problem:
>
> *to**: **'${GERRIT_CHANGE_OWNER_EMAIL}'**,*
>
> *[…]*
>
> *in the to: section i want to use the env variable 
> "GERRIT_CHANGE_OWNER_EMAIL" but it not passing the value  ( i tried also with 
> env.**GERRIT_CHANGE_OWNER_EMAIL and also /${env.GERRIT_CHANGE_OWNER_EMAIL}*
>
> … the problem is a Groovy one:
>
>- Please replace the single quotes with double quotes to allow string 
>interpolation
>
>  this one worked   - tnx for that!
>
>  
>
> (b) And in the groovy html template code there are IMHO only certain 
> variables explicitly injected:
>
>- Based upon http://stackoverflow.com/a/9983405 and 
>
> https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/java/hudson/plugins/emailext/plugins/content/ScriptContent.java
>  please 
>note the “binding.put(...)” calls, e.g.:
>   - build ... org.jenkinsci.plugins.workflow.job.WorkflowRun 
>   
> 
>  for 
>   Pipeline jobs
>   - project == build.getParent() 
>   
>... org.jenkinsci.plugins.workflow.job.WorkflowJob 
>   
> 
>  - 
>   the job/project instance for this build
>   - it ... ScriptContentBuildWrapper(build) 
>   
> 
>  (internal 
>   ExtEmail class)
>   - rootUrl … Jenkins URL as set in your Jenkins configuration
>
>  regard this part - i know these params but i'm sure that we can 
> manipulate the template in some way to have values that no on build... for 
> example , i have file in my workspace that contains all the values that i 
> want to use in the mail, will it be available in the post in the template? 
> can i import this file context into some map and use it in my email 
> template? 
>
 as i know , we have already the option to run build.getEnvVars() but only 
for specific values that inside build context - not the env values that i'm 
looking for...
do you see other option for it?

 

> HTH Reinhold
>

-- 
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/dfe5f429-b31f-4dac-af88-65c98f8806b6%40googlegroups.com.


emailext using groovy-html.template with environment variables issue

2019-08-07 Thread amit r
Hi All, 
i'm using jenkinsFile and for lone time using also the emailext plugin with 
some default params that were ok for now..

now i reached to some issues that i want to use in my groovy html template 
variables that were used in my jenkinsFile  - for example env variables.

its not clear to me how can i access them within the template..
the only thing i found online is the :
build.getEnvVars() but this one also give very limited info and not on my 
env variables that i used in my build..

in addition , see some examples online that use project.name or 
build.result ... how can i know which options i have to use in this 
template? 


on top of it:
in the jenkinsFile it self we have this section:

emailext(
from: 'Jenkins',
replyTo: 'none',
recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 
'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']],
subject: '[Jenkins] ${PROJECT_NAME} - build #${BUILD_NUMBER} - 
${BUILD_STATUS}',
mimeType: 'text/html',
to: '${GERRIT_CHANGE_OWNER_EMAIL}',
body: '${SCRIPT, template="managed:groovy-html.template"}'
)


in the to: section i want to use the env variable "GERRIT_CHANGE_OWNER_EMAIL" 
but it not passing the value  ( i tried also with env.GERRIT_CHANGE_OWNER_EMAIL 
and also /${env.GERRIT_CHANGE_OWNER_EMAIL}

what is your suggestion to handle these cases?


thanks in advance!

Amit

-- 
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/a788acb9-f1c2-4cc1-98b9-6437195c315d%40googlegroups.com.


Re: gerrit-code-review-plugin integrated with multibranch pipeline

2019-08-07 Thread amit r


בתאריך יום רביעי, 7 באוגוסט 2019 בשעה 10:49:42 UTC+3, מאת Luca Milanesio:

> Hi Amit,
> this message is more for the Jenkins mailing list. However, as I am 
> watching actively both, I'm happy to answer :-)
>
thank you for this!! - pls see my answers inline 

>
> On 6 Aug 2019, at 06:57, amit r > wrote:
>
> Hi All, 
>
>
> i'm not sure who to send this so trying here to get some answer for my use 
> case..
>
> i'm trying to use the plugin gerrit-code-review-plugin  in my project 
> using multi branch pipeline.
> installed all the pre plugins in order to use it  but as mentioned in the 
> wiki page:
>
> https://wiki.jenkins.io/display/JENKINS/Gerrit+Code+Review+Plugin 
> not clear enough how to use it from scratch.
> i assumed that need the gerrit trigger section in my jenkinsFile  so did 
> this one:
>
> triggers {
> gerrit(
> serverName: 'Gerrit Server',
> gerritProjects: [[
>  compareType   : 
> 'ANT',
>  pattern   : 
> 'env.GERRIT_PROJECT',
>  branches  : 
> [[
>   
> compareType: 'REG_EXP',
>   
> pattern: 'env.BRANCH_NAME'
>   
> ]]
>  ]],
> triggerOnEvents: [
> changeMerged(),
> patchsetCreated()
> ],
> skipVote: [
> onSuccessful: false,
> onFailed: false,
> onUnstable  : false,
> onNotBuilt  : false
> ]
> )
> }
>
>
> The above example doesn't match any of the other examples mentioned in the 
> Gerrit Code Review plugin.
>
> See the scripted and declarative pipelines examples at:
> https://github.com/jenkinsci/gerrit-code-review-plugin
>
>  i did try as mentioned in this link but if i'm not putting any part for 
the trigger section as you mentioned so the pipeline will not be trigger as 
it doesnt recognize any event
the only time that it does recognize its when adding the section above but 
only for patchsetCreated..

 but now no matter what happens - i never get any event for the merged one 
> - only for patchsetCreated
>
> 1. is there something i'm missing here?
> 2. does this plugin should support this cases?
>
>
> Yes, it is designed for being used in a multi-branch pipeline.
>
 

> do you have example that it works with patchset-created and also with 
> changeMerged events?
>
> 3. how can i still use the branch scanning that exist in multibranch 
> pipeline in case i also have cases that my automation push code into gerrit 
> so will have here endless loop...
>
>
> Endless loop? Can you clarify the details?
>
 

> in my code i have case that for some cases i'm pushing during my CI new 
> changes into gerrit.
>
now  since i want to use the scanning period in the multibranch pipeline so 
it will find the new commit that did during my build and trigger new ci for 
it..
in order to skip these specific ones so added in my jenkinsFile 
condition that in case msg contains specific UC so it will be aborted - 
otherwise ,you will get here the endless loop since everytime will get 
another commit in gerrit that will trigger the next one...

4. what about webhooks in gerrit it self? is it something different? 
>
>
> Webhooks can be used to trigger the branch reindexing also.
> Just configure them in Gerrit to point to Jenkins's URL /gerrit-webhook
>
 added in my project in gerrit the webhook config but doesnt look that 
works for all events... - do i need also the hooks or not needed? 

>
> HTH
>
> Luca.
> many thanks for your help here
>
>
> any help with this will save my day! i'm trying to resolve these issues 
> for long time with not much luck...
>
> many thanks in advance!!
> Amit Rintzler 
>
> -- 
> -- 
> To unsubscribe, email rep...@googlegroups.com 
> More info at http://groups.google.com/group/repo-discuss?hl=en
>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Repo and Gerrit Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to repo-d...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/repo-discuss/12c7c061-8ffa-444f-a277-ec34b66c6dc3%40googlegroups.com

Gerrit review and gerrit webhooks

2019-08-05 Thread amit r
Hi All, 


i'm not sure who to send this so trying here to get some answer for my use 
case..

i'm trying to use the plugin gerrit-code-review-plugin  in my project using 
multi branch pipeline.
installed all the pre plugins in order to use it  but as mentioned in the 
wiki page:

https://wiki.jenkins.io/display/JENKINS/Gerrit+Code+Review+Plugin 
not clear enough how to use it from scratch.
i assumed that need the gerrit trigger section in my jenkinsFile  so did 
this one:

triggers {
gerrit(
serverName: 'Gerrit Server',
gerritProjects: [[
 compareType   : 
'ANT',
 pattern   : 
'env.GERRIT_PROJECT',
 branches  : [[

  compareType: 'REG_EXP',

  pattern: 'env.BRANCH_NAME'
  ]]
 ]],
triggerOnEvents: [
changeMerged(),
patchsetCreated()
],
skipVote: [
onSuccessful: false,
onFailed: false,
onUnstable  : false,
onNotBuilt  : false
]
)
}

 but now no matter what happens - i never get any event for the merged one 
- only for patchsetCreated

1. is there something i'm missing here?
2. does this plugin should support this cases?
3. how can i still use the branch scanning that exist in multibranch 
pipeline in case i also have cases that my automation push code into gerrit 
so will have here endless loop...
4. what about webhooks in gerrit it self? is it something different? 

any help with this will save my day! i'm trying to resolve these issues for 
long time with not much luck...

many thanks in advance!!
Amit Rintzler 

-- 
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/de6ac94f-4464-4916-bd0e-53746e39d432%40googlegroups.com.


Socket exception: socket closed

2019-07-31 Thread Sudharsan R
Hi all,
We are using version 2.150.1 of Jenkins
We use kubernetes(plugin version 1.13.7) to run our build pods. The jnlp 
container image is jenkinsci/jnlp-slave:3.26-1-alpine

Our jenkinsfile is as follows:
  stages {
stage('Update Environment') {
  steps {
container('devenv') {
sh "./test.py"
sh "./nextjob.py"
}
  }
}
  }

test.py is as follows:
cnt = 0
while cnt < 10:
time.sleep(180)
print "Sleep "+str(cnt)
cnt = cnt + 1

We see the following error message on the build log while test.py is 
executing
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at okio.Okio$2.read(Okio.java:139)
at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
at okio.RealBufferedSource.request(RealBufferedSource.java:67)
at okio.RealBufferedSource.require(RealBufferedSource.java:60)
at okio.RealBufferedSource.readByte(RealBufferedSource.java:73)
at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.java:113)
at 
okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:97)
at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.java:265)
at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:204)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:153)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
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)
Sleep 0
Sleep 1
Sleep 2
Sleep 3
Sleep 4
Sleep 5
Sleep 6
Sleep 7
Sleep 8
Sleep 9

Once test.py execution is complete, the build is failed and nextjob.py 
never executes.

I made a modification to test.py to flush stdout after each print
cnt = 0
while cnt < 10:
time.sleep(180)
print "Sleep "+str(cnt)
sys.stdout.flush()
cnt = cnt + 1

Everything seems ok! Somehow flushing stdout every 3 minutes or so seems to 
keep the jnlp connection between master and slave up...
The master and the slave are in AWS and are on the same VPC subnet(Dont 
believe that these connections go through any stateful network services 
that can induce resets on idle connections). I don't see much logs of note( 
I may also not be looking at the right ones) on the jenkins master. Are 
there any debugs we can enable on the master to understand what is 
happening? Is this behavior perhaps expected (the build step should not be 
too silent for a long time?)

Help would be much appreciated

Thanks
Sudharsan

-- 
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/5c3ea136-8c6a-49ec-aa93-ea330d1d5204%40googlegroups.com.


Re: Repeat Build with Parameters

2019-06-27 Thread R. Tyler Croy
(replies inline)

On Wed, 26 Jun 2019, Madhusudan G J wrote:

> I am new to jenkins and needs help, how do I build with parameters script till
> I pass "No" parameter.
>
> Currently, I have a script, which will run and complete, when I click on build
> with parameters. But I would like to gather the different parameters for
> different builds one after the other and build at once.
>
> How Can I achieve this, please help.
>
> Example, My script creates a .csv file when I click on build with parameters, 
> I
> would like to get this .csv file appended when I click on click on build 
> again.
> once I am done, I would like to build at once, how can I achieve this.


I believe that the Rebuilder plugin would help you here:



https://plugins.jenkins.io/rebuild

--
GitHub:  https://github.com/rtyler

GPG Key ID: 0F2298A980EE31ACCA0A7825E5C92681BEF6CEA2

-- 
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/2lP_jHbO_LgNcjKoQDHsN-V3faso8eCd9zcgqqV5hSWY571qxDlIr5WP3koDNpMFWC7okyvUUiAX7Jep2vG3CqZQgK6oaqGHCEXvN0lV6Wg%3D%40brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-17 Thread Thomas R
Your help was most welcome. Thank you very much for that. Most likely I will 
contact IBM support, now. Maybe they can help. At least it seems that it is not 
directly a Jenkins problem. 

Again, thank you. 

Thomas. 

-- 
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/4b57f05a-3694-4169-8d6a-5da364589500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-17 Thread Thomas R
Sure I can. Here is the result of the commands executed from a Windows Bash 
shell:

traddatz@CNDEA041500 MINGW64 ~
$ ssh raddatz@10.200.36.33 echo "OK"
raddatz@10.200.36.33's password:
OK

traddatz@CNDEA041500 MINGW64 ~
$ ssh -t raddatz@10.200.36.33 echo "OK"
raddatz@10.200.36.33's password:
OK
Connection to 10.200.36.33 closed.

traddatz@CNDEA041500 MINGW64 ~
$ ssh -T raddatz@10.200.36.33 echo "OK"
raddatz@10.200.36.33's password:
OK

traddatz@CNDEA041500 MINGW64 ~
$ ssh raddatz@10.200.36.33 ssh -V
raddatz@10.200.36.33's password:
OpenSSH_6.9p1, OpenSSL 1.0.2r  26 Feb 2019

traddatz@CNDEA041500 MINGW64 ~
$



Am Montag, 17. Juni 2019 15:41:38 UTC+2 schrieb Ivan Fernandez Calvo:
>
> Can you execute a command on a remote ssh session on the agent? something 
> like the following commands `ssh USER@JENKINS_AGENT echo "OK"`, `ssh -t 
> USER@JENKINS_AGENT echo "OK"`, `ssh -T USER@JENKINS_AGENT echo "OK"`
>

-- 
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/201538fa-4748-4d10-97f5-16933e88b581%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-17 Thread Thomas R
The SSH version on the IBM i server, that is where the slave should run, is:

> ssh -V
  OpenSSH_6.9p1, OpenSSL 1.0.2r  26 Feb 2019
  $

Enabling logging on the slave did not help. All I get is an empty log file 
'remoting.log.0', when using the following logger configuration file:

# Configuration file that controls the slave logging ... if we pass in a JVM
# arg -Djava.util.logging.config.file=jenkins-slave.logging.properties

# Send output to file as well as console.
handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler

# Log everything equally
java.util.logging.FileHandler.level=ALL
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format=%1$tFT%1$tT.%1$tL%1$tz %4$s %2$s: 
%5$s%6$s%n

# On the filesystem, we keep up to 9 logs of 10meg each.
java.util.logging.FileHandler.pattern=jenkins-slave.%g.log
java.util.logging.FileHandler.encoding=UTF-8
java.util.logging.FileHandler.limit=10485760
java.util.logging.FileHandler.count=9
java.util.logging.FileHandler.append=false

# Log everything ...
.level= ALL
hudson.remoting.level=FINE


This is who I specified the logger configuration of the slave:

Source agent hash is D2D1A740134BD20D6F0855B356344342. Installed agent hash is 
D2D1A740134BD20D6F0855B356344342
Verified agent jar. No update is necessary.
Expanded the channel window size to 4MB
[06/17/19 13:24:16] [SSH] Starting agent process: cd "/home/Raddatz/jenkins" && 
/QOpenSys/usr/bin/java -Dfile.encoding=ISO8859_1   -jar remoting.jar -workDir 
/home/Raddatz/jenkins/work -loggingConfig jenkins-slave.logging.properties

Slave JVM has terminated. Exit code=1
[06/17/19 13:24:41] Launch failed - cleaning up connection
[06/17/19 13:24:41] [SSH] Connection closed.


Thomas.


Am Sonntag, 16. Juni 2019 22:35:53 UTC+2 schrieb Ivan Fernandez Calvo:
>
>
> Could you enable verbose loggin for the package "hudson.remoting"? FINE 
> log level should enough see how at 
> https://github.com/jenkinsci/remoting/blob/master/docs/logging.md
> Which version os SSH do you use? execute `ssh -V` 
>
>

-- 
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/52ba48af-53d1-42bd-aae0-80a0f92b77f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
Enabling "Master Access Control" (Enable Agent → Master Access Control)  
and removing the '-text parameter did not help:

[06/16/19 22:10:24] [SSH] Starting agent process: cd "/home/Raddatz/jenkins" && 
/QOpenSys/usr/bin/java -Dfile.encoding=ISO8859_1  -Xms256M  -Xmx256M -jar 
remoting.jar -workDir /home/Raddatz/jenkins/work

Slave JVM has terminated. Exit code=1



Thomas.


Am Sonntag, 16. Juni 2019 20:41:42 UTC+2 schrieb Ivan Fernandez Calvo:
>
> I've found it, is a remoting option to use base64 to encode the 
> comunication, I've never use it, it is not needed
>
> https://github.com/jenkinsci/remoting/blob/005dd67af809881ff0c79992583661fa2cde4229/src/main/java/hudson/remoting/Launcher.java#L130

-- 
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/7fb1ce21-a6d3-41d7-8903-c777946711f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
Changing Java propertis Xms and Xms (trouble shooting guide) did not help:

[06/16/19 21:52:55] [SSH] Starting agent process: cd "/home/Raddatz/jenkins" && 
/QOpenSys/usr/bin/java -Dfile.encoding=ISO8859_1  -Xms256M  -Xmx256M -jar 
remoting.jar -workDir /home/Raddatz/jenkins/work

Slave JVM has terminated. Exit code=1


Also enabling


Am Sonntag, 16. Juni 2019 21:27:35 UTC+2 schrieb Thomas R:
>
> There are only the following files:
>
> a) \\ghentw.gfd.de\home\Raddatz\jenkins\remoting.jar
> b) \\ghentw.gfd.de\home\Raddatz\jenkins\work\remoting\logs\remoting.log.0  
>   (0-bytes = empty)
>
> The "cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java 
> -Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir 
> /home/raddatz/jenkins/work -text" command produces the following output, 
> when being executed from Qshell on the host:
>
> > cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java 
> -Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir   
>  /home/raddatz/jenkins/work -text  
> 
>   Running in text mode
>  
>   Jun 16, 2019 9:18:52 PM org.jenkinsci.remoting.engine.WorkDirManager 
> initializeWorkDir   
>   INFO: Using /home/raddatz/jenkins/work/remoting as a remoting work 
> directory 
>   Both error and output logs will be printed to 
> /home/raddatz/jenkins/work/remoting
> 
>   WARNING: Are you running agent from an interactive console?  
> 
>   If so, you are probably using it incorrectly.
> 
>   See https://wiki.jenkins.io/display/JENKINS/Launching+agent+from+console  
>
>   <===[JENKINS REMOTING 
> CAPACITY]===>rO0ABXNyABpodWRzb24ucmVtb3RpbmcuQ2FwYWJpbGl0eQABAgABSgAEbWFza3hwAf4=<===[HUDSO
>   N TRANSMISSION BEGINS]===>  
>  
>
> It also produces an empty 'remoting.log.0'.
>
> There are no hs_err_pid files in folder /home/raddatz/jenkis and any 
> deeper folder.
>
> I am going to check the troubleshooting page , now.
>
> Thank you for your quick reply.
>
> Thoma.s
>
> Am Sonntag, 16. Juni 2019 20:18:27 UTC+2 schrieb Ivan Fernandez Calvo:
>>
>> Which JDK do you use on the Jenkins master? 
>> Did you try to execute the following command manually on the agent? 
>> cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java 
>> -Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir 
>> /home/raddatz/jenkins/work -text
>>
>> check the directory /home/raddatz/jenkins and /home/raddatz/jenkins/work 
>> for log files or hs_err_pid files
>>
>> Finally check the troubleshooting guide 
>> https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/doc/TROUBLESHOOTING.md#troubleshooting
>>
>>

-- 
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/fdfdc2db-3cb6-4114-b6f3-dff53fa07202%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
I forgot to mention that I start the Jenkins server with the following 
command:

"c:\Program Files\IBM\SDP_096\jdk\bin\java.exe" -jar jenkins-2.164.3.war 
--httpPort=9090

The Java version number is:

C:\Users\traddatz>"c:\Program Files\IBM\SDP_096\jdk\bin\java.exe" -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 8.0.5.20 - 
pwa6480sr5fp20-20180802_01(SR5 FP20))
IBM J9 VM (build 2.9, JRE 1.8.0 Windows 7 amd64-64-Bit Compressed 
References 20180731_393394 (JIT enabled, AOT enabled)
OpenJ9   - bd23af8
OMR  - ca1411c
IBM  - 98805ca)
JCL - 20180719_01 based on Oracle jdk8u181-b12


Thomas.


Am Sonntag, 16. Juni 2019 20:18:27 UTC+2 schrieb Ivan Fernandez Calvo:
>
> Which JDK do you use on the Jenkins master? 
> Did you try to execute the following command manually on the agent? 
> cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java 
> -Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir 
> /home/raddatz/jenkins/work -text
>
> check the directory /home/raddatz/jenkins and /home/raddatz/jenkins/work 
> for log files or hs_err_pid files
>
> Finally check the troubleshooting guide 
> https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/doc/TROUBLESHOOTING.md#troubleshooting
>
>

-- 
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/583d3be8-b933-4916-8865-66085a899ffa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
There are only the following files:

a) \\ghentw.gfd.de\home\Raddatz\jenkins\remoting.jar
b) \\ghentw.gfd.de\home\Raddatz\jenkins\work\remoting\logs\remoting.log.0  
  (0-bytes = empty)

The "cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java 
-Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir 
/home/raddatz/jenkins/work -text" command produces the following output, 
when being executed from Qshell on the host:

> cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java 
-Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir   
 /home/raddatz/jenkins/work -text  

  Running in text mode  
   
  Jun 16, 2019 9:18:52 PM org.jenkinsci.remoting.engine.WorkDirManager 
initializeWorkDir   
  INFO: Using /home/raddatz/jenkins/work/remoting as a remoting work 
directory 
  Both error and output logs will be printed to 
/home/raddatz/jenkins/work/remoting

  WARNING: Are you running agent from an interactive console?  

  If so, you are probably using it incorrectly.

  See https://wiki.jenkins.io/display/JENKINS/Launching+agent+from+console  
   
  <===[JENKINS REMOTING 
CAPACITY]===>rO0ABXNyABpodWRzb24ucmVtb3RpbmcuQ2FwYWJpbGl0eQABAgABSgAEbWFza3hwAf4=<===[HUDSO
  N TRANSMISSION BEGINS]===>
   

It also produces an empty 'remoting.log.0'.

There are no hs_err_pid files in folder /home/raddatz/jenkis and any deeper 
folder.

I am going to check the troubleshooting page , now.

Thank you for your quick reply.

Thoma.s

Am Sonntag, 16. Juni 2019 20:18:27 UTC+2 schrieb Ivan Fernandez Calvo:
>
> Which JDK do you use on the Jenkins master? 
> Did you try to execute the following command manually on the agent? 
> cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java 
> -Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir 
> /home/raddatz/jenkins/work -text
>
> check the directory /home/raddatz/jenkins and /home/raddatz/jenkins/work 
> for log files or hs_err_pid files
>
> Finally check the troubleshooting guide 
> https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/doc/TROUBLESHOOTING.md#troubleshooting
>
>

-- 
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/22674b9a-441b-49a2-9e52-37078cf1fbc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cannot start slave on IBM i due to java.io.EOFException

2019-06-16 Thread Thomas R
Hi all,

I am new to Jenkins and I am lost. The problem is that I cannot start a 
Jenkins slave on an IBM i (former: AS/400, iSeries, etc.) due to 
a java.io.EOFException.

The log file and the console output does not contain anything meaningful to 
me.

Jenkins version: 2.164.3 (same problem with 2.176.1)

Jenkins log when starting the slave node:

SSHLauncher{host='obfuscated.host.com', port=22, credentialsId=
'beb60c8b-21d2-4f36-8f17-b594fb421d96', jvmOptions=
'-Dfile.encoding=ISO8859_1', javaPath='/QIBM/ProdData/Java400/bin/java', 
prefixStartSlaveCmd='', suffixStartSlaveCmd=' -text', launchTimeoutSeconds=
210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=
hudson.plugins.sshslaves.verifiers.ManuallyTrustedKeyVerificationStrategy, 
tcpNoDelay=true, trackCredentials=true}
[06/16/19 10:14:13] [SSH] Opening SSH connection to obfuscated.host.com:22.
[06/16/19 10:14:15] [SSH] SSH host key matches key seen previously for this 
host. Connection will be allowed.
[06/16/19 10:14:15] [SSH] Authentication successful.
[06/16/19 10:14:16] [SSH] The remote user's environment is:
HOME=/home/raddatz
IFS= 


LOGIN=raddatz
LOGNAME=raddatz
MAIL=/var/spool/mail/raddatz
MAILCHECK=600
OPTIND=1
PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
SHELL=/QOpenSys/usr/bin/bsh
SSH_CLIENT=10.214.1.158 59593 22
SSH_CONNECTION=10.214.1.158 59593 10.200.36.33 22
TZ=-1,M3.5.0,M10.5.0/03:00:00
USER=raddatz
[06/16/19 10:14:17] [SSH] Starting sftp client.
[06/16/19 10:14:18] [SSH] Copying latest remoting.jar...
Source agent hash is D2D1A740134BD20D6F0855B356344342. Installed agent hash 
is D2D1A740134BD20D6F0855B356344342
Verified agent jar. No update is necessary.
Expanded the channel window size to 4MB
[06/16/19 10:14:40] [SSH] Starting agent process: cd 
"/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java 
-Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir 
/home/raddatz/jenkins/work -text
Slave JVM has terminated. Exit code=1
[06/16/19 10:15:12] Launch failed - cleaning up connection
[06/16/19 10:15:13] [SSH] Connection closed.


Job log 1 on IBM i:

File  . . . . . :   QPRINT  
 Page/Line   1/6
Control . . . . .  
  Columns 1 - 130
Find  . . . . . .
*...+1+2+3+4+5+6+7+8+9+0+1+2+3
Running in text mode
Both error and output logs will be printed to 
/home/raddatz/jenkins/work/remoting
WARNING: Are you running agent from an interactive console?
If so, you are probably using it incorrectly.
See https://wiki.jenkins.io/display/JENKINS/Launching+agent+from+console
<===[JENKINS REMOTING 
CAPACITY]===>rO0ABXNyABpodWRzb24ucmVtb3RpbmcuQ2FwYWJpbGl0eQABAgABSgAEbWFza3hwAf4=<===[HUDSON
RANSMISSION BEGINS]===>


Job log 2 on IBM i:

File  . . . . . :   QPRINT  
 Page/Line   1/6
Control . . . . .  
  Columns 1 - 130
Find  . . . . . .
*...+1+2+3+4+5+6+7+8+9+0+1+2+3
Jun 16, 2019 10:14:50 AM org.jenkinsci.remoting.engine.WorkDirManager 
initializeWorkDir
INFO: Using /home/raddatz/jenkins/work/remoting as a remoting work directory
Exception in thread "main" java.io.EOFException: unexpected stream 
termination
 at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:415)
 at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:360)
 at hudson.remoting.Launcher.main(Launcher.java:743)
 at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:691)
 at hudson.remoting.Launcher.run(Launcher.java:373)
 at hudson.remoting.Launcher.main(Launcher.java:283)


Java version on IBM i:

java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 8.0.5.30 - 
pap3280sr5fp30-20190207_01(SR5 FP30))
IBM J9 VM (build 2.9, JRE 1.8.0 OS/400 ppc-32-Bit 20190124_408237 (JIT 
enabled, AOT enabled)
OpenJ9   - 9c77d86
OMR  - dad8ba7
IBM  - e2996d1)
JCL - 20190207_01 based on Oracle jdk8u201-b09


Any comments, thoughts or ideas would be greatly appreciated.

Thanks,

Thomas.

-- 
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/61e284fe-16a3-4568-92ae-2ffd91d1eaef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins git plugin using only Java 7.1

2019-04-22 Thread R. Tyler Croy
(replies inline)

On Mon, 22 Apr 2019, Rich Stephens wrote:

> I have a machine that it limited to no higher than Java 7.1. (It's an AIX 6.1
> machine)  I am running Jenkins 1.6.4.9 for this reason.
> 
> I can get Jenkins running fine, but when I try to install the git plugin, it
> installs dependencies that require Java 1.8.
> 
> I cannot find any information on specifically which plugin dependencies are
> requiring Java 1.8 or not.
> 
> IS there a version of the git (and, by dependency, git-client) plugin that 
> will
> work with Java 1.7?
> 
> If so, How can I get ahold of it and ONLY those versions of the dependencies
> that are java 1.7 compatible?


Sounds like you may be running a rather old Jenkins master. Jenkins has
entirely moved to JDK8 as of about two years ago:
https://jenkins.io/blog/2017/04/10/jenkins-has-upgraded-to-java-8/

Trying to dig up older trees of dependency graphs would be a manual process
unfortunately.

--
GitHub:  https://github.com/rtyler

GPG Key ID: 0F2298A980EE31ACCA0A7825E5C92681BEF6CEA2

-- 
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/20190422200306.4lt6qrcvfkcieir5%40grape.
For more options, visit https://groups.google.com/d/optout.


Re: Anyone using Jenkins as a job scheduler?

2019-03-12 Thread R. Tyler Croy
(replies inline)

On Tue, 12 Mar 2019, Badarch Nergui wrote:

> For that and some other reasons I've been thinking about centralizing the
> scheduling of all of our jobs.
> 
> Jenkins isn't really intended for this, but it could work.
> 
> 
> Enterprise grade job scheduling software is REALLY expensive, but also kind of
> overkill.


This is one of those areas where technically Jenkins can do it, and you might
be able to hack something into place, but it's not its core competency.

I have been looking to move some workloads, especially those around the Hadoop
ecosystem, to Apache Airflow (https://airflow.apache.org/) which I believe is a
bit better suited for general purpose job and dependent task scheduling.


Cheers

--
GitHub:  https://github.com/rtyler

GPG Key ID: 0F2298A980EE31ACCA0A7825E5C92681BEF6CEA2

-- 
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/gWtSoav6Ub8nFZvI-VYQ-yd-di-aTZLjUO-mTkv8cnAUq0pdn0J3O0PjZsT2rQri8osSB58tS_93g5DQjgfLbNBGYP1yCHKRPqWIQdw0eXA%3D%40brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: Unclear how safe workflow-support 3.0 is for upgrades

2019-01-05 Thread R. Tyler Croy
(replies inline)

On Fri, 04 Jan 2019, Devin Nusbaum wrote:

> Good question!
> 
> > ??? I believe this means that only runtime
> > persistence for running Pipelines has changed, and none of the previously
> > existing on-disk state for Pipeline Runs will change. Would that be correct?
> 
> Yes, the format of build data for completed Pipelines is unchanged, so 
> you???ll
> still be able to access old Pipelines inside of Jenkins after the upgrade.


Thanks for the clarifications Devin


> To get into the details a bit, the file whose format has changed is 
> `program.dat`,
> which stores the Pipeline program and is used to maintain control flow across
> restarts. If you don???t stop a Pipeline during the restart, then after 
> restarting, 
> Jenkins won???t be able to deserialize `program.dat` back into the original
> Pipeline program, so the build will fail. Once a Pipeline completes,
> `program.dat` is deleted, hence the recommendation to wait for running
> Pipelines to complete or to stop them manually if having running Pipelines 
> fail
> after the restart would be a problem for your Jenkins installation.
> 
> Hopefully that answers your question, but please let me know if there is 
> anything else I can clarify in regards to the upgrade. Any suggestions to 
> improve the changelog warning are also welcome.
> 
> Thanks,
> Devin
> 
> > On Jan 4, 2019, at 14:59, R. Tyler Croy  wrote:
> > 
> > While considering upgrades for ci.jenkins.io, I see that workflow-support is
> > now the first Pipeline-related plugin to arrive at 3.0 
> > (https://plugins.jenkins.io/workflow-support).
> > Hooray! Thanks for the work dnusbaum :)
> > 
> > From the changelog:
> > 
> >This update involves incompatible changes to the serialized format of
> >Pipeline builds. Any Pipelines that are running when Jenkins is restarted
> >to apply this upgrade will fail after the restart. Pipelines will be able
> >to resume normally after subsequent restarts.
> > 
> >To avoid this one-time issue, please stop all running Pipelines or allow
> >them to complete before restarting Jenkins when applying this update.
> > 
> > 
> > Since there's a marshalling change going on, I wanted to double check my
> > understanding of this change.  I believe this means that only runtime
> > persistence for running Pipelines has changed, and none of the previously
> > existing on-disk state for Pipeline Runs will change. Would that be correct?
> > 
> > 
> > I'm personally a bit weary of seralization changes, which have bitten me in 
> > the
> > past, but if this is just about runtime data and no longer term persisted
> > information, then I'll happily upgrade post haste! :)
> > 
> > 
> > 
> > Cheers
> > --
> > GitHub:  https://github.com/rtyler
> > 
> > GPG Key ID: 0F2298A980EE31ACCA0A7825E5C92681BEF6CEA2
> > 
> > -- 
> > 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/20190104195952.pucqh6wo27xxb7d2%40grape.brokenco.de.
> > 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/443A7E08-C58E-4B34-A030-23D6620F42F8%40cloudbees.com.
> For more options, visit https://groups.google.com/d/optout.
--
GitHub:  https://github.com/rtyler

GPG Key ID: 0F2298A980EE31ACCA0A7825E5C92681BEF6CEA2

-- 
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/20190105152441.6ayv45nubuoicd6n%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Unclear how safe workflow-support 3.0 is for upgrades

2019-01-04 Thread R. Tyler Croy
While considering upgrades for ci.jenkins.io, I see that workflow-support is
now the first Pipeline-related plugin to arrive at 3.0 
(https://plugins.jenkins.io/workflow-support).
Hooray! Thanks for the work dnusbaum :)

>From the changelog:

This update involves incompatible changes to the serialized format of
Pipeline builds. Any Pipelines that are running when Jenkins is restarted
to apply this upgrade will fail after the restart. Pipelines will be able
to resume normally after subsequent restarts.

To avoid this one-time issue, please stop all running Pipelines or allow
them to complete before restarting Jenkins when applying this update.


Since there's a marshalling change going on, I wanted to double check my
understanding of this change.  I believe this means that only runtime
persistence for running Pipelines has changed, and none of the previously
existing on-disk state for Pipeline Runs will change. Would that be correct?


I'm personally a bit weary of seralization changes, which have bitten me in the
past, but if this is just about runtime data and no longer term persisted
information, then I'll happily upgrade post haste! :)



Cheers
--
GitHub:  https://github.com/rtyler

GPG Key ID: 0F2298A980EE31ACCA0A7825E5C92681BEF6CEA2

-- 
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/20190104195952.pucqh6wo27xxb7d2%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Jenkins Setup Wizard Fail with 'An error occurred during installation: No such plugin: cloudbees-folder'

2018-10-24 Thread Lingeswaran R
Please check for NTP (chrony). If the system runs with incorrect time could 
trigger this error. 

Thank you
Lingesh

On Saturday, May 5, 2018 at 10:30:48 AM UTC+5:30, masaru tsuchiyama wrote:
>
> Hi,
>
> Jenkins Setup Wizard failed with
>  'An error occurred during installation: No such plugin: cloudbees-folder' 
> for Jeknkins 2.119 on Fedora 28.
>
> I tried to install and setup Jenkins in the following procedures.
> --
> sudo wget -O /etc/yum.repos.d/jenkins.repo 
> https://pkg.jenkins.io/redhat/jenkins.repo
> sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
> sudo dnf install -y jenkins
> sudo chkconfig jenkins on
> sudo /etc/init.d/jenkins start
> sudo firewall-cmd --permanent --add-port=8080/tcp
> sudo firewall-cmd --reload
>
> access http://locallhost:8080
> paste the result of 'sudo cat 
> /var/lib/jenkins/secrets/initialAdminPassword' to the browser.
>
> select 'Install Suggested Plugins'.
>
> I got the following error.
> An error occurred 
> An error occurred during installation: No such plugin: cloudbees-folder 
>
>
>

-- 
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/adfa8da7-4d8b-40b2-bf46-5bb44665cd20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Update all plugins automatically

2018-10-19 Thread R. Tyler Croy
(replies inline)

On Thu, 18 Oct 2018, gotviser...@gmail.com wrote:

> My Jenkins is not a docker setup.  Can I still use this?  I found a plugin 
> and installed it.  But getting this error

The Evergreen plugin is not useful when installed in a non-Jenkins Evergreen
instance. That plugin only exists to support the system bundled in those
Jenkins Evergreen containers.


--
GitHub:  https://github.com/rtyler
Twitter: https://twitter.com/agentdero

-- 
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/20181019152256.GT12208%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Installing Artifactory and Blue Ocean plugins offline

2018-10-09 Thread R. Tyler Croy
(replies inline)

On Tue, 09 Oct 2018, Robert van Gangelen wrote:

> Hi All,
> 
> I have installed Jenkins on a Redhat server succesfully.
> Now I want to install Artifactory and Blue Ocean plugins but the server is 
> not able to access the Internet.
> So I downloaded the hpi files and tried to import them. The imports fails 
> because of the dependency error.
> I was wondering if there is a other to do this. Or do I have to import a 
> the depenencies as well? 
> I downloaded one of the dependencies and during the import I got a lot of 
> other dependency errors.
> 
> Is there a way to install the hpi file without all the dependency issues?


You may find the Juseppe tool to be useful:
https://github.com/yandex-qatools/juseppe


Cheers

--
GitHub:  https://github.com/rtyler
Twitter: https://twitter.com/agentdero

-- 
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/20181009211549.GY28842%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: total list of Jenkins plugin

2018-10-01 Thread R. Tyler Croy
(replies inline)

On Mon, 01 Oct 2018, Irfan Sayed wrote:

> Hello,
> do we have any consolidated list (just total count ) of Jenkins plugins
> (irrespective of open source OR cloudbees ) available today ?
> not pointing to any specific version but just asking in general

The Update Center JSON contains a list of plugins distributed by the Jenkins
project: http://updates.jenkins.io/update-center.actual.json

We have no idea what other plugins different vendors might be distributing.

-- 
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/20181002004533.GA28842%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Jenkins global metrics

2018-09-27 Thread R. Tyler Croy
(replies inline)

On Wed, 26 Sep 2018, gotviser...@gmail.com wrote:

> I'm looking to generate a report, as a job, which will provide the global 
> metrics of my Jenkins instance.  I need details in the report like (1) How 
> many jobs ran? (2) # of failed and successful jobs and every possible 
> metrics possible in one report.  I need to send this report every week to 
> my management, so would like to know if it's possible to schedule a job to 
> run this report every Friday and send the metrics by email to my managers?  
> I found these two plugins - '*Global Build Status*' and '*Build Metrics*'.  
> But not able to use these as part of a job, download the report or email a 
> link to the report or nothing of that sort.  Please help.


I personally use Datadog and their plugin integration to get such metrics out
of our Jenkins instances. You can certainly script such metrics gathering in
Jenkins, but there's nothing ready-made out of the box.



Cheers

--
GitHub:  https://github.com/rtyler
Twitter: https://twitter.com/agentdero

-- 
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/20180927144554.GA16966%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: structs v1.7 is missing. To fix, install v1.7 or later.

2018-09-24 Thread R. Tyler Croy
(replies inline)

On Sun, 23 Sep 2018, Steve Burrus wrote:

> YES UYES Mark I am MOST WILLING to wait at least 3 - 4 days for your help
> an d I am very sorry that I seemed to be "pushy" or in any way impatient
> for a response from you.


Jumping in as mailing list moderator.

Many of the folks around here are volunteers and are under no obligation to
provide help, and any assistance people are willing to share I very much
appreciate.


I will not hestitate to bans users for antagonistic behavior, so please be
friendly and respectful of each others' time.


Cheers
-R Tyler Croy

-- 
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/20180924202624.GB12982%40grape.brokenco.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Jenkins Configuration as Code 1.0 is out!

2018-09-12 Thread R. Tyler Croy
(replies inline)

On Wed, 12 Sep 2018, Ewelina Wilkosz wrote:

> Hi all!
> 
> Version 1.0 of Jenkins Configuration as Code plugin 
> <https://github.com/jenkinsci/configuration-as-code-plugin> has just been 
> released and will be available in update center any time now!
> Thanks to all who helped us get there :)

Congratulations on all the hard work Ewelina and everybody else who
contributed!

We've been happily using Configuration as Code for Jenkins Evergreen
(https://github.com/jenkins-infra/evergreen) and I'm pleased with how well it's
been working out for us.

I look forward to a bright future with more immutable Jenkins infrastructure :)



Cheers
-R Tyler Croy

-- 
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/20180912223424.GP2292%40grape.lasagna.io.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Regarding plugin installation issue

2018-05-16 Thread R. Tyler Croy
(replies inline)

On Wed, 16 May 2018, kirti.rast...@winvest-global.com wrote:

> Hi All,
> 
> While launching jenkins through apache tomcat jenkins doesnt allow me to 
> install plugins. Now i want to install manualy but while installing i am 
> getting error through hpi. 
> Please help me out


How are you installing plugins? One (token-macro) wasn't installed correctly
and that looks like it's causing the dependency resolution problems.

-- 
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/20180516142111.GF3395%40grape.lasagna.io.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Post commit hook failed with exit code 127: --post-data not found

2018-05-16 Thread R. Tyler Croy
(replies inline)

On Tue, 15 May 2018, jack wrote:

> Hi everyone,
> 
> I'm recently working on this automation solution for my dev team using SVN 
> as version control, to run builds and tests automatically when a commit 
> occurs. 
> 
> But each time when I commit my post-commit hook script fails me :/
> 
> post-commit hook failed (exit code 127) with output:
> /url/to/our/svnServer/hooks/post-commit: 67: --post-data: not found  (which 
> is odd : the --post-data line is not at line 67 which is the last line of 
> the file)
> 
> I'm not able to find the exact same problem on the web so no solution 
> found... My script looks like this (the same script from the official doc):
> 
> 
> 
> REPOS="$1"
> REV="$2"
> 
> #path to svnlook
> UUID=`svnlook uuid $REPOS`
> 
> #notifying jenkins for repository change
> /usr/bin/wget \
>   --header `wget -q --output-document - \
> 
> 'http://my_jenkins_url/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,":",//crumb)'`
>   --post-data "`svnlook changed --revision $REV $REPOS`" \
>   --timeout=2 \
>   http://my_jenkins_url:/subversion/${UUID}/notifyCommit?rev=$REV




While this isn't a Jenkins issue at all, I'll give ya a hand :)


There's a trailing \ character which is missing after the crumbIssuer line in
the script, causing the script interpreter to try to parse the next line as if
it were a new command (`--post-data`)



-- 
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/20180516141729.GE3395%40grape.lasagna.io.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Email only after all retries fail

2018-05-05 Thread Sandeep R Kurup
hey if in case you are still facing the issue,

You can use jenkins Editable Email Notification plugin and in advanced 
settings you will have an option of failure-X where you can specify after 
how many failures you need to send the email. Old versions of jenkins may 
not be helping with this. So you can use the following PRESEND SCRIPT in 
editable email-notification


try { //used try catch because NAGINATOR_COUNT will be a undefined property 
for first build
cancel = true
if ($NAGINATOR_COUNT && $NAGINATOR_COUNT == 2) { //where after 2nd retry it 
will trigger email
 cancel = false
}
} catch (e) {
 cancel = true
}

Hope this answers

On Wednesday, August 6, 2014 at 2:14:46 AM UTC+5:30, Craig wrote:
>
> I’m trying to get Jenkins to send email to recipients only after the last 
> attempted retry of a job fails.  In other words, I don’t want them getting 
> email for all the failures; just if they **all** fail.  Is there a way to 
> do that with the email-ext plugin and naginator?
>
>  
>
> Thanks.
>
> Craig
>
>  
>

-- 
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/e004a326-bc74-4386-badf-63c26ccfb201%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Stuck build numbers

2018-04-19 Thread Ritica R
I am having a similar issue with Jenkins. I have been trying to solve it 
for days now.
I posted my issue in Stack overflow below:
https://stackoverflow.com/questions/49661191/jenkins-symlinks-permalinks-broken-after-restart

Do you have any suggestions on how to fix this?


On Monday, September 15, 2014 at 10:11:28 PM UTC-7, Marius Gedminas wrote:
>
> I've got a Jenkins job 'ivija-my360' that shows builds #1-#19 in the 
> history sidebar, builds a build #20 every time I try to build it, and 
> then forgets about it immediately. 
>
> It also says "last stable build" is #24. 
>
> $ ls -l /var/lib/jenkins/jobs/ivija-my360/ 
> total 28 
> drwxr-xr-x 26 jenkins jenkins 4096 Sep 16 07:23 builds 
> -rw-r--r--  1 jenkins jenkins 2412 Sep 15 22:38 config.xml 
> -rw-r--r--  1 jenkins jenkins 5130 Sep 16 07:23 disk-usage.xml 
> lrwxrwxrwx  1 jenkins jenkins   22 Sep 15 23:08 lastStable -> 
> builds/lastStableBuild 
> lrwxrwxrwx  1 jenkins jenkins   26 Sep 15 23:08 lastSuccessful -> 
> builds/lastSuccessfulBuild 
> -rw-r--r--  1 jenkins jenkins3 Sep 15 23:08 nextBuildNumber 
> drwxr-xr-x  4 jenkins jenkins 4096 Sep 15 19:49 outOfOrderBuilds 
> -rw-r--r--  1 jenkins jenkins  244 Sep 16 07:36 scm-polling.log 
>
> $ cat /var/lib/jenkins/jobs/ivija-my360/nextBuildNumber 
> 21 
>
> $ ls -l /var/lib/jenkins/jobs/ivija-my360/builds/ 
> total 96 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 1 -> 2013-02-22_16-31-37 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 28  2013 10 -> 2013-02-28_08-21-38 
> lrwxrwxrwx 1 jenkins jenkins   19 Mar 20  2013 11 -> 2013-03-20_07-04-11 
> lrwxrwxrwx 1 jenkins jenkins   19 Apr  9  2013 12 -> 2013-04-09_14-22-59 
> lrwxrwxrwx 1 jenkins jenkins   19 Apr  9  2013 13 -> 2013-04-09_17-14-00 
> lrwxrwxrwx 1 jenkins jenkins   19 Apr  9  2013 14 -> 2013-04-09_19-02-26 
> lrwxrwxrwx 1 jenkins jenkins   19 Apr  9  2013 15 -> 2013-04-09_20-46-00 
> lrwxrwxrwx 1 jenkins jenkins   19 Apr 16  2013 16 -> 2013-04-16_15-40-00 
> lrwxrwxrwx 1 jenkins jenkins   19 Apr 19  2013 17 -> 2013-04-19_09-24-25 
> lrwxrwxrwx 1 jenkins jenkins   19 Sep 15 19:59 19 -> 2014-09-15_19-59-26 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 2 -> 2013-02-22_16-31-55 
> lrwxrwxrwx 1 jenkins jenkins   19 Sep 15 23:08 20 -> 2014-09-15_23-08-09 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 22  2013 2013-02-22_16-31-37 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 22  2013 2013-02-22_16-31-55 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 22  2013 2013-02-22_16-32-55 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 22  2013 2013-02-22_16-33-55 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 22  2013 2013-02-22_18-56-57 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 22  2013 2013-02-22_19-30-01 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 22  2013 2013-02-22_20-22-16 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 22  2013 2013-02-22_20-56-34 
> drwxr-xr-x 2 jenkins jenkins 4096 Feb 27  2013 2013-02-22_21-04-49 
> drwxr-xr-x 2 jenkins jenkins 4096 Mar 12  2013 2013-02-28_08-21-38 
> drwxr-xr-x 2 jenkins jenkins 4096 Apr  5  2013 2013-03-20_07-04-11 
> drwxr-xr-x 2 jenkins jenkins 4096 Apr  9  2013 2013-04-09_14-22-59 
> drwxr-xr-x 3 jenkins jenkins 4096 Apr  9  2013 2013-04-09_17-14-00 
> drwxr-xr-x 3 jenkins jenkins 4096 Apr  9  2013 2013-04-09_19-02-26 
> drwxr-xr-x 3 jenkins jenkins 4096 Apr 15  2013 2013-04-09_20-46-00 
> drwxr-xr-x 3 jenkins jenkins 4096 Apr 16  2013 2013-04-16_15-40-00 
> drwxr-xr-x 3 jenkins jenkins 4096 May 29  2013 2013-04-19_09-24-25 
> drwxr-xr-x 3 jenkins jenkins 4096 Jul 15  2013 2013-06-27_06-10-43 
> drwxr-xr-x 3 jenkins jenkins 4096 Jul 16  2013 2013-07-16_13-56-38 
> drwxr-xr-x 2 jenkins jenkins 4096 Jul 16  2013 2013-07-16_15-33-53 
> drwxr-xr-x 2 jenkins jenkins 4096 Jul 16  2013 2013-07-16_17-47-12 
> drwxr-xr-x 2 jenkins jenkins 4096 Mar 16  2014 2013-07-17_15-40-49 
> drwxr-xr-x 2 jenkins jenkins 4096 Sep 16 00:02 2014-09-15_19-59-26 
> drwxr-xr-x 2 jenkins jenkins 4096 Sep 16 07:23 2014-09-15_23-08-09 
> lrwxrwxrwx 1 jenkins jenkins   19 Jul 16  2013 21 -> 2013-07-16_15-33-53 
> lrwxrwxrwx 1 jenkins jenkins   19 Jul 16  2013 22 -> 2013-07-16_17-47-12 
> lrwxrwxrwx 1 jenkins jenkins   19 Jul 17  2013 24 -> 2013-07-17_15-40-49 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 3 -> 2013-02-22_16-32-55 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 4 -> 2013-02-22_16-33-55 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 5 -> 2013-02-22_18-56-57 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 6 -> 2013-02-22_19-30-01 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 7 -> 2013-02-22_20-22-16 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 8 -> 2013-02-22_20-56-34 
> lrwxrwxrwx 1 jenkins jenkins   19 Feb 22  2013 9 -> 2013-02-22_21-04-4

Re: Jenkins refuses to queue and run identical consecutive build requests from curl

2018-04-17 Thread R. Tyler Croy
(replies inline)

On Tue, 17 Apr 2018, Martin d'Anjou wrote:

> I try to trigger multiple builds rapidly using curl, but Jenkins silently 
> refuses to launch the builds. It keeps returning the same queue item in the 
> "Location":


>From my understanding this will happen it the "same looking" item goes into the
queue and isn't dequeued rapidly enough.

So basically if the quiet period is really low, these subsequent calls might
queue redundant items once one item is actually dequeued.


Anyways, that's my understanding of this behavior.



-- 
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/20180418023342.GR1836%40grape.lasagna.io.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Heads up! Jenkins is on YouTube, with more videos coming soon!

2018-04-10 Thread R. Tyler Croy

The Jenkins project has been on YouTube for a while, but I recently
transitioned our channel to a "Brand Account", which means we can share
permissions to post videos _much_ more easily:

https://www.youtube.com/c/jenkinscicd


I am hoping that we can share access, not only for the Jenkins Online Meetups
(https://www.meetup.com/Jenkins-online-meetup/), but also for more project
meetings and group meetings (see also:
https://groups.google.com/d/msg/jenkinsci-dev/6-1mZoKp4hM/EHz5NaPRBgAJ).


Hope you all find more video content helpful!


Cheers

-- 
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/20180411020146.GB1836%40grape.lasagna.io.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Break init scripts up in to re-usable classes

2018-03-12 Thread R. Tyler Croy
(replies inline)

On Mon, 12 Mar 2018, Edd Grant wrote:

> Hi folks,
> 
> I'm using the init hook script mechanism ($JENKINS_HOME/init.groovy.d) to 
> programmatically configure Jenkins. I'm building up quite a library of code 
> and want to split it out in to re-usable classes, to keep things 
> maintainable and make it easier to write well focused tests etc. I have 
> tried the following with no luck:
> 
> 1: Trying to split classes out in to separate scripts and using Groovy's 
> 'evaluate' function to load the classes from each script (basically trying 
> to re-implement some sort of importing behaviour). This doesn't work at all 
> due to the way Groovy manipulates scripts.
> 
> 2: Putting my classes in a jar file and adding this to WEB-INF/lib in the 
> Jenkins war. This approach leads to classloader errors, presumably because 
> the jar classloader that my code belongs to doesn't have access to Jenkins' 
> PluginManager 'uberClassLoader'?  
> 
> 3: Same as [2] but adding the jar to the JVM's classpath rather than adding 
> it to the jar. Same result as [2].
> 
> Has anyone tried doing anything similar to this before? I'm really keen to 
> be able to do things like organise my code in packages and keep it in small 
> maintainable units. Grateful for any suggestions.

I have nothing to suggest that will help you refactor those Groovy scripts. As
one who has wielded plenty of init.groovy.d scripts in my day, I can tell you
I'm going to refactor mine by just deleting them in favor of:

https://github.com/jenkinsci/configuration-as-code-plugin#jenkins-configuration-as-code-plugin


I doubt that helps though :)

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20180313021342.kwkigbcbjiws4kzb%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Logs inside BlueOcean do not get updated automatically

2018-03-05 Thread R. Tyler Croy
(replies inline)

On Mon, 05 Mar 2018, Vivek Pandey wrote:

> Hi Christian,
> 
> This looks like regression. I have opened
> https://issues.jenkins-ci.org/browse/JENKINS-49929, we are going to take a
> look at it. Thanks for reporting.



Christian, are you using Firefox perhaps? I've noticed that "Karoake mode"
seems to stop when I switch away from Blue Ocean tabs for too long of time 
while a a Pipeline is running.

Josh speculated in Gitter that this might be somehow related to recent Firefox
features which "quiet" the background tabs.



> 
> On Mon, Mar 5, 2018 at 6:08 AM Christian Ciach <derein...@gmail.com> wrote:
> 
> > Hello,
> >
> > I wish I could describe this issue better, but I have no idea how to debug
> > this.
> >
> > I am using the current version of Jenkins (2.106) with BlueOcean (1.4.2)
> > on CentOS.
> >
> > Usually, I would expect the logs inside BlueOcean to automatically update
> > themself when my build logs new stuff, but this is not the case. I think
> > the developers call this the "karaoke mode".
> >
> > Watching the live log works nicely using the classic view at the URL
> > "/job/JOBNAME/JOBNUMBER/console". But with BlueOcean, I have to refresh the
> > whole page to see the updated log.
> >
> > How can I even begin to debug this?
> >
> > Best regards,
> > Christian Ciach
> >
> > --
> > 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/0120b425-2c72-4abd-8af5-89a9fdacdb96%40googlegroups.com
> > <https://groups.google.com/d/msgid/jenkinsci-users/0120b425-2c72-4abd-8af5-89a9fdacdb96%40googlegroups.com?utm_medium=email_source=footer>
> > .
> > For more options, visit https://groups.google.com/d/optout.
> >
> -- 
> Sent from my iPhone
> 
> -- 
> 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/CAKT4V18LBW8%2Bfq_mWmn_UBym87TdfnO_e_8PXpkvbArk%3DfYm8A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20180305201157.53o43x3zg3vrtic2%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


(fwd) Re: Request for participation: Jenkins Security Officer candidates

2018-02-17 Thread R. Tyler Croy

I was reminded today that I completely forgot to send out an update on this! My
apologies, time flies when you're having fun I suppose.

I would like to thank the candidates who spoke up and offered their time to act
in the capacity as the Jenkins Security Officer. The board has selected Daniel
Beck to continue on as the Jenkins project's Security Officer.

Since the failure was on the communication part, not the decision making part,
I have updated the wiki to reflect that Daniel's term actually started in
December. See 
<https://wiki.jenkins-ci.org/display/JENKINS/Governance+Board#Officers>

For more information about Jenkins CERT or our responsible disclosure policies,
please see: https://jenkins.io/security/



Thanks Daniel for your continued work to make Jenkins more secure \o/




On Fri, 08 Dec 2017, R. Tyler Croy wrote:

> Time flies when you're having fun, and or, releasing a whole bunch of security
> advisories and patches :)
>
> I should thank Daniel Beck for leading CERT over the past couple years in his
> tenure as the Jenkins Security Officer. Jenkins is more secure than effort
> thanks to his, and others', diligent efforts.
>
> In accordance with our previously agreed upon team lead proposal
> (https://wiki.jenkins-ci.org/display/JENKINS/Proposal+-+Project+sub-teams)
> I am now asking, again, on behalf of the Jenkins board[1] for candidates who
> are willing to act as the Jenkins Security Officer.
>
> The responsibilities of the Jenkins Security Officer would be to lead Jenkins
> Security (CERT) team, and:
>
> * Run the Jenkins CERT meeting
> * Manage sending gifts to qualifying reporters of resolved security issues [2]
> * Coordinate work on, and releases, of security fixes with plugin authors,
>   Kohsuke and the LTS team lead
> * Publish Security Advisories (including CVE IDs and CVSS) and notify the 
> mailing
>   list
> * Drive security policy definition/changes in the community
> * Represent the Jenkins project on security topics with third parties
>
>
> The expected term of the Security Officer would be 12 months.
>
>
>
> Contributors interested in being considered for the Jenkins Security Officer
> position should email the board: jenkinsci-bo...@googlegroups.com in the *next
> seven days* explaining their qualifications for the position.
>
> In seven days the board will select a candidate to appoint to the position who
> will be able to act on behalf of the Governance Board on matters pertaining to
> the position described above
>
>
> Thanks!
>
>
> [0] https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CERT+team
> [1] The current board: 
> <https://wiki.jenkins-ci.org/display/JENKINS/Governance+Board>
> [2] 
> https://wiki.jenkins-ci.org/display/JENKINS/Rewards+for+reporting+security+issues
>
> - R. Tyler Croy
>
> --
>  Code: <https://github.com/rtyler>
>   Chatter: <https://twitter.com/agentdero>
>
>   % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
> --
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/20171208194139.omtoenz67zlttauo%40blackberry.coupleofllamas.com.
> For more options, visit https://groups.google.com/d/optout.



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20180217200547.ncmtpgwwi6lajubd%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Sudden increase in build times of Maven-style job

2018-01-13 Thread R
Hi  All,
Facing same issue, did any of you were able to identify root cause or any 
other workaround.

Also, as per analysis of our maven job logs, we could see ,* Step "Writing 
OBR metadata" under "**maven-bundle-plugin:install **(default-install) "* 
per module time has been increased. Though unable to identify root cause or 
resolution to bring it back to normal state.

If any of you have any idea regarding this, please let me know.

Thank You.

On Monday, June 8, 2015 at 7:22:32 PM UTC+5:30, Somya wrote:
>
> Hi,
>
>  
>
> I have a Maven build job setup in Jenkins, with following notable configs :
>
>  
>
> · It is a multi-module job with 75 modules
>
> · It is built incrementally (build only changed modules)
>
> · Automatic artifact archiving is disabled
>
> · “Resolve Dependencies during Pom parsing” and “Process Plugins 
> during Pom parsing” are disabled.
>
>  
>
> The build time is approx *20 mins*. However, from some time the build 
> time has* drastically increased to 1 hr 15 mins*. The current build 
> number is about *1450 *and I am preserving only *3 old builds*. My 
> question is why there is such high increment in build times suddenly? 
>
>  
>
> The things I have tried and observed so far :
>
>  
>
> · The timestamping of build output shows that major time is being 
> spent in "*Parsing POMs*" (approx 30 mins) and "*Metadata collection*" 
> step (approx 20 mins).
>
> · A full build, instead of an incremental build, also takes about 
> 1 hr 20 mins.
>
> · I cleaned up all the existing fingerprints data and tried 
> rebuilding the project. This had no impact on the build time.
>
> · I also tried building the job on a dedicated slave, in case the 
> problem was due to resource availability. This had no impact on build times.
>
>  
>
> The only thing that worked was renaming the job itself. After renaming 
> build are completing again in approx 20 mins. But I am not sure if this is 
> an ideal solution. Also I don't understand the reason behind this approach 
> of renaming the job. Does anyone have an idea as to why the build times 
> increased and how to fix this ? 
>
>
> I am using *Jenkins v1.560* and *maven project plugin v2.0.* Upgrading 
> Maven plugin or Jenkins is not an option for me now.
>
>  
>
> Thanks,
>
> Somya
>

-- 
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/4f6193b7-f5a5-4f7b-be18-1d51ca48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: github quota limit when scanning with the addition of tags

2018-01-07 Thread R. Tyler Croy
Sender: jenkinsci-users@googlegroups.com
On-Behalf-Of: ty...@monkeypox.org
Subject: Re: github quota limit when scanning with the addition of tags
Message-Id: <20180106042952.4wlg7enl4dbnn...@blackberry.coupleofllamas.com>
Recipient: andrew.h...@nab.com.au

The information contained in this email and its attachments may be confidential.
If you have received this email in error, please notify the sender by return 
email,
delete this email and destroy any copy.

Any advice contained in this email has been prepared without taking into
account your objectives, financial situation or needs. Before acting on any
advice in this email, National Australia Bank Limited (NAB) recommends that
you consider whether it is appropriate for your circumstances.
If this email contains reference to any financial products, NAB recommends
you consider the Product Disclosure Statement (PDS) or other disclosure
document available from NAB, before making any decisions regarding any
products.

If this email contains any promotional content that you do not wish to receive,
please reply to the original sender and write "Don't email promotional
material" in the subject.

-- 
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/9633fa14-c91f-4969-b6ab-de03e20cebac%40journal.report.generator.
For more options, visit https://groups.google.com/d/optout.
--- Begin Message ---
(replies inline)

On Fri, 05 Jan 2018, Alicia Doblas wrote:

> Hi,
> 
> a couple of months ago we had the same problem. After improving the 
> discover filter of the branch/tag/PR calls, there weren't too much to 
> do...so we decided to "by-pass" the api of github by using different users. 
> Looks like the api limit applies to a single user, so the "solution" for us 
> was to split our jobs into different groups, each of them using a different 
> user for the api call. 
> 
> By changing this configuration we can manage 5000 req/hour x N groups.

This is very very much against the GitHub.com terms of service, which states
that one legal entity can have one free machine account.

https://help.github.com/articles/github-terms-of-service/#b-account-terms



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20180106042952.4wlg7enl4dbnnw5i%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature
--- End Message ---


Re: github quota limit when scanning with the addition of tags

2018-01-05 Thread R. Tyler Croy
(replies inline)

On Fri, 05 Jan 2018, Alicia Doblas wrote:

> Hi,
> 
> a couple of months ago we had the same problem. After improving the 
> discover filter of the branch/tag/PR calls, there weren't too much to 
> do...so we decided to "by-pass" the api of github by using different users. 
> Looks like the api limit applies to a single user, so the "solution" for us 
> was to split our jobs into different groups, each of them using a different 
> user for the api call. 
> 
> By changing this configuration we can manage 5000 req/hour x N groups.

This is very very much against the GitHub.com terms of service, which states
that one legal entity can have one free machine account.

https://help.github.com/articles/github-terms-of-service/#b-account-terms



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20180106042952.4wlg7enl4dbnnw5i%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Request for participation: Jenkins Security Officer candidates

2017-12-08 Thread R. Tyler Croy
Time flies when you're having fun, and or, releasing a whole bunch of security
advisories and patches :)

I should thank Daniel Beck for leading CERT over the past couple years in his
tenure as the Jenkins Security Officer. Jenkins is more secure than effort
thanks to his, and others', diligent efforts.

In accordance with our previously agreed upon team lead proposal
(https://wiki.jenkins-ci.org/display/JENKINS/Proposal+-+Project+sub-teams)
I am now asking, again, on behalf of the Jenkins board[1] for candidates who
are willing to act as the Jenkins Security Officer.

The responsibilities of the Jenkins Security Officer would be to lead Jenkins
Security (CERT) team, and:

* Run the Jenkins CERT meeting
* Manage sending gifts to qualifying reporters of resolved security issues [2]
* Coordinate work on, and releases, of security fixes with plugin authors,
  Kohsuke and the LTS team lead
* Publish Security Advisories (including CVE IDs and CVSS) and notify the 
mailing
  list
* Drive security policy definition/changes in the community
* Represent the Jenkins project on security topics with third parties


The expected term of the Security Officer would be 12 months.



Contributors interested in being considered for the Jenkins Security Officer
position should email the board: jenkinsci-bo...@googlegroups.com in the *next
seven days* explaining their qualifications for the position.

In seven days the board will select a candidate to appoint to the position who
will be able to act on behalf of the Governance Board on matters pertaining to
the position described above


Thanks!


[0] https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CERT+team
[1] The current board: 
<https://wiki.jenkins-ci.org/display/JENKINS/Governance+Board>
[2] 
https://wiki.jenkins-ci.org/display/JENKINS/Rewards+for+reporting+security+issues

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20171208194829.o4so5ercvgzel6tf%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: LTS support timelines

2017-10-04 Thread R. Tyler Croy
(replies inline)

On Wed, 04 Oct 2017, lv via Jenkins Users wrote:

> Hi All,
> 
> I'm one of the people maintaining the public Jenkins installation of the 
> Apache Impala (Incubating) project, and since it is facing the public 
> internet we're particularly interested in keeping our installation secure. 
> We are currently running LTS 2.46.3 and I'm trying to figure out whether 
> such old LTS releases are still supported, and for how long.
> 
> I looked at the page describing the LTS Release Line and from there it is 
> not clear to me whether only the latest release line (currently 2.73.X) 
> will receive security fixes, or whether older lines receive those, too. If 
> they do, what is the latest LTS line that will receive security update 
> and/or that is considered when looking at the impact of newly found 
> security issues?


Older LTS releases are in no way supported by the Jenkins project and do not
receive backports of any kind.

I strongly recommend to always follow the latest LTS versions. ci.jenkins.io
(which I maintain) runs 2.73.1 for example, and when we roll new releases, I
make sure to upgrade :)



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20171004183122.dz54bodh3dqvsdqp%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Why do some pipelines not let me view Workspace?

2017-09-29 Thread R. Tyler Croy
(replies inline)

On Fri, 29 Sep 2017, dandeliondodgeball wrote:

> Pipeline 1 just runs a script, and has the "Workspace" icon.
> 
> Pipeline 2 runs a Jenkinsfile and doesn't have the "Workspace" icon. 
> 
> What I mean by "Workspace" icon.
> 
> <https://lh3.googleusercontent.com/-kYDTubS--cU/Wc6OBN2qUXI/ADY/VGfdrSZYrXMtWsBTL3nV4t3NtCr8aT73gCLcBGAs/s1600/CaptureWS.PNG>


Without seeing the actual Jenkinsfile it would be hard to answer your question.


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170929195051.tw6ne2m3rhvg22dq%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Debian version of docker image jenkins/jenkins:lts

2017-09-13 Thread R. Tyler Croy
(replies inline)

On Wed, 13 Sep 2017, Jacob Larsen wrote:

> What happened to the debian version of the official docker image named
> jenkins/jenkins:lts? When I pull that image right now, I get an image built
> on alpine. Was there an official decision to switch I could not find any
> mention of, or was it overwritten by mistake?


There is definitely a bug in our publishing scripts for our Docker images.
Currently tracked here: https://github.com/jenkinsci/docker/issues/570

Haven't yet figured out WTF is going on :/


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170913214638.z446dglwrjhbhclt%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Jenkins crashes with "Illegal character 0x0 for HttpChannelOverHttp" - Why?

2017-08-24 Thread R. Tyler Croy
(replies inline)

On Fri, 10 Feb 2017, daniel.seeba...@gmail.com wrote:

> Hi,
> 
> - Ubuntu 16.04.1
> - Jenkins 2.32.2
> 
> Since a few days I see crashes on Jenkins: (/var/log/jenkins/jenkins.log*)*
> 
> Feb 10, 2017 12:15:09 AM hudson.security.csrf.CrumbFilter doFilter
> WARNING: No valid crumb was included in request for /azenv.php. Returning 
> 403.


For what it's worth, I have been seeing this a bit lately as well. As far as I
can tell (https://bugs.eclipse.org/bugs/show_bug.cgi?id=471081) it's due to
something attempting to speak HTTPs to an HTTP only service.




> 
> Feb 10, 2017 2:06:33 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: Illegal character 0x1 in state=START for buffer 
> HeapByteBuffer@6de2eef2[p=1,l=256,c=16384,r=255]={\x01<<<\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01...\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01>>>.com/\r\nContent-Ty...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
> Feb 10, 2017 2:06:33 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: badMessage: 400 Illegal character 0x1 for 
> HttpChannelOverHttp@10d1bddb{r=0,c=false,a=IDLE,uri=}
> 
> Feb 10, 2017 4:35:15 AM hudson.security.csrf.CrumbFilter doFilter
> WARNING: No valid crumb was included in request for /azenv.php. Returning 
> 403.
> 
> Feb 10, 2017 5:30:24 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: Illegal character 0x0 in state=START for buffer 
> HeapByteBuffer@5e57ec7c[p=1,l=1,c=16384,r=0]={\x00<<<>>>ET /login 
> HTTP/1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
> Feb 10, 2017 5:30:24 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: badMessage: 400 Illegal character 0x0 for 
> HttpChannelOverHttp@1910d1bc{r=0,c=false,a=IDLE,uri=}
> Feb 10, 2017 5:30:25 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: Illegal character 0x4 in state=START for buffer 
> HeapByteBuffer@53c389d4[p=1,l=10,c=16384,r=9]={\x04<<<\x01\x00P\xC0c\xF660\x00>>>/m.sogou.com/?ran...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
> Feb 10, 2017 5:30:25 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: badMessage: 400 Illegal character 0x4 for 
> HttpChannelOverHttp@3e824b3e{r=0,c=false,a=IDLE,uri=}
> Feb 10, 2017 5:30:25 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: Illegal character 0x4 in state=START for buffer 
> HeapByteBuffer@64380bcf[p=1,l=10,c=16384,r=9]={\x04<<<\x01\x00P\xC0c\xF660\x00>>>
>  
> HTTP/1.1\r\nUser-A...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
> Feb 10, 2017 5:30:25 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: badMessage: 400 Illegal character 0x4 for 
> HttpChannelOverHttp@605ff7ac{r=0,c=false,a=IDLE,uri=}
> Feb 10, 2017 5:30:25 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: Illegal character 0x5 in state=START for buffer 
> HeapByteBuffer@53c389d4[p=1,l=3,c=16384,r=2]={\x05<<<\x01\x00>>>P\xC0c\xF660\x00/m.sogou.c...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
> Feb 10, 2017 5:30:25 AM org.eclipse.jetty.util.log.JavaUtilLog warn
> WARNING: badMessage: 400 Illegal character 0x5 for 
> HttpChannelOverHttp@59989f5a{r=0,c=false,a=IDLE,uri=}
> 
> 
> Anyone can help or have ideas how to solve this? 
> 
> -- 
> 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/9aacc222-8133-4ca6-bb75-254ba142%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170824061209.u3c5dolrgcytuoff%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: How to restrict access to some shared libraries methods

2017-08-16 Thread R. Tyler Croy
(replies inline)

On Wed, 16 Aug 2017, Cristiano Kliemann wrote:

> Hi,
> 
> We are developing pipeline shared libraries to organize common tasks. Some 
> of the functionality involves deploying files to our binary repository. 
> We've decided to create small classes and methods to keep things simple and 
> maintainable. But we have some concerns about what the developer should 
> have access. Take the example below:


On what basis are you intending to restrict the access? You can simply add
Pipeline Shared Libraries at a Folder level, and only add the referenced Shared
Library to a folder with "trusted" Pipelines.

Or the deploy() method could maybe look at `env.JOB_NAME` to select from an
inclusion list of Pipelines which execute the rest of the method body?

Otherwise, I'm not sure how you might wish to restrict the usage.


Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170816143854.xmzlca6xwlrpb5x5%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Parameterized build driven by Jenkinsfile

2017-08-09 Thread R. Tyler Croy
(replies inline)

On Wed, 02 Aug 2017, Craig Barr wrote:

> In Jenkins you can select "This project is parameterized" and add 
> parameters. My question is simple:
> Can this parameter metadata be populated by an alternative 
> version-controlled source?
> 
> For example, can I define parameter definitions in my Jenkinsfile so that 
> when I click Build Now it will populate the parameters from this source?
> If this is not possible, are they any other suggestions for addressing such 
> a requirement?


My pal Liam created a screencast on this topic recently:
https://www.youtube.com/watch?v=5_tvlaIeQUQ=youtu.be

See also: https://jenkins.io/doc/book/pipeline/jenkinsfile/#parameters


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170809212559.4qi4ut3sxo5gbnfz%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Jenkinsfile pipeline for go builds... need an example.

2017-08-04 Thread Chris R
Might be late to this question, but for anyone else whose searches came 
here - I managed to get it to work like this:

 
withEnv(['GOPATH=' + pwd()]){
dir ('src/github.com/username') {
// insert git checkout here
sh 'go build -o $GOPATH/my-bin-file'
}
}


-- 
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/b0869c7c-21aa-4781-abbc-ec7bc5831f0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: finding git repo url

2017-07-01 Thread R Srinivasan
thanks a bunch. will try all suggestions.

On Sat, Jul 1, 2017 at 9:39 AM, Daniel Butler <danielsimonbut...@gmail.com>
wrote:

> In a multibranch project you simply do:
> checkout scm
>
> And that clones/checks out the current branch.
>
>
>
> Cheers,
>
> Daniel Butler
>
>
>
> *From: *R Srinivasan <s...@srin.me>
> *Sent: *01 July 2017 12:45
> *To: *Jenkins Users <jenkinsci-users@googlegroups.com>
> *Subject: *finding git repo url
>
>
>
> For Multibranch pipeline jobs,
>
>
>
> how do I clone the git Repo? I can find what the branch is but not the git
> url! Environment variable GIT_URL does not appear to be populated.
>
>
>
> Can someone please suggest a way?
>
>
>
> thanks, srini
>
> --
> 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/5cea8c76-d2f2-4fe8-8f35-5307ab298604%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/5cea8c76-d2f2-4fe8-8f35-5307ab298604%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/zhvWR3GT7rk/unsubscribe.
> To unsubscribe from this group and all its topics, 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/5957a618.c288df0a.f9b2b.28e7%40mx.google.com
> <https://groups.google.com/d/msgid/jenkinsci-users/5957a618.c288df0a.f9b2b.28e7%40mx.google.com?utm_medium=email_source=footer>
> .
>
> 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/CAGNn0haNpWtgSi1LX%2BycZXNm5oPHA8zhYup7UeCpgnH46c5gdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


finding git repo url

2017-07-01 Thread R Srinivasan
For Multibranch pipeline jobs,

how do I clone the git Repo? I can find what the branch is but not the git 
url! Environment variable GIT_URL does not appear to be populated.

Can someone please suggest a way?

thanks, srini

-- 
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/5cea8c76-d2f2-4fe8-8f35-5307ab298604%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Favorite plugin

2017-06-09 Thread R. Tyler Croy
(replies inline)

On Thu, 08 Jun 2017, Christopher Orr wrote:

> Hi there,
> 
> On Thu, 8 Jun 2017, at 11:34, Eberhard Beilharz wrote:
> > I'm using https://updates.jenkins-ci.org/stable/update-center.json as 
> > URL for the update site.
> > 
> > When I check the JSON that gets returned from the update site I see that 
> > it contains the favorite plugin in version 1.16 from 7/2013, so there 
> > seems to be clearly something wrong. Would be good if that could be
> > fixed.
> 
> Yeah, this is unfortunate, but it is at least a known issue; see
> https://issues.jenkins-ci.org/browse/INFRA-1215


This has since been fixed FWIW.



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170609155035.3ggbaezpbi4rq3kp%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Why can't I put "bat" inside a stage when using Declarative Pipelines

2017-06-08 Thread R. Tyler Croy
(replies inline)

On Thu, 08 Jun 2017, Marley Kudiabor wrote:

> I'm wondering if I'm doing something wrong the syntax seems radically 
> different between Declarative Pipelines and just placing everything inside 
> a "node" block.
> 
> I was wondering what format I should use to place pipeline steps inside of 
> Declarative Pipelines
> 
> For example
> 
> node {
>  stage ("stage") {
>  bat ''' echo foo'''
>  }
> }
> 
> Works but
> 
> pipeline {
>  
>  stage ("stage"){
>   bat ''' echo foo 
>  }
>  
> }
> 
> Does not


What is the error that Jenkins gives you when you try this?



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170608224115.yixpt53e4qm7jgmd%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Jenkins pipeline shell set $HOME to /var/www

2017-06-08 Thread R. Tyler Croy
(replies inline)

On Thu, 08 Jun 2017, Changqin Xie wrote:

> Using the following Jenkinsfile:
> #!/usr/bin/env groovy
> 
> pipeline {
> agent any
> 
> stages {
> stage('Deploy') {
> steps {
> sh 'echo $HOME'
> }
> }
> }
> }
> 
> And I get $HOME == /var/www
> Why isn't it being "/home/www-data"? By the way, I am running Jenkins under 
> the user www-data.


I would be willing to bet that the home directory for the www-data user is
actually set to `/var/www` in /etc/passwd.

Most Linux packages set the home-directory for that user to /var/www



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170608165035.a6azgzxiplldv47m%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [Jenkins-infra] Confluence maintenance window tomorrow (2017-06-07) from 15:30 - 17:30 UTC

2017-06-07 Thread R. Tyler Croy

The wiki is back online, but some users may have difficulty logging in with
fresh sessions. Confluence is still syncing user data from LDAP and is likely
going to be doing so for the next couple hours.



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170607183211.6ijht2y3kfij5hnz%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Confluence maintenance window tomorrow (2017-06-07) from 15:30 - 17:30 UTC

2017-06-07 Thread R. Tyler Croy
(replies inline)

On Tue, 06 Jun 2017, R. Tyler Croy wrote:

> 
> We're planning to perform a Confluence upgrade tomorrow in a maintenance 
> window
> between 15:30 and 17:30 UTC (8:30 - 10:30 PDT).
> 
> The ticket tracking this work is:
> https://issues.jenkins-ci.org/browse/INFRA-1201


Just a heads up, this window is taking longer than we had hoped as some
migrations timed out when running.


I'm optimistic that we'll be wrapping this up in the next 30-45 minutes


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170607173253.dn4kjfukaeelbpqs%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Confluence maintenance window tomorrow (2017-06-07) from 15:30 - 17:30 UTC

2017-06-06 Thread R. Tyler Croy

We're planning to perform a Confluence upgrade tomorrow in a maintenance window
between 15:30 and 17:30 UTC (8:30 - 10:30 PDT).

The ticket tracking this work is:
https://issues.jenkins-ci.org/browse/INFRA-1201


This is related to, and a continuation of, the work we did previously in April
to get Confluence more up to date
https://issues.jenkins-ci.org/browse/INFRA-325


Please join #jenkins-infra on Freenode for any questions, and as per usual I
will send an all clear once the migration is complete.


Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170606224813.omyie3qc2fmolqza%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


JIRA downtime tomorrow (2017-06-07) between 16:00-18:00 UTC

2017-06-06 Thread R. Tyler Croy
The Oregon State University Open Source Lab (OSUOSL), which still hosts some of
our infrastructure is moving hardware around in their datacenter tomorrow and
will be briefly rebooting the machine which runs JIRA.

The outage should be between 10-15 minutes in the 16:00-18:00 window, but we
don't have a specific timeslot assigned right now.

For any questions, please jump into the #jenkins-infra channel on Freenode and
ask away


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170606162658.2zzkn25fyshbsrky%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Interpolating variables in agent's docker parameter

2017-05-17 Thread R. Tyler Croy
(replies inline)

On Wed, 17 May 2017, Bart??omiej Sacharski wrote:

> Hello.
> 
> I'm trying to mount specific directory to a stage-only agent that will use 
> docker in a declarative pipeline.
> It looks like this:
> 
> > agent {
> >   docker {
> > image "myimage:latest"
> > args "-v ${WORKSPACE}/out:/var/www/api/out"
> >   }
> > }
> >
> 
> However, this results in *No such property: WORKSPACE*. When I'm using 
> *env.WORKSPACE* it is interpolated to *null* (also resulting in error).
> Does that mean that interpolation is only available for steps, or is there 
> another trick (without resorting to scripted pipeline) to interpolate 
> string properly in this case?



I believe interpolationg may work here, but I doubt the workspace or env would
be available since those are heavily agent-dependent. Basically this would be
referencing a variable before it has been created.

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170517192334.z67kdyaotzh2ogod%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


What's Italian for "New-poster moderation for Google Groups has been enabled?"

2017-05-01 Thread R. Tyler Croy

In response to our on-going battle against spam, we have grown the Google Group
moderations teams for jenkinsci-dev@ and jenkinsci-users@. With more
moderators, this means that we can enable "New poster" moderation.

What this means is that, until further notice, first-time posters to these
mailing lists will have their messages filtered to a special moderation queue,
and must then be approved before being sent out.



Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170501201446.nsd5v5m7xf6nwcfa%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Colombian Jenkins users we need your help

2017-04-28 Thread R. Tyler Croy
Kohsuke posted some details in this blog post:
https://jenkins.io/blog/2017/04/27/colombia/


The gist of the issue is that somebody is trying to use/register the Jenkins
trademark in Colombia. If you're one of the many Colombian Jenkins users,
please take a moment to read the blog post.


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170428164347.kac5rda5ruyse3ki%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: BlueOcean: missing visual pipeline editor

2017-04-21 Thread R. Tyler Croy
(replies inline)

On Fri, 21 Apr 2017, Ramanathan Muthaiah wrote:

> Hello,
> 
> In the BlueOcean UI, I chose Git and provided the repo name hosted within 
> organization umbrella. However, with this choice, visual pipeline editor is 
> not visible.
> 
> Does anyone why is this and what am missing ?


Git is not yet fully supported for the editor, only GitHub, see:
https://issues.jenkins-ci.org/browse/JENKINS-43148

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170421163238.4lre6nvdk5xvkjkm%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Jenkins Mirror is down

2017-04-19 Thread R. Tyler Croy
(replies inline)

On Mon, 17 Apr 2017, Devon wrote:

> Hi there
> 
> I am trying to update my Jenkins instance but it fails due to the mirror it 
> is being redirected to being unable to process the request.
> 
> URL I get: http://ftp.icm.edu.pl/packages/jenkins/war/2.55/jenkins.war
> 
> Message being displayed:
> 
>  
> 
> ICAP Error (icap_error) 
> 
> An error occurred while performing an ICAP operation: Maximum total files 
> in archive exceeded; File: jenkins.war; Sub File: ; Vendor: Sophos, Plc.; 
> Engine version: 3.68.1; Pattern version: 5.38.13086169.0; Pattern date: 
> 2017/04/18 04:33:40
> 
> There could be a network problem, the ICAP service may be misconfigured, or 
> the ICAP server may have reported an error.
> 
> 
> For assistance, contact your network support team.
> 
> 
> 
> Currently I am unable to update my Jenkins instance (plugin updating does 
> work fine). Is there a way to have Jenkins use another mirror?
> 
> FYI: I'm located in Belgium/Netherlands


Between this message and https://issues.jenkins-ci.org/browse/INFRA-1154, I
think I am going to just disable this mirror until further notice.




- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170419162422.ljiuc3c7noiktu4i%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Check to see if a Pipeline step exist?

2017-04-17 Thread R. Tyler Croy
(replies inline)

On Mon, 17 Apr 2017, Sam K wrote:

> Hi
> 
>You can use this link to keep track of what is already available and 
> what is not. 
>  https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md


This resource is a much more comprehensive reference: 
https://jenkins.io/doc/pipeline/steps/

A background process searches all plugins which extend Pipeline extension
points and generates that page. Unless there has been some failure to generate,
which rarely happens, that page will be very up to date.



Now to the original poster's original question:


> > For example, the "archiveArtifacts" step doesn't exist in Jenkins 1.x. 
> >  Does anyone have a similar problem?


https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#code-archive-code-archive-artifacts

As the documentation mentions, archiveArtifacts is only supported on Jenkins
2.x


I strongly recommend upgrading to the latest Jenkins 2.46.1 LTS, there are a
tremendous number of bugs fixed and security issues addressed which are only
available in more current LTS releases.



Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170417193611.jmtlf4rlkmvdll2n%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Regarding the recent waves of mailing list spam

2017-04-17 Thread R. Tyler Croy

As you may have noticed, there has been an uptick in spam getting through to
the Google Groups run by the Jenkins project. On some lists, these have
resulted in Google flagging the group and bouncing emails from those groups.

This was discussed during our last project meeting
(http://meetings.jenkins-ci.org/jenkins-meeting/2017/jenkins-meeting.2017-04-12-18.00.html),
and as promised I wanted to let everybody know where things stand and why.


If you receive emails as they're posted (non-digest mode) from Google Groups,
if a spamemr gets through, there's nothing we can do for you. While I have
added a couple more "Manager" roles to the jenkinsci-users@ list, who can ban
authors and delete posts, once something is delivered to your inbox, there's
nothing we can do.

Some people have suggested first-poster moderation, which is one option, but
not one I'm personally willing to turn on until more people are active
moderators. Unfortunately I took a weekend off from my morning-routine of
banning spammers two weekends ago, which seems to have led to the recent surge
and flagging of the group.


What we are evaluating between last project meeting and the upcoming one (April
26) is whether Google Groups is still a viable option for the Jenkins project.
A number of other projects have moved to groups.io, which would be a likely
destination if Google continues to flag our groups.



Consider yourselves updated, feel free to ping me on IRC (rtyler) with
questions.


Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170417155333.h7l2ecplmhbcg2ut%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Cannot register, post anonymously on Jenkins Wiki

2017-04-05 Thread R. Tyler Croy
(replies inline)

On Wed, 05 Apr 2017, Anne van der Bom wrote:

> Hi there,
> 
> I wanted to post a question regarding the Paremeterized Scheduler Plugin 
> here:
> 
> https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Scheduler+Plugin
> 
> I don't have a login, but according to the text on the screen, you can post 
> anonymously. But when I try I get a 403-forbidden. 
> 
> So I click on the 'Sign up' 
> link: https://wiki.jenkins-ci.org/signup.action, which redirects me 
> to https://accounts.jenkins.io/ But on that page I can not find an option 
> to register anywhere. 
> 
> What am I supposed to do to post on the jenkins wiki?

Posting comments to the wiki is not the right place to get help with any
particular plugin or feature of Jenkins. Please ask your question on this
mailing list.



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170405180531.l7xzyb3wevjssmz6%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [Jenkins-infra] Wiki downtime/maintenance window scheduled for 2017-04-01 16-18:00 UTC

2017-04-03 Thread R. Tyler Croy
(replies inline, dropping jenkinsci-users)

On Sun, 02 Apr 2017, JordanGS wrote:

> Congrats on the update! There seem to be some issues with the new system 
> tho. All of my old wiki pages cannot be modified or new edits saved. The 
> page throws a *Content Encoding Error*.
> 
> See wiki link <https://wiki.jenkins-ci.org/display/JENKINS/zap+plugin>.


Were you able to figure this out? I successfully edited this page
(https://wiki.jenkins-ci.org/pages/viewpreviousversions.action?pageId=102662470)

I'm wondering if you hit the issue orrc filed, which I have since resolved.



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170403145848.gde77gsuin32ju57%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [Jenkins-infra] Wiki downtime/maintenance window scheduled for 2017-04-01 16-18:00 UTC

2017-04-01 Thread R. Tyler Croy
(replies inline)

On Sat, 01 Apr 2017, R. Tyler Croy wrote:

> (replies inline)
> 
> On Fri, 31 Mar 2017, R. Tyler Croy wrote:
> 
> > 
> > As promised/threatened a while ago, I am planning to ugprade Confluence on
> > April 1st (no joke!). In the process of upgrading Confluence, we will also 
> > be
> > re-sizing the VM it currently lives on for better performance. As such, 
> > please
> > do not expect wiki.jenkins-ci.org to be servicing requests from 16:00 - 
> > 18:00
> > UTC.
> > 
> > 
> > The JIRA tracking this work is:
> > https://issues.jenkins-ci.org/browse/INFRA-325
> 
> 
> 
> The maintenance window is taking a bit longer, lots of shuffling bits around 
> on
> disk and database migrations are slowing us down.
> 
> We're upgraded to Confluence 5.0.3, and will continue the migration to 6.1.0
> once the re-sizing of the VM completes by the OSUOSL.


Things took a *lot* longer than I had hoped during the "embiggen the VM" phase
as the legacy VM required a little bit more work to upgrade in the OSUOSL
Ganeti cluster.

Additionally the backend MySQL DB servers (operated by OSUOSL) are 5.5 and 5.6,
the latter which would support Confluence 6.1.0 doesn't have the appropriate
innodb settings to support our upgrade right now. While attempting to get us to
at least 5.10.8, I discovered that there are additional MySQL library changes
which we need to incorporate into our image to make everything happy.

What made this whole endeavour complicated was needing to actually perform
*three* upgrades rather than one, going from 3.4.7 => 3.5.17, then 3.5.17 =>
5.0.3, and finally attempted  5.0.3 => 6.1.0^W5.10.8. The first two required
significant data migrations, upgrading from some old tables from MyISAM to
InnoDB, and then Confluence's own migrations on top of that. Suffice it to say,
*tons* of disk I/O. We saturated disk I/O on the MySQL cluster more than once
during this process.

As it stands right now, 5.0.3 is up and running, and things appear sane. I'll
keep an eye on things and re-evaluate the upgrade path to 6.1.0 once I can
discuss with olblak our options a bit more.



Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170401224249.kp46lmg635ahsdwt%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [Jenkins-infra] Wiki downtime/maintenance window scheduled for 2017-04-01 16-18:00 UTC

2017-04-01 Thread R. Tyler Croy
(replies inline)

On Fri, 31 Mar 2017, R. Tyler Croy wrote:

> 
> As promised/threatened a while ago, I am planning to ugprade Confluence on
> April 1st (no joke!). In the process of upgrading Confluence, we will also be
> re-sizing the VM it currently lives on for better performance. As such, please
> do not expect wiki.jenkins-ci.org to be servicing requests from 16:00 - 18:00
> UTC.
> 
> 
> The JIRA tracking this work is:
> https://issues.jenkins-ci.org/browse/INFRA-325



The maintenance window is taking a bit longer, lots of shuffling bits around on
disk and database migrations are slowing us down.

We're upgraded to Confluence 5.0.3, and will continue the migration to 6.1.0
once the re-sizing of the VM completes by the OSUOSL.


I am hoping to wrap up by 20:00 UTC


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170401190046.4cchobczyyv6lgc4%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Wiki downtime/maintenance window scheduled for 2017-04-01 16-18:00 UTC

2017-03-31 Thread R. Tyler Croy

As promised/threatened a while ago, I am planning to ugprade Confluence on
April 1st (no joke!). In the process of upgrading Confluence, we will also be
re-sizing the VM it currently lives on for better performance. As such, please
do not expect wiki.jenkins-ci.org to be servicing requests from 16:00 - 18:00
UTC.


The JIRA tracking this work is:
https://issues.jenkins-ci.org/browse/INFRA-325


Please join #jenkins-infra for any questions, and as per usual I will send an
all clear once the migration is complete.



Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170331172327.xayfb7uqio77yepo%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Issues with SSH Host Key Verification

2017-03-29 Thread Steven R. Loomis
Thank you! I added this workaround 
to https://issues.jenkins-ci.org/browse/JENKINS-42959

On Friday, March 24, 2017 at 1:31:34 AM UTC-7, Harald Wellmann wrote:
>
> Yes, I can ssh both ways. The problem seems to be that the SSH lib used by 
> Jenkins does not support newer ciphers like ecdsa-sha2-nistp256. 
>
> After deleting the known_hosts entry and creating a new one via
>
> ssh -o HostKeyAlgorithms=ssh-rsa slave2.example.com
>
> Jenkins no longer complains. 
>
> I'm not a security expert, but it seems that I'm now using a less robust 
> cipher than before, so this is more of a workaround than a solution.
>
> Regards,
> Harald
>
> 2017-03-23 21:24 GMT+01:00 Harriet Severino  >:
>
>> Can you ssh from master to slave and back as the jenkins user? If not 
>> look at you ssh setup. SSH is picky about the permissions of all the files 
>> under ~/.ssh.
>>
>>
>>
>> On Thursday, March 23, 2017 at 12:45:33 PM UTC-4, Harald Wellmann wrote:
>>>
>>> After upgrading to SSH Slave Plugin 1.15 on Jenkins 2.32.3, I'm getting 
>>> warnings 
>>>
>>> about missing SSH key verification which I'm trying to fix.
>>>
>>>
>>> I've configured Known hosts file verification strategy, I've manually 
>>> ssh'ed 
>>>
>>> from my master to my slave, and I've checked there's an entry in my 
>>>
>>> .ssh/known_hosts on master which looks like
>>>
>>>
>>> slave2.example.com ecdsa-sha2-nistp256 ...v+2Uc0=
>>>
>>>
>>> Despite that, I'm getting the following error when lauching the agent:
>>>
>>>
>>> [03/23/17 13:10:38] [SSH] Opening SSH connection to slave2.example.com:22.
>>> [03/23/17 13:10:38] [SSH] WARNING: No entry currently exists in the Known 
>>> Hosts file for this host. Connections will be denied until this new host 
>>> and its associated key is added to the Known Hosts file.
>>> Key exchange was not finished, connection is closed.
>>> java.io.IOException: There was a problem while connecting to 
>>> slave2.example.com:22
>>> at com.trilead.ssh2.Connection.connect(Connection.java:818)
>>> at com.trilead.ssh2.Connection.connect(Connection.java:687)
>>> at com.trilead.ssh2.Connection.connect(Connection.java:601)
>>> at 
>>> hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1265)
>>> at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:790)
>>> at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:785)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> at 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.io.IOException: Key exchange was not finished, connection 
>>> is closed.
>>> at 
>>> com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:93)
>>> at 
>>> com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:230)
>>> at com.trilead.ssh2.Connection.connect(Connection.java:770)
>>> ... 9 more
>>> Caused by: java.io.IOException: The server hostkey was not accepted by the 
>>> verifier callback
>>> at 
>>> com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:535)
>>> at 
>>> com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:777)
>>> at 
>>> com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:489)
>>> ... 1 more
>>> [03/23/17 13:10:38] Launch failed - cleaning up connection
>>> [03/23/17 13:10:38] [SSH] Connection closed.
>>>
>>>
>>>
>>>
>>> Any ideas what's wrong here?
>>>
>>> Thanks,
>>> Harald
>>>
>>> -- 
>> 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/7006ab93-7ca4-4063-baf6-7c844be60165%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/bcb3b1f9-b12f-4faa-b16f-e1fd3bacc4cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Interactive input with new DSL

2017-03-06 Thread R. Tyler Croy
(replies inline)

On Mon, 06 Mar 2017, Travis Camechis wrote:

> So if you define an agent of none within a stage it will override the 
> higher level pipeline stage ?


Correct, the previously linked documentation has an example of a stage-level
"agent" directive.


> On Monday, March 6, 2017 at 2:39:42 PM UTC-5, R Tyler Croy wrote:
> >
> > (replies inline) 
> >
> > On Mon, 06 Mar 2017, Travis Camechis wrote: 
> >
> > > With scripted DSL your not supposed to ask for input inside a node so 
> > you 
> > > don't tie up an executor while waiting for user input.  How is this same 
> > > thing accomplished in the new DSL ?  It seems like everything runs 
> > inside a 
> > > node with the new DSL ? 
> > > 
> >
> >
> > A single stage can use "agent none" 
> > http://jenkins.io/doc/book/pipeline/syntax/#agent 
> >
> >
> >
> > - R. Tyler Croy 
> >
> > -- 
> >  Code: <https://github.com/rtyler> 
> >   Chatter: <https://twitter.com/agentdero> 
> >  xmpp: rty...@jabber.org  
> >
> >   % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F 
> > -- 
> >
> 
> -- 
> 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/c59b475a-35c5-41cd-b7b0-dc2a8b1029c6%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170306222514.j22tdxz6wv552ft4%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [Jenkins-infra] JIRA downtime/maintenance window scheduled for 2017-03-04 16:00 UTC

2017-03-04 Thread R. Tyler Croy
(replies inline)

On Mon, 27 Feb 2017, R. Tyler Croy wrote:

> 
> I'm planning on performing a scheduled upgrade of JIRA (issues.jenkins-ci.org)
> this Saturday at 16:00 UTC / 8:00 PST. I don't expect the work to last longer
> than 60 minutes, but please expect JIRA to be offline for at least the full
> hour.
> 
> The JIRA tracking this (hehe) is:
> <https://issues.jenkins-ci.org/browse/INFRA-1010>


JIRA has been upgraded, yay.



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170304162314.o6iyyphwiihqwzgp%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: downloading files > 1G

2017-03-03 Thread R. Tyler Croy
(replies inline)

On Fri, 03 Mar 2017, Richard Ginga wrote:

> I have been struggling all day with a simple problem...I can't download and
> archived file of 1.46Gb. That is the size on the slave and the size
> reported by Jenkins but when I click to download it, I get 1G.

Use the Fingerprint for the file presented in the UI and compare that to an
`md5sum` of the file itself. You may be getting the right file, but one place
may be reporting with 1000-based versus 1024-based megabytes.

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170303214957.dylqj2dqbrqtzs2k%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


JIRA downtime/maintenance window scheduled for 2017-03-04 16:00 UTC

2017-02-27 Thread R. Tyler Croy

I'm planning on performing a scheduled upgrade of JIRA (issues.jenkins-ci.org)
this Saturday at 16:00 UTC / 8:00 PST. I don't expect the work to last longer
than 60 minutes, but please expect JIRA to be offline for at least the full
hour.

The JIRA tracking this (hehe) is:
<https://issues.jenkins-ci.org/browse/INFRA-1010>


Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>

  % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F
--

-- 
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/20170227204615.uozusmypdfmsppsm%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread R. Tyler Croy
(replies inline)

On Thu, 23 Feb 2017, Chris Denneen wrote:

> Sathish? What are you referring to here?
> This is UI configuration. I've had this for a while.
> I'm looking for Jenkinsfile equivalent.


There is no such thing as a "Multiconfiguration Pipeline" as such in Pipeline.
You might find the use of the parallel() step to be helpful here however:
https://jenkins.io/doc/book/pipeline/jenkinsfile/#advanced-scripted-pipeline


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170223204415.jsko7a6zrioa6fsk%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Problem with docker agent (declarative syntax)

2017-02-10 Thread R. Tyler Croy
(replies inline)

On Thu, 09 Feb 2017, Bart??omiej Kruczyk wrote:

> Hi, I have problem with setting docker agent type for my pipeline.
> 
> Although something like this works:
> 
> 
> agent {
> docker 'myimage'
> 
> }
> 
> 
> This does not:
> 
> 
> agent {
> docker {
> image: 'myimage'
> 
> registry: 'localhost:5000'
> 
> }
> }


As far as I am aware, there is no supported "registry" value inside that
`docker` block.


See also https://jenkins.io/doc/book/pipeline/syntax/#agent



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170210093934.GC26439%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: Unable to use the "when" closure to skip a stage (pipeline-model-definition-plugin)

2017-02-09 Thread R. Tyler Croy
(replies inline)

On Thu, 09 Feb 2017, Roi Aldaag wrote:

> for a very simple pipeline in the inline pipeline editor (not in an 
> external Jenkinsfile):
> 
> *node {*
> *   stage('1') { // for display purposes*
> 
> *   }*
> *   stage('2') {*
> *when {*
> *//return false*
> *}*
> *   }*
> *   stage('3') {*
> 
> *   }*
> *}*


This Jenkinsfile is _not_ a Declarative Pipeline but is instead using the
Scripted Pipeline syntax.

A Declarative Pipeline *must* have a `pipeline { }` outer block, and a number
of other required sections, and `when` is only applicable within Declarative.
Otherwise you can just use normal Groovy conditionals.

See this document for more: https://jenkins.io/doc/book/pipeline/syntax/

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170209101121.GA26439%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: Jenkins2 pipeline - Global methods in shared-library fails when invoked

2017-02-02 Thread R. Tyler Croy
(replies inline)

On Thu, 02 Feb 2017, Tor Christian Solev?gseide wrote:

> I was finally able to solve this myself. The problem was how I referenced 
> the shared library. Apparently, I need to add the underscore character to 
> the end if my @Library annotation like this:
> @Library('customized-portal-lib') _
> 
> Also, I must make sure to not import my global *acme *variable.
> 
> This is documented 
> in https://jenkins.io/doc/book/pipeline/shared-libraries/ for those who 
> take their time to fine read it (which I didn't at first):


FWIW, the underscore character is kind of a cute little hack. @Library is an
annotation so it must annotate *something*, annotating the underscore is kind
of like annotating a throwaway unused character. Technically you're able to
annotate other statements, as the section in the handbook describes


- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170202112955.GJ26439%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: Japan mirrors unstable

2017-01-26 Thread R. Tyler Croy
(replies inline)

On Thu, 26 Jan 2017, Noam Tamim wrote:

> I run my Jenkins server in Israel, and when accessing 
> http://mirrors.jenkins-ci.org, I get redirected to mirrors in Japan.
> However - with those servers, downloads never finish. More often than not, 
> I get "Connection reset by peer" errors.
> 
> Further, even though Israel and Japan are both technically in Asia - Israel 
> is closer to Europe and the Internet connections to Europe are much 
> stronger. 
> 
> For those reasons, please redirect Israel requests to one of the European 
> mirrors.


Do you know which japanese mirrors you're hitting, we have a couple.

A wget or curl with verbosity turned up would probably help nail it down.
Unfortunately, I don't believe I can lock requests from a specific country to a
different set of mirrors, but if there is a slow or unstable link, I can tweak
the settings for that specific mirror.


Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>
 xmpp: rty...@jabber.org

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20170126210242.GB26439%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: AWS ECS Plugin

2017-01-25 Thread Rajasekaran R
Yes you are correct I am also running my slave jenkins user under docker 
group but I cant run docker commands using Jenkins user.

My Dockerfile end of the lines look likes..

RUN usermod -aG docker jenkins
RUN gpasswd -a jenkins docker
#RUN systemctl restart docker
USER jenkins

ENTRYPOINT ["/usr/local/bin/jenkins-slave"]

Kidly suggest how to fix this issue.


On Tuesday, February 2, 2016 at 9:34:34 PM UTC+5:30, Mulloy Morrow wrote:
>
> My Jenkins user is part of the docker group. That's why I was surprised by 
> this error. 
>
> On Mon, Feb 1, 2016, 11:41 PM nicolas de loof  > wrote:
>
>> docker socket is only accessible to users in docker group or to root. 
>> running from a container doesn't bypass such permission check.
>>
>> 2016-02-01 23:55 GMT+01:00 Mulloy Morrow > >:
>>
>>> Was able to get this working. Mounted the docker socket using the mount 
>>> point configs in the jenkins plugin. However, I was getting a permission 
>>> denied when trying to nc or curl the socket for info. I had to run the 
>>> slaves as user root rather than user jenkins. Has either of you come across 
>>> this issue? 
>>>
>>>
>>> On Monday, February 1, 2016 at 10:48:15 AM UTC-8, Mulloy Morrow wrote:


 Has anyone successfully been able to mount the Docker UNIX socket on 
 the slave containers? I've attempted to mount this socket using the 
 Jenkins 
 ECS plugin (v1.2) by configuring "container mount points".  (see jenkins 
 config screenshot below)


 

 On Monday, January 25, 2016 at 7:52:30 AM UTC-8, nicolas de loof wrote:
>
> Latest development build for ECS plugin do let you define bind mounts, 
> see 
> https://jenkins.ci.cloudbees.com/job/plugins/job/amazon-ecs-plugin/
>
> 2016-01-25 16:33 GMT+01:00 Brandon Wagner :
>
>> If I'm understanding correctly, I would mount the docker.sock to the 
>> slave container? I created an image extended from the 
>> jenkinsci/jnlp-slave 
>> that does a wget for the docker CLI. 
>>
>> However, I don't see a place to mount the docker.sock through the ECS 
>> configuration options. 
>>
>>
>> -Brandon Wagner
>>
>> On Sat, Jan 23, 2016 at 1:08 PM, nicolas de loof <
>> nicolas...@gmail.com> wrote:
>>
>>> You could use docker-custom-build-environment-plugin for this exact 
>>> scenario, with bind mounted /var/run/docker.sock so you can run 
>>> containers 
>>> side by side (vs "in-docker"). Would need some tests on my side to 
>>> ensure 
>>> this scenario is supported, I have this on my TOD for a while but never 
>>> took time to setup a test environment for it...
>>>
>>> 2016-01-22 21:01 GMT+01:00 Brandon Wagner :
>>>
 I would like to run Docker containers for all of my software 
 projects and dynamically allocate build slaves via ECS (so that I can 
 have 
 a core cluster that can do builds quickly; in contrast to spinning up 
 an 
 EC2 instance).

  For example, I have a Java application which is completely 
 contained in a Docker container (I can build it, run tests, and run 
 the 
 actual application with Tomcat all within the container). I want to 
 use 
 this for a variety of different purposes (dev, testing, qa, and 
 production). In order to make it reusable like that, I don't want to 
 include Jenkins Slave packages and expose ports. I'd rather deploy out 
 a 
 Jenkins-Slave container to my ECS cluster, and then have that slave 
 handle 
 running my application's docker container which also performs tests. 

 I also support other team applications which are already running 
 docker container builds in Jenkins (locally on the Jenkins Master). I 
 want 
 it to be transparent to them that I'm "outsourcing" build slaves to 
 ECS. It 
 shouldn't matter to them that I'm changing the way Jenkins is 
 performing 
 builds.

 Let me know if you (or anyone else) have suggestions based on my 
 goals.

 -Brandon Wagner


 On Fri, Jan 22, 2016 at 2:48 PM, nicolas de loof <
 nicolas...@gmail.com> wrote:

> privileged flag has been added to development build (
> https://jenkins.ci.cloudbees.com/job/plugins/job/amazon-ecs-plugin/
> )
> anyway, DinD is probably not a good idea (there's really few 
> docker usages to actually require it). What's your actual need ?
>
> 2016-01-22 20:46 GMT+01:00 Brandon Wagner :
>

Re: Request for participation: Jenkins Security Officer candidates

2016-12-09 Thread R. Tyler Croy

In this week's Governance Meeting it was announced that the board has appointed
Daniel Beck to his second term as the Jenkins Security Officer

See <https://wiki.jenkins-ci.org/display/JENKINS/Governance+Board#Officers>

For more information about Jenkins CERT or our responsible disclosure policies,
please see: https://jenkins.io/security/



On Mon, 21 Nov 2016, R. Tyler Croy wrote:

>
> First, let me thank Daniel Beck for his work as the inaugural Jenkins Security
> Officer over the past year. I would also like to thank the numerous members of
> the CERT[0] team who have helped Daniel guide the project's security policies,
> disclosures and updates.
>
> In accordance with our previously agreed upon team lead proposal
> (https://wiki.jenkins-ci.org/display/JENKINS/Proposal+-+Project+sub-teams)
> I am now asking, again, on behalf of the Jenkins board[1] for candidates who
> are willing to act as the Jenkins Security Officer.
>
>
> The responsibilities of the Jenkins Security Officer would be to lead Jenkins
> Security (CERT) team, and:
>
> * Run the Jenkins CERT meeting
> * Manage sending gifts to qualifying reporters of resolved security issues [2]
> * Coordinate work on, and releases, of security fixes with plugin authors,
>   Kohsuke and the LTS team lead
> * Publish Security Advisories (including CVE IDs and CVSS) and notify the 
> mailing
>   list
> * Drive security policy definition/changes in the community
> * Represent the Jenkins project on security topics with third parties
>
>
> The expected term of the Security Officer would be 12 months.
>
>
>
> Contributors interested in being considered for the Jenkins Security Officer
> position should email the board: jenkinsci-bo...@googlegroups.com in the *next
> seven days* explaining their qualifications for the position.
>
> In seven days the board will select a candidate to appoint to the position who
> will be able to act on behalf of the Governance Board on matters pertaining to
> the position described above
>
>
> Thanks!
>
>
> [0] https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CERT+team
> [1] The current board: 
> <https://wiki.jenkins-ci.org/display/JENKINS/Governance+Board>
> [2] 
> https://wiki.jenkins-ci.org/display/JENKINS/Rewards+for+reporting+security+issues
>
> - R. Tyler Croy
>
> --
>  Code: <https://github.com/rtyler>
>   Chatter: <https://twitter.com/agentdero>
>
>   % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
> --
>
> --
> 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/20161121214738.GA3000%40blackberry.coupleofllamas.com.
> For more options, visit https://groups.google.com/d/optout.



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20161209212142.GB21965%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Request for participation: Jenkins Security Officer candidates

2016-11-21 Thread R. Tyler Croy

First, let me thank Daniel Beck for his work as the inaugural Jenkins Security
Officer over the past year. I would also like to thank the numerous members of
the CERT[0] team who have helped Daniel guide the project's security policies,
disclosures and updates.

In accordance with our previously agreed upon team lead proposal
(https://wiki.jenkins-ci.org/display/JENKINS/Proposal+-+Project+sub-teams)
I am now asking, again, on behalf of the Jenkins board[1] for candidates who
are willing to act as the Jenkins Security Officer.


The responsibilities of the Jenkins Security Officer would be to lead Jenkins
Security (CERT) team, and:

* Run the Jenkins CERT meeting
* Manage sending gifts to qualifying reporters of resolved security issues [2]
* Coordinate work on, and releases, of security fixes with plugin authors,
  Kohsuke and the LTS team lead
* Publish Security Advisories (including CVE IDs and CVSS) and notify the 
mailing
  list
* Drive security policy definition/changes in the community
* Represent the Jenkins project on security topics with third parties


The expected term of the Security Officer would be 12 months.



Contributors interested in being considered for the Jenkins Security Officer
position should email the board: jenkinsci-bo...@googlegroups.com in the *next
seven days* explaining their qualifications for the position.

In seven days the board will select a candidate to appoint to the position who
will be able to act on behalf of the Governance Board on matters pertaining to
the position described above


Thanks!


[0] https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CERT+team
[1] The current board: 
<https://wiki.jenkins-ci.org/display/JENKINS/Governance+Board>
[2] 
https://wiki.jenkins-ci.org/display/JENKINS/Rewards+for+reporting+security+issues

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20161121214738.GA3000%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: [Jenkins-infra] Scheduled infrastructure maintenance Oct 27 00:00 UTC

2016-10-26 Thread R. Tyler Croy
I am pleased to report that the maintenance window has completed, and outside
of some Docker annoyances everything went fairly well.


I will continue to keep an eye on services for the next couple hours just in
case, but please continue your regularly scheduled Jenkins hacking :)

- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20161027012225.GO3357%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Scheduled infrastructure maintenance Oct 27 00:00 UTC

2016-10-26 Thread R. Tyler Croy

I am scheduling a maintenance window for later today (17:00 PDT / 00:00 UTC)
for 60 minutes to apply some new kernel patches to the project's
infrastructure.

The ticket to track this work can be found here:
<https://issues.jenkins-ci.org/browse/INFRA-958>


This will be a simple update and reboot so service outages should be minimal. I
will update this thread once everything has been completed.


Cheers
- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20161026171049.GN3357%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: PermGen issue

2016-10-13 Thread R. Tyler Croy
(replies inline)

On Thu, 13 Oct 2016, vishad alekh wrote:

> Hi All,
> 
> I am using Jenkins 2.11. My Jenkins is frequently going down with permGen 
> issue. 
> Even if I am not executing any jobs. 
> My server configuration is pretty good too.
> 
> Can someone please assist with the possible reason for the same. Or any way 
> in which this can be resolved. 
> 
> I have tried increasing the permGen space by passing parameter at the time of 
> startup but no luck. 
> 
> Maven configuration is also done for the same.

Out of curiosity are you using Multibranch Pipeline heavily? The fact that
you're having a PermGen issue means you're likely running on JDK7, can you tell
us anything else about your environment?



- R. Tyler Croy

--
 Code: <https://github.com/rtyler>
  Chatter: <https://twitter.com/agentdero>

  % gpg --keyserver keys.gnupg.net --recv-key 1426C7DC3F51E16F
--

-- 
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/20161014011749.GT3357%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


  1   2   3   >