Re: Sonarqube Plugin failing on Jenkins Version 2.19.2 & 2.30 raised bug on it https://issues.jenkins-ci.org/browse/INFRA-975, any help appreciated

2016-11-09 Thread Zen Pwning
So what version of Java should I have installed in my system if not Java 8?

On Thursday, November 10, 2016 at 12:10:13 PM UTC+5:30, Stefan Lorenz wrote:
>
>
>
> Am Donnerstag, 10. November 2016 07:25:06 UTC+1 schrieb Stefan Lorenz:
>>
>> "Unsupported major.minor version 52.0" 
>>
>> indicates a wrong Java version... probably you use Java 8 and this is not 
>> supported by the plugin...
>>
>> http://stackoverflow.com/a/35866015
>>
>>
>> Am Donnerstag, 10. November 2016 07:15:23 UTC+1 schrieb Zen Pwning:
>>>
>>> Trying the installation Sonarqube Plugin failing on Jenkins Version 
>>> 2.19.2 & 2.30 raised bug on it 
>>> https://issues.jenkins-ci.org/browse/INFRA-975.
>>>
>>>
>>>
>>> SonarQube Plugin 
>>> Failure - 
>>>
>>> java.io.IOException: Failed to dynamically deploy this plugin
>>> at 
>>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1383)
>>> at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1161)
>>> at 
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>> at 
>>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.io.IOException: Failed to install sonar plugin
>>> at hudson.PluginManager.dynamicLoad(PluginManager.java:508)
>>> at 
>>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1379)
>>> ... 5 more
>>> Caused by: java.io.IOException: Unable to load 
>>> hudson.plugins.sonar.SonarPlugin from sonar
>>> at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:425)
>>> at hudson.PluginManager.dynamicLoad(PluginManager.java:499)
>>> ... 6 more
>>> Caused by: java.lang.UnsupportedClassVersionError: 
>>> hudson/plugins/sonar/SonarPlugin : Unsupported major.minor version 52.0
>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
>>> at 
>>> jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
>>> at 
>>> hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
>>> at 
>>> jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
>>> at 
>>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
>>> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>>> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>> at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:418)
>>>
>>>

-- 
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/f7d874a3-628e-4d13-9f6e-a91a71ee1885%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Sonarqube Plugin failing on Jenkins Version 2.19.2 & 2.30 raised bug on it https://issues.jenkins-ci.org/browse/INFRA-975, any help appreciated

2016-11-09 Thread Stefan Lorenz


Am Donnerstag, 10. November 2016 07:25:06 UTC+1 schrieb Stefan Lorenz:
>
> "Unsupported major.minor version 52.0" 
>
> indicates a wrong Java version... probably you use Java 8 and this is not 
> supported by the plugin...
>
> http://stackoverflow.com/a/35866015
>
>
> Am Donnerstag, 10. November 2016 07:15:23 UTC+1 schrieb Zen Pwning:
>>
>> Trying the installation Sonarqube Plugin failing on Jenkins Version 
>> 2.19.2 & 2.30 raised bug on it 
>> https://issues.jenkins-ci.org/browse/INFRA-975.
>>
>>
>>
>> SonarQube Plugin 
>> Failure - 
>>
>> java.io.IOException: Failed to dynamically deploy this plugin
>>  at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1383)
>>  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1161)
>>  at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>  at 
>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
>>  at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.io.IOException: Failed to install sonar plugin
>>  at hudson.PluginManager.dynamicLoad(PluginManager.java:508)
>>  at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1379)
>>  ... 5 more
>> Caused by: java.io.IOException: Unable to load 
>> hudson.plugins.sonar.SonarPlugin from sonar
>>  at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:425)
>>  at hudson.PluginManager.dynamicLoad(PluginManager.java:499)
>>  ... 6 more
>> Caused by: java.lang.UnsupportedClassVersionError: 
>> hudson/plugins/sonar/SonarPlugin : Unsupported major.minor version 52.0
>>  at java.lang.ClassLoader.defineClass1(Native Method)
>>  at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
>>  at 
>> jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
>>  at 
>> hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
>>  at 
>> jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
>>  at 
>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
>>  at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>>  at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>  at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:418)
>>
>>

-- 
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/56a17013-ca51-4e80-8f19-346af5409103%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Sonarqube Plugin failing on Jenkins Version 2.19.2 & 2.30 raised bug on it https://issues.jenkins-ci.org/browse/INFRA-975, any help appreciated

2016-11-09 Thread Zen Pwning
Can you give me any suggestions, to install the sonaqube plugin 
successfully so that I can resolve the issue in my scenario? 


On Thursday, November 10, 2016 at 11:55:06 AM UTC+5:30, Stefan Lorenz wrote:
>
> "Unsupported major.minor version 52.0" 
>
> indicates a wrong Java version... probably you Java 8 is not supported by 
> the plugin 
>
> http://stackoverflow.com/a/35866015
>
>
> Am Donnerstag, 10. November 2016 07:15:23 UTC+1 schrieb Zen Pwning:
>>
>> Trying the installation Sonarqube Plugin failing on Jenkins Version 
>> 2.19.2 & 2.30 raised bug on it 
>> https://issues.jenkins-ci.org/browse/INFRA-975.
>>
>>
>>
>> SonarQube Plugin 
>> Failure - 
>>
>> java.io.IOException: Failed to dynamically deploy this plugin
>>  at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1383)
>>  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1161)
>>  at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>  at 
>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
>>  at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.io.IOException: Failed to install sonar plugin
>>  at hudson.PluginManager.dynamicLoad(PluginManager.java:508)
>>  at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1379)
>>  ... 5 more
>> Caused by: java.io.IOException: Unable to load 
>> hudson.plugins.sonar.SonarPlugin from sonar
>>  at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:425)
>>  at hudson.PluginManager.dynamicLoad(PluginManager.java:499)
>>  ... 6 more
>> Caused by: java.lang.UnsupportedClassVersionError: 
>> hudson/plugins/sonar/SonarPlugin : Unsupported major.minor version 52.0
>>  at java.lang.ClassLoader.defineClass1(Native Method)
>>  at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
>>  at 
>> jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
>>  at 
>> hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
>>  at 
>> jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
>>  at 
>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
>>  at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>>  at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>  at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:418)
>>
>>
On Thursday, November 10, 2016 at 11:55:06 AM UTC+5:30, Stefan Lorenz wrote:
>
> "Unsupported major.minor version 52.0" 
>
> indicates a wrong Java version... probably you Java 8 is not supported by 
> the plugin 
>
> http://stackoverflow.com/a/35866015
>
>
> Am Donnerstag, 10. November 2016 07:15:23 UTC+1 schrieb Zen Pwning:
>>
>> Trying the installation Sonarqube Plugin failing on Jenkins Version 
>> 2.19.2 & 2.30 raised bug on it 
>> https://issues.jenkins-ci.org/browse/INFRA-975.
>>
>>
>>
>> SonarQube Plugin 
>> Failure - 
>>
>> java.io.IOException: Failed to dynamically deploy this plugin
>>  at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1383)
>>  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1161)
>>  at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>  at 
>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
>>  at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.io.IOException: Failed to install sonar plugin
>>  at hudson.PluginManager.dynamicLoad(PluginManager.java:508)
>>  at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1379)
>>  ... 5 more
>> Caused by: java.io.IOException: Unable to load 
>> hudson.plugins.sonar.SonarPlugin from sonar
>>  at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:425)
>>  at hudson.PluginManager.dynamicLoad(PluginManager.java:499)
>>  ... 6 more
>> Caused by: java.lang.UnsupportedClassVersionError: 
>> hudson/plugins/sonar/SonarPlugin : Unsupported major.minor version 52.0
>>  at java.lang.ClassLoader.defineClass1(Native Method)
>>  at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
>>  at 
>> jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
>>  at 
>> hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
>>  at 
>> jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
>>  at 
>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
>>  at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>>  at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>>  

Re: Sonarqube Plugin failing on Jenkins Version 2.19.2 & 2.30 raised bug on it https://issues.jenkins-ci.org/browse/INFRA-975, any help appreciated

2016-11-09 Thread Stefan Lorenz
"Unsupported major.minor version 52.0" 

indicates a wrong Java version... probably you Java 8 is not supported by 
the plugin 

http://stackoverflow.com/a/35866015


Am Donnerstag, 10. November 2016 07:15:23 UTC+1 schrieb Zen Pwning:
>
> Trying the installation Sonarqube Plugin failing on Jenkins Version 2.19.2 
> & 2.30 raised bug on it https://issues.jenkins-ci.org/browse/INFRA-975.
>
>
>
> SonarQube Plugin 
> Failure - 
>
> java.io.IOException: Failed to dynamically deploy this plugin
>   at 
> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1383)
>   at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1161)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>   at 
> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Failed to install sonar plugin
>   at hudson.PluginManager.dynamicLoad(PluginManager.java:508)
>   at 
> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1379)
>   ... 5 more
> Caused by: java.io.IOException: Unable to load 
> hudson.plugins.sonar.SonarPlugin from sonar
>   at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:425)
>   at hudson.PluginManager.dynamicLoad(PluginManager.java:499)
>   ... 6 more
> Caused by: java.lang.UnsupportedClassVersionError: 
> hudson/plugins/sonar/SonarPlugin : Unsupported major.minor version 52.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
>   at 
> jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
>   at 
> hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
>   at 
> jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
>   at 
> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
>   at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>   at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>   at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:418)
>
>

-- 
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/46925843-672d-4a02-9966-5b70a4883e12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Sonarqube Plugin failing on Jenkins Version 2.19.2 & 2.30 raised bug on it https://issues.jenkins-ci.org/browse/INFRA-975, any help appreciated

2016-11-09 Thread Zen Pwning
Trying the installation Sonarqube Plugin failing on Jenkins Version 2.19.2 
& 2.30 raised bug on it https://issues.jenkins-ci.org/browse/INFRA-975.



SonarQube Plugin 
Failure - 

java.io.IOException: Failed to dynamically deploy this plugin
at 
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1383)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1161)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Failed to install sonar plugin
at hudson.PluginManager.dynamicLoad(PluginManager.java:508)
at 
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1379)
... 5 more
Caused by: java.io.IOException: Unable to load hudson.plugins.sonar.SonarPlugin 
from sonar
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:425)
at hudson.PluginManager.dynamicLoad(PluginManager.java:499)
... 6 more
Caused by: java.lang.UnsupportedClassVersionError: 
hudson/plugins/sonar/SonarPlugin : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at 
jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
at 
hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:802)
at 
jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1310)
at 
jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1366)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:418)

-- 
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/307d8c92-5bea-49d1-b7e7-3fb41d8b708e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


HELP :-( Job freez Jekins (v2.30)

2016-11-09 Thread xwyxw
 

Hi,

 

I migrate to my existent Jenkins 1.9 ver to 2.30 and everything seems 
working find, but if I build a job that is calling other local Jenkins 
projects (serial) will stop responding, and the only way to bring it back 
to life is by restarting the machine.

 

This is my environment:

• Windows 7 x64 (latest updates)

• Jenkins 2.30 (Deployed using .war file) all the plugins  have 
been updated

• Tomcat version 8.0.22

• 

 

I attached to this message the threaddump for your consideration. I have 
not been able to extract any valuable information using the system log 
mechanism. I added log recorders using hudson, jenkins, org.jenkins.sci, 
and org.jenkinssci.plugins and setting log level to all. So far I do not 
know what else to try to get more valuable information about this issue.

 

Looking forward to talk to you guys and bring some light to my dilemma. 

 

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/f7b8ef0a-e2b6-4391-b01c-85f9c7edc37c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thread Dump
ajp-apr-8009-Acceptor-0

"ajp-apr-8009-Acceptor-0" Id=37 Group=main RUNNABLE (in native)
at org.apache.tomcat.jni.Socket.accept(Native Method)
at 
org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1021)
at java.lang.Thread.run(Thread.java:744)

ajp-apr-8009-AsyncTimeout

"ajp-apr-8009-AsyncTimeout" Id=38 Group=main TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at 
org.apache.tomcat.util.net.AbstractEndpoint$AsyncTimeout.run(AbstractEndpoint.java:129)
at java.lang.Thread.run(Thread.java:744)

ajp-apr-8009-Poller

"ajp-apr-8009-Poller" Id=36 Group=main TIMED_WAITING on 
org.apache.tomcat.util.net.AprEndpoint$Poller@2889a639
at java.lang.Object.wait(Native Method)
-  waiting on org.apache.tomcat.util.net.AprEndpoint$Poller@2889a639
at 
org.apache.tomcat.util.net.AprEndpoint$Poller.run(AprEndpoint.java:1656)
at java.lang.Thread.run(Thread.java:744)

AsyncFileHandlerWriter-202351093

"AsyncFileHandlerWriter-202351093" Id=11 Group=main TIMED_WAITING on 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@63b0710
at sun.misc.Unsafe.park(Native Method)
-  waiting on 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@63b0710
at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
at 
java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:519)
at 
java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:682)
at 
org.apache.juli.AsyncFileHandler$LoggerThread.run(AsyncFileHandler.java:144)

ContainerBackgroundProcessor[StandardEngine[Catalina]]

"ContainerBackgroundProcessor[StandardEngine[Catalina]]" Id=31 Group=main 
TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at 
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1345)
at java.lang.Thread.run(Thread.java:744)

FilePath.localPool [#7]

"FilePath.localPool [#7]" Id=105 Group=main RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:446)
at hudson.Functions.getThreadInfos(Functions.java:1220)
at 
hudson.util.RemotingDiagnostics$GetThreadDump.call(RemotingDiagnostics.java:98)
at 
hudson.util.RemotingDiagnostics$GetThreadDump.call(RemotingDiagnostics.java:95)
at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52)
at 
jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

Number of locked synchronizers = 1
- java.util.concurrent.ThreadPoolExecutor$Worker@1072f867

Handling GET /jenkins/threadDump from 10.28.40.56 : http-apr-0.0.0.0-80-exec-2 
Jenkins/threadDump.jelly

"Handling GET /jenkins/threadDump from 10.28.40.56 : http-apr-0.0.0.0-80-exec-2 
Jenkins/threadDump.jelly" Id=86 Group=main TIMED_WAITING on 
java.util.concurrent.FutureTask@e02d801
at sun.misc.Unsafe.park(Native Method)
-  waiting on java.util.concurrent.FutureTask@e02d801
at 
java.uti

Exposing maven integration test phase to pipeline

2016-11-09 Thread tarocaravan
I have a pipeline which does a maven build. During the integration test 
phase I invoke another Jenkins job. 

Is there a way to expose parts of the build process while I'm inside a 
Maven build?

// Jenkinsfile
node {
  stage(‘Compile’) {
sh ‘mvn clean install’
  }
}
 
// pom.xml
…

  

  org.apache.maven.plugins
 maven-antrun-plugin
   
 
   integration-test

  

  http://localhost:8080/jenkins/ build 'foo' -s" />

  


  run

  

  

...

  Instead of this:

  Stage View:
  Compile -> End 

  I would like to see:

  Stage View:
  Compile -> Integration Test -> End

  And so I would like to somehow communicate to Jenkins, from within the 
pom file, that I am in another stage.

-- 
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/22f2409d-4dc7-475b-918b-d586d199884b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help needed: Pipeline, JiraIssueUpdater and SVN Groovy Script

2016-11-09 Thread Oren Chapo
Just got it, after some trial-and-error attempts. Basically I'm splitting 
the definition of the SCM object from the "checkout" command, and later 
re-use the SCM for both checkout and JiraIssueUpdater. Here's my small 
HOWTO:


   1. Use Jenkins' Snippet Generator: (Choose a Pipeline Job) -> Pipeline 
   Syntax -> Snippet Generator -> Sample Step -> checkout: General SCM
  - Fill in the required fields for your SVN configuration
  - Click "Generate Pipeline Script".
  - You should get something like: 
  - checkout(*[$class: 'SubversionSCM', additionalCredentials: [], 
  excludedCommitMessages: '', excludedRegions: '', excludedRevprop: '', 
  excludedUsers: '', filterChangelog: false, ignoreDirPropChanges: false, 
  includedRegions: '', locations: [[credentialsId: 'My-Credentials-Id', 
  depthOption: 'infinity', ignoreExternalsOption: true, local: '.', remote: 
  'https://mysvn.mydomain']], workspaceUpdater: [$class: 'UpdateUpdater']]*
  )
   2. Convert the single line generated above into the following Groovy 
   code (the common part copied from the generated snippet is marked in 
   *green*):


   def svnScm = *[$class: 'SubversionSCM', additionalCredentials: [], 
excludedCommitMessages: '', excludedRegions: '', excludedRevprop: '', 
excludedUsers: '', filterChangelog: false, ignoreDirPropChanges: false, 
includedRegions: '', locations: [[credentialsId: 'My-Credentials-Id', 
depthOption: 'infinity', ignoreExternalsOption: true, local: '.', remote: 
'https://mysvn.mydomain']], workspaceUpdater: [$class: 'UpdateUpdater']]*
   checkout(scm: svnScm)
   echo "Updating related JIRA items..."
   step([$class: 'hudson.plugins.jira.JiraIssueUpdater', issueSelector: 
[$class: 'hudson.plugins.jira.selector.DefaultIssueSelector'], scm: svnScm])
   svnScm = null

Hopefully, this saves someone else some time :-)

-- 
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/1810cf53-ada1-4a29-86f5-1c3519e67cad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Integrating Jenkins with chef

2016-11-09 Thread Irfan Sayed
ok so is it now resolved. ?
are you getting all nodes ?

On Wed, Nov 9, 2016 at 12:52 AM, Lavanya pujari 
wrote:

> Sorry Irfan I didn't know about that. I have done password less
> authentication using ssl commands and here I followed the link:
>
> http://www.tecmint.com/ssh-passwordless-login-using-ssh-
> keygen-in-5-easy-steps/
>
>
> On Tuesday, November 8, 2016 at 11:10:37 AM UTC-5, Irfan Sayed wrote:
>>
>> i need to reproduce this. is there any way to access this env.
>>
>> On Tue, Nov 8, 2016 at 6:45 PM, Lavanya pujari 
>> wrote:
>>
>>> yes Irfan I made the ssh authentication is done without password
>>>
>>> On Monday, November 7, 2016 at 1:36:04 PM UTC-5, Irfan Sayed wrote:

 can you confirm that user "miracle" is able to ssh to nodes as a
 pass-wordless authentication?
 if not, nodes will be return empty

 On Mon, Nov 7, 2016 at 10:45 PM, Lavanya pujari 
 wrote:

> Yes the cookbook pattern is same there. I also done validating syntax
> it is correct one, the nodes also assigned to that cook book only.
>
>
> On Sunday, November 6, 2016 at 4:04:53 AM UTC-5, Irfan Sayed wrote:
>>
>> lavanya,
>> any update ?
>>
>> On Sat, Nov 5, 2016 at 12:12 AM, Irfan Sayed 
>> wrote:
>>
>>> can you confirm following:
>>>
>>>1. curl::default is really the "cookbook::recipe" pattern?
>>>2. can you click on validate syntax button and check whether the
>>>syntax is correct
>>>3. nodes are really assigned to that cookbooks ?
>>>
>>> please let me know
>>> Regards,
>>>
>>>
>>> On Fri, Nov 4, 2016 at 12:39 PM, Irfan Sayed 
>>> wrote:
>>>
 I am looking into it.
 Regards,


 On Wed, Nov 2, 2016 at 12:36 AM, Lavanya pujari <
 pujarila...@gmail.com> wrote:

>
>
> On Tuesday, November 1, 2016 at 3:04:00 PM UTC-4, Lavanya pujari
> wrote:
>>
>> The scenario of Integrating Jenkins with Chef is:
>>
>> I have configured jenkins with 3 plugins like Chef Identity
>> plugin, Chef Sinatra Plugin and Chef plugin.
>>
>> While configuring with Chef Identity, I provided the identity
>> name, knife.rb and pem file details. From there using sinatra 
>> plugin, I am
>> providing the url of the chefserver and tested the connection it is 
>> showing
>> as test connection is success. But here I am unable to fetch the 
>> nodes. I
>> am attaching the screenshot which I have configured with sinatra 
>> plugin.
>> Does anyone have any idea about this, suggest me Is this is correct 
>> or not
>>
>>
>>
>>
>> On Tuesday, October 25, 2016 at 2:55:28 PM UTC-4, Irfan Sayed
>> wrote:
>>>
>>> if you want to execute the chef-client on the set of nodes which
>>> are fetched based on certain pattern of cookbook and recipe 
>>> pattern, then
>>> chef sinatra plugin is the better choice. further, chef client runs 
>>> in
>>> parallel on all these nodes so that you can save much time there.
>>>
>>> please let us know if this is what you are looking for ?
>>> else let us know what is your exact requirement
>>>
>>> Regards,
>>>
>>>
>>> On Tue, Oct 25, 2016 at 9:01 PM, suresh kumar <
>>> pskum...@gmail.com> wrote:
>>>
 Hi Lavanya,
 Could you explain the full scenario what you are trying to
 achieve. In that case you may get correct guidance rather than fix 
 for your
 problem.
 I foresee you are trying to register a node to chef server and
 then execute the respective recipes.

 -Suresh

 On Tuesday, October 25, 2016 at 4:40:01 PM UTC+5:30, Lavanya
 pujari wrote:
>
> Is there any requirement to add certificate to jenkins for
> fetching nodes from online chef server. As I am using chef 
> sinatra plugin
> and chef Identity plugin.
>
> On Monday, October 24, 2016 at 3:43:36 PM UTC-4, Teichner
> Peter wrote:
>>
>> Which plugin are you using?
>>
>> Get Outlook for Android 
>>
>>
>>
>> On Mon, Oct 24, 2016 at 8:39 PM +0100, "Lavanya pujari" <
>> pujarila...@gmail.com> wrote:
>>
>> I am working on integrating jenkins with chef. So Inorder to
>> communicate I need to fetch the nodes from chef server where I 
>> am able to
>> establish connection between these two. How can I fetch the 
>> no

Re: Why have our Jenkins/Plugins *.hpi files changed to *.jpi files?

2016-11-09 Thread Stephen Connolly
When you start up any Jenkins after something like 1.5xx then it will
automatically rename all .hpi files to .jpi

On 8 November 2016 at 16:55, Robert Kruck  wrote:

> Anyone is free to answer this question:
>
> Is there any scenario in which Jenkins plugins filenames, associated with
> Jenkins 2.5, might have had their plugin file extensions changed from *.hpi
> to *.jpi, in the absence of human intervention or human error?
>
> ++
>
> On Tuesday, November 8, 2016 at 9:40:24 AM UTC-6, Robert Kruck wrote:
>
>> Based on your result, and based on the fact that no one in our group
>> touched Jenkins Plugins in any way (in our build servers), is it possible
>> that some sort of internal code in our Jenkins main installation (we are
>> using Jenkins 2.5, which was installed earlier this year) could have
>> changed on its own our Jenkins plugin file extensions from *.hpi to *.jpi?
>>
>> Or is this impossible and has this change occurred because of some human
>> error that occurred in the Jenkins\Plugins folders in our build machines?
>>
>> On Tuesday, November 8, 2016 at 9:19:26 AM UTC-6, Daniel Beck wrote:
>>
>>>
>>> > On 08.11.2016, at 15:59, Robert Kruck  wrote:
>>> >
>>> > I would expect all the renamed *.jpi Jenkins plugins to have "Date
>>> Modified" updated to November 2016, but the "Date Modified" for all the
>>> renamed *.jpi Jenkins plugins is June 15, 2016 or earlier.
>>>
>>> I just booted up a Windows 8.1 test VM and tried it: Renaming a file
>>> does not change the modification date on Windows.
>>>
>>> --
> 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/5d4188a4-580c-4cf8-bbbd-3b1a1ebf72a4%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/CA%2BnPnMzvjchav54DGE6A8-kdEUeoZiaWc7JnNFdB%2BvFOyvvXYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline in multiple OS platforms (docker slaves)

2016-11-09 Thread Jesús Linares
So, is there a better way to test my code in several docker slaves?.

Thanks.

El miércoles, 9 de noviembre de 2016, 12:30:41 (UTC+1), Daniel Beck 
escribió:
>
>
> > On 09.11.2016, at 11:24, Jesús Linares  > wrote: 
> > 
> > • On the other hand, I can't execute it with parallel because I 
> can't use parallel with stages. How can I execute it parallely? 
> > 
>
> It seems you need to choose one or the other: 
>
>
> https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Stage+View+Plugin#PipelineStageViewPlugin-UsageNotes/Limits:
>  
>
>
>

-- 
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/dc17e9ff-3e6d-43a2-851c-64ccba15e068%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Multibranch pipeline : where can the script find out about the current build?

2016-11-09 Thread Jonathan Hodgson
Hi,

Having finally got the core of my try-before-commit project working, I'm 
shortly going to move on to the building of committed projects.

Since I have multiple branches of some projects, the Multibranch pipeline 
looks like a good solution (having multiple projects all using the same 
framework, it would be nice if I could use organization folders, but I'm 
using Mercurial).

Anyway, my script needs information about the build for reporting purposes, 
such as which branch, which revision.

It woud seem that some of that is in the scm object, but how do I get 
access to the actual values stored there?

scm.revision result in the error

org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts 
not permitted to use method hudson.plugins.mercurial.MercurialSCM getRevision


In fact I can see that sandboxing is going to be an issue, if there a way for 
things to NOT run in a sandbox if I'm using jenkins files?


regards

Jon

-- 
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/c5198817-a01b-4a0a-8a04-7d1ac357c791%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Configuration lost when using a pipeline script from scm

2016-11-09 Thread Andrea Campolonghi
Git it thanks!

On Wednesday, November 9, 2016 at 2:16:46 PM UTC+1, Daniel Beck wrote:
>
> If you set any property of the job using 'properties', you will erase all 
> others. 
>
> Also, if you ask a question on IRC, you should stick around. 
>
> > On 09.11.2016, at 13:58, Andrea Campolonghi  > wrote: 
> > 
> > Hi, 
> > 
> > I am having some trouble with pipelines job configuration. I define some 
> job configuration like build triggers etc and then a load my pipeline 
> script from scm. 
> > Any time a build is triggered all the configuration are lost except for 
> the pipeline SCM details. 
> > 
> > Anyone having the same 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-use...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/ecc96301-a054-492d-b491-81f8c45514fd%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/f02999b7-dad7-4f1b-ac96-85f45bfe8648%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Configuration lost when using a pipeline script from scm

2016-11-09 Thread Daniel Beck
If you set any property of the job using 'properties', you will erase all 
others.

Also, if you ask a question on IRC, you should stick around.

> On 09.11.2016, at 13:58, Andrea Campolonghi  wrote:
> 
> Hi,
> 
> I am having some trouble with pipelines job configuration. I define some job 
> configuration like build triggers etc and then a load my pipeline script from 
> scm.
> Any time a build is triggered all the configuration are lost except for the 
> pipeline SCM details.
> 
> Anyone having the same 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/ecc96301-a054-492d-b491-81f8c45514fd%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/B35E2143-94D8-4DBD-8B10-B3BF8B626BFD%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Configuration lost when using a pipeline script from scm

2016-11-09 Thread Andrea Campolonghi
Hi,

I am having some trouble with pipelines job configuration. I define some 
job configuration like build triggers etc and then a load my pipeline 
script from scm.
Any time a build is triggered all the configuration are lost except for the 
pipeline SCM details.

Anyone having the same 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/ecc96301-a054-492d-b491-81f8c45514fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline in multiple OS platforms (docker slaves)

2016-11-09 Thread Daniel Beck

> On 09.11.2016, at 11:24, Jesús Linares  wrote:
> 
>   • On the other hand, I can't execute it with parallel because I can't 
> use parallel with stages. How can I execute it parallely?
> 

It seems you need to choose one or the other:

https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Stage+View+Plugin#PipelineStageViewPlugin-UsageNotes/Limits:

-- 
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/B98626F9-D01B-4D05-9D14-FD9F02531D6E%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


@Library support private github repository?

2016-11-09 Thread Grégory Lureau
Hi there,

I found some examples on the web to use @Library with public repositories, 
and I would re-use that but my company is using private github repositories.
Is it possible to define a library in a private repository ?
>From what I tried, it failed to download due to credential issue, but it's 
the same credential that is used when I 'checkout scm' so not sure where is 
the problem or if it's actually feasible.

Best Regards,
Greg

-- 
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/79cceb26-bba6-4116-bc74-950fef5c59b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Coded pipeline - auto job creation (webhook) ???

2016-11-09 Thread Grégory Lureau
Hi Thomas,

If you're using github, maybe that could help 
you? 
https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Organization+Folder+Plugin
It's basically checking all repos in your github organization, and if they 
match some requirements (your regexp + have a Jenkinsfile), it will create 
all jobs.
I read there is similar tool for Bitbucket but never tried.

Best Regards,
Greg

Le mardi 8 novembre 2016 11:07:48 UTC+1, thomas@teamaol.com a écrit :
>
> Hi,
>
> We have a coded pipeline and using webhooks in our Git system.
> The *existing* Jenkins pipeline job is executed on a change.
> Fine.
>
> As already mentioned this works only when the job does exist.
> *Is there a way to organize that a Jenkins job gets automatically created?*
>
> It would be great if we could implement something like: "asking the 
> concrete repository what to do"
> I could imagine that I need to store a job.xml in my repository ...
> *Any ideas?*
>
> Regards,
> 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/18eedcc5-1530-4d3a-a3cd-7ddc92b5ef19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: No output for Brakeman Plugin in Jenkins dashboard

2016-11-09 Thread Fred


On Wednesday, November 9, 2016 at 10:20:21 AM UTC, Fred wrote:
>
> Hi all.
>
> Centos 7
>
> Jenkins 2.30
>
> Brakeman plugin: 0.8
>
> I think I have got the Brakeman plugin installed OK, and it seems to be 
> generating the correct output file, and the build step is passing in 
> Jenkins OK, as noted in the attached screenshot of the Stage Log - 
> jenkins-brakeman-run.png.
>
> I have also added the following step to the Jenkinsfile to publish the 
> output from the brakeman plugin:
>
> stage('Brakeman security scanner') {
>   node {
> ...
>
> // publish the scanner results
> publishBrakeman '/var/lib/jenkins/brakeman-output.tabs'
>   }
>  }
>
> From the documentation for the plugin at 
> https://wiki.jenkins-ci.org/display/JENKINS/Brakeman+Plugin:
>
> Publishing Results 
>>
>> Check the "Publish Brakeman warnings" option under "Post-build Actions". 
>> Make sure the output file name matches the one used in the shell command.
>>
>
> I cannot find a Post-build action or the Publish Brakeman warnings option 
> to check.
>
> From the document for the Brakeman website: 
> http://brakemanscanner.org/docs/jenkins/setup/
>
> Enable the plugin 
>>
>> On the job configuration page, check the box next to “Publish Brakeman 
>> warnings”. On newer builds of Jenkins, you’ll find this under the “Add 
>> post-build action” dropdown at the bottom of the page.
>>
>> The plugin will look for an output file from Brakeman in the work 
>> directory. The name of the output file can be specified here, but the 
>> default should be fine.
>>
>
> This still does not shed much light on the issue.
>
> Is there another module that I might need, or does the Brakeman plugin 
> also install all the modules it needs when it is installed?
>
> Can anyone please tell me how to get Brakman to display the scan results 
> in Jenkins dashboard, for the developers to view these results?
>
> TIA
>
> Fred
>

-- 
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/8993f91c-477f-4c93-8151-b4622b575a03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pipeline in multiple OS platforms (docker slaves)

2016-11-09 Thread Jesús Linares
Hi,

I want to test my project in several platforms: Ubuntu, CentOS, Debian, 
etc. I have created some docker slaves in jenkins for each platform. My 
jenkins file looks like:

def labels = ['DockerSlaveXenial', 'DockerSlaveTrusty']


def stage1() {
checkout scm
sh 'ls -l'
}


def stage2() {
sh 'ls -lah'
sh 'echo hi'
}


for (x in labels) {
def label = x


node(label) {
stage ('Checkout source'){
stage1()
}
stage ('Tests'){
stage2()
}
}
}


It is working, it is executing the 2 stages in each node (docker slave). I 
have 3 questions:

   1. Is this the proper way to do it?.
   2. in *Stage View* I see a table with 4 columns: Checkout source, Tests, 
   Checkout source, Tests. Meaning two columns (checkout source and tests) for 
   each node. How can I group the test by node and stage?.
   3. On the other hand, I can't execute it with *parallel *because I can't 
   use *parallel *with *stages*. How can I execute it parallely?
   
Thanks.
Regards.

-- 
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/989ae8d5-6e88-4098-b383-1b303fc891ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


No output for Brakeman Plugin in Jenkins dashboard

2016-11-09 Thread Fred
Hi all.

Centos 7

Jenkins 2.30

Brakeman plugin: 0.8

I think I have got the Brakeman plugin installed OK, and it seems to be 
generating the correct output file, and the build step is passing in 
Jenkins OK, as noted in the attached screenshot of the Stage Log - 
jenkins-brakeman-run.png.

I have also added the following step to the Jenkinsfile to publish the 
output from the brakeman plugin:

stage('Brakeman security scanner') {
  node {
...

// publish the scanner results
publishBrakeman '/var/lib/jenkins/brakeman-output.tabs'
  }
 }

>From the documentation for the plugin at 
https://wiki.jenkins-ci.org/display/JENKINS/Brakeman+Plugin:

Publishing Results 
>
> Check the "Publish Brakeman warnings" option under "Post-build Actions". 
> Make sure the output file name matches the one used in the shell command.
>

I cannot find a Post-build action or the Publish Brakeman warnings option 
to check.

>From the document for the Brakeman website: 
http://brakemanscanner.org/docs/jenkins/setup/

Enable the plugin 
>
> On the job configuration page, check the box next to “Publish Brakeman 
> warnings”. On newer builds of Jenkins, you’ll find this under the “Add 
> post-build action” dropdown at the bottom of the page.
>
> The plugin will look for an output file from Brakeman in the work 
> directory. The name of the output file can be specified here, but the 
> default should be fine.
>

This still does not shed much light on the issue.

Is there another module that I might need, or does the Brakeman plugin also 
install all the modules it needs when it is installed?

Can anyone please tell me how to get Brakman to display the scan results in 
Jenkins dashboard, for the developers to view these results?

TIA

Fred

-- 
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/e5647724-dcb5-4150-8c1c-8c7705f7d627%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem with Jenkins and install plugin

2016-11-09 Thread Gurkirat
did u solved it?


On Friday, December 5, 2014 at 9:52:59 PM UTC+5:30, Fabien Sechi wrote:
>
> Préparation 
>
>- Vérification de la connexion à internet
>- Vérification de la connexion à jenkins-ci.org
>- Succès
>
>
> CAS1 Plugin 
>  Échec -
>
> hudson.util.IOException2: Failed to download from 
> http://updates.jenkins-ci.org/download/plugins/cas1/1.0.1/cas1.hpi 
> (redirected to: 
> http://ftp.nluug.nl/programming/jenkins/plugins/cas1/1.0.1/cas1.hpi)
>   at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791)
>   at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
>   at 
> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
>   at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>   at 
> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
>   at java.lang.Thread.run(Thread.java:722)
> Caused by: java.io.IOException: Inconsistent file length: expected 8841843 
> but only got 8841843
>   at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:778)
>   ... 8 more
>
> CAS Plugin 
>  Échec -
>
> hudson.util.IOException2: Failed to download from 
> http://updates.jenkins-ci.org/download/plugins/cas-plugin/1.1.2/cas-plugin.hpi
>  (redirected to: 
> http://ftp.nluug.nl/programming/jenkins/plugins/cas-plugin/1.1.2/cas-plugin.hpi)
>   at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791)
>   at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
>   at 
> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
>   at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>   at 
> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
>   at java.lang.Thread.run(Thread.java:722)
> Caused by: java.io.IOException: Inconsistent file length: expected 1626396 
> but only got 1626396
>   at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:778)
>   ... 8 more
>
>
> I don't understand these logs...Because when you expected 1626396 but only 
> got 1626396, you must not get an Error right... ! 
>
> Maybe you could help me.
>
> I have a locahost proxy.
>
> I set this proxy by Jenkins's WebClient.
>
> This proxy success.
>
> So why it crash at the end of download.
>
>  
>

-- 
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/6cf88827-8f8f-4fbd-a8ba-5f9f5ed8179f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Suspicious sources placed by Jenkins to /tmp

2016-11-09 Thread Jozef Babjak
Hello!

My Jenkins is creating random (UUID-named) directories under /tmp 
directory. Each such directory contains C source codes of libjpeg-turbo, or 
at least something which look so. From security point of view it seems to 
me very suspicious, if such program like Java-based Jenkins is storing C 
sources. 

Is this anything which is expected?

Some interesting environment settings follow below.

Jozef



OS: Red Hat Enterprise Linux Server release 7.1 (Maipo)
Jenkins: 2.19.2
Java: Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

installed plugins:

ace-editor 1.1
active-directory 2.0
analysis-core 1.79
ant 1.4
antisamy-markup-formatter 1.5
bouncycastle-api 2.16.0
branch-api 1.11.1
build-timeout 1.17.1
checkstyle 3.46
cloudbees-folder 5.13
credentials 2.1.8
dashboard-view 2.9.10
display-url-api 0.5
durable-task 1.12
email-ext 2.52
emailext-template 1.0
external-monitor-job 1.6
git 3.0.0
git-client 2.1.0
git-server 1.7
gradle 1.25
handlebars 1.1.1
icon-shim 2.0.3
javadoc 1.4
jquery-detached 1.2.1
junit 1.19
ldap 1.13
mailer 1.18
matrix-auth 1.4
matrix-project 1.7.1
maven-plugin 2.14
momentjs 1.1.1
pam-auth 1.3
pipeline-build-step 2.3
pipeline-graph-analysis 1.2
pipeline-input-step 2.3
pipeline-milestone-step 1.1
pipeline-rest-api 2.2
pipeline-stage-step 2.2
pipeline-stage-view 2.2
resource-disposer 0.3
role-strategy 2.3.2
scm-api 1.3
script-security 1.24
ssh-credentials 1.12
structs 1.5
timestamper 1.8.7
token-macro 2.0
windows-slaves 1.2
workflow-aggregator 2.4
workflow-api 2.5
workflow-basic-steps 2.3
workflow-cps 2.22
workflow-cps-global-lib 2.4
workflow-durable-task-step 2.5
workflow-job 2.8
workflow-multibranch 2.9
workflow-scm-step 2.2
workflow-step-api 2.5
workflow-support 2.10
ws-cleanup 0.32

-- 
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/2420e301-ee95-4c5a-b080-290b73957658%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.