How to abort/kill jobs started in the parallel closure

2015-07-10 Thread ambrose nikale
I am using a build flow job, in which I trigger multiple builds of job 
using the parallel closure.
Now when I abort my build flow job, the builds already started or running 
from the parallel enclosure continue to execute.
Does anyone know how to stop these initiated builds.

Any help would be appreciated. Thanks.

-- 
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/f302bc11-a8ec-4b82-bf71-ed229e664418%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


view for job status groupped by commit

2015-07-10 Thread Azul Inho
Hey there,

I am looking for a way to achieve a view in Jenkins that shows me the list 
of jobs/tests that were broken by a particular commit. 
Similar to the pypy builbot website:

http://buildbot.pypy.org/summary

My goal is for the developers to see on a page what builds were broken by 
their commit, as each commit will trigger multiple builds
Has anyone seen anything like that but for jenkins ?

thanks

-- 
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/8e1a2f69-6c97-404c-93ce-2db2f478ed35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Changelog does not show in Jobs

2015-07-10 Thread SamL
Hello Folks,

We are having an issue where the changelog,xml file gets written to disk 
 with all the proper changes but it does not show on the Job.

Source Control: Mercurial
Jenkins: 1.580.1
Ubunutu:  14.04

Any help would be very much appreciated


-- 
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/9116e51f-3345-46df-9fbf-e22b8e79a3df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Add parameters for the job dynamically during its build

2015-07-10 Thread ambrose nikale
Hi,

I have job which accepts path as parameter.
I need to manipulate this value and get the file name and store it as a 
parameter for the same job so that it can be used while sending 
notification about the job and this new parameter can also be stored along 
with the existing ones.

has anyone tried it.


-- 
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/d20f2c73-9fe1-45c6-8b4f-fcf4522c7eb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Building error, directory doesn't contain xcode project

2015-07-10 Thread Bogdan Gabriel Onete
Like the title says, I have an issue in the shell terminal, since the 
failure originates from there. For some reason, it cannot find the Xcode 
project I have, even if the path ends in the project itself. I just want to 
build a project and select its platforms, on IOS, MAC and Android. No 
workspace, no parameters, no GitHub. Any advice or example as to how to 
build a project this way?

-- 
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/c9e1e742-c38b-4b81-a286-0c5a5e3f20d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Priority Sorter plugin fair queuing

2015-07-10 Thread ambrose nikale
Hi,

I am trying to understand how fair queuing and weighted fair queuing works.

I set the priority strategy as Absolute and started multiple builds of the 
a single job with different priorities and teh jobs queued up in the 
priority order and not he order in which they were started as expected but,
when I changed the strategy to fair queuing, I could not see the expected 
results, in-fact i did not observe any sorting in the queue. the builds ran 
in order they were started.
Same was observed with weighted fair queuing.
I tried increasing the run time for the job, so jobs would be queued up for 
more time, but did not see expected results.

Can someone help me understand 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/16ee9824-b79d-43e7-87ac-eae3e7e15eaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Dynamic Priority Sorter & Buld Now

2015-07-10 Thread ambrose nikale
Hi,
I am also looking for something same, were you able to get this working.
Please let me know.
Thanks.

On Monday, 21 November 2011 18:26:28 UTC-5, msr wrote:
>
> Hi,
>
> I have a scenario where I need some extra functionality when there are
> multiple jobs pending in a build queue.
>
> 1. I would like ability to sort the execution order (not based on
> static job priority but dynamically). The priority sorter plugin only
> allows to set priorities for a job and sorts the jobs based on those
> static priorities.
>
> 2. Ability to launch jobs simultaneously even if each of those jobs
> wasn't configured to run concurrently. Again I want this to be
> dynamic. If there are multiple pending jobs in queue, I would like
> users to be able to click a button that will launch that job
> immediately without waiting for previous job(s) to finish.
>
> I looked at available plugins but couldn't find any that could help
> me. I am open to implementing one if this is feasible.
>
> Thanks,
> MSR
>
>

-- 
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/a3ebd791-e590-4a49-8009-3890dcc5c184%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to Deploy rails application using Jenkins to MFA protected ec2 server

2015-07-10 Thread Pavan Teja
Hi,

   I have added "Post build script" plugin for rails capistrano deployment, 
While deploying I am having issue with MFA protected EC2 server, It is 
asking for MFA. Is there an option to prompt the user to enter MFA at the 
time of deployment from Jenkins ? OR Please suggest if there are any 
alternatives.

Thanks,
Pavan

-- 
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/b5c34fbf-d87f-4b1b-a23a-535337735fae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: status of LTS 1.609.2?

2015-07-10 Thread Daniel Beck
There are occasional posts to the jenkinsci-dev mailing list with some 
information, e.g.:
https://groups.google.com/forum/#!msg/jenkinsci-dev/LZ3qWDuJ2IU/pPa5Lv4Zt48J

Another option is probably the event calendar, which is now more actively 
maintained:
http://jenkins-ci.org/content/event-calendar

1.609.2 is scheduled for release on Jul 22.

On 10.07.2015, at 16:05, Tony Wallace  wrote:

> The only way I know to check for myself is 
> https://issues.jenkins-ci.org/browse/JENKINS-28058?filter=12146.
> 
> Thanks!
> 
> -- 
> 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/59ed98c4-3873-4c5c-97a0-3c628a25e5ac%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/D7510AD8-1864-4EF5-A99C-47B945C73F12%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


status of LTS 1.609.2?

2015-07-10 Thread Tony Wallace
The only way I know to check for myself is 
https://issues.jenkins-ci.org/browse/JENKINS-28058?filter=12146.

Thanks!

-- 
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/59ed98c4-3873-4c5c-97a0-3c628a25e5ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Build-Monitor/Wall Display including Maven Reactor Modules

2015-07-10 Thread Christian Flamm
*bump*

-- 
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/fa705f35-2af9-458e-a73f-eefa9298509d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
...As I've stated: Since some of manifest files are corrupted on plug-in 
repository we actually cloned to access localy, i found that exception 
handling is to be reworked. 
Simply adding some exception handlers to proper place will fix this issue.

Jenkins UC seems to be able to handle created JSON though.

Cheers

Am Freitag, 10. Juli 2015 13:35:28 UTC+2 schrieb jje:
>
> One more thing:
> Null-Pointers are rather ugly..Finally reason for NULL-Ptr. exception 
> has been probably file-type which couldn't be handled(have seen some 
> backup-files e.g.). Havn't reproduced it yet.
>
>
> Am Freitag, 10. Juli 2015 13:21:28 UTC+2 schrieb jje:
>>
>> SOLVEDSOLVED
>> SOLVEDSOLVED
>> SOLVEDSOLVED
>> SOLVEDSOLVED
>> SOLVEDSOLVED
>> SOLVEDSOLVED
>>
>> FINAL SOLUTION:
>>
>> As hpi-folder means actually only route to folder containing hpi files, 
>> I've failed because I gave path to JENK_HOME/plugins folder. 
>> But simply path to folder containing plugins, which you expect to be 
>> listed in UC is expected instead.
>>
>> 1. Create your folder containing the HPI files(installed/not installed 
>> doesn't mattter)
>> 2. Step through given manual with -hpiDirectory pointing to those
>>
>> Then your json finally provides list of all the parsed headers of plugins 
>> provided in step 1, which actually should match your content on plug-in 
>> server.
>>
>> Prost!!
>>
>>
>> Am Donnerstag, 9. Juli 2015 14:51:46 UTC+2 schrieb jje:
>>>
>>> ello Folks!
>>>  
>>> As my jenkins server is running in a subnet without internet access i was 
>>> wondering if it's possible to configure jenkins to check for plugin updates 
>>> on variable URL different from jenkins plugin centre one. 
>>> As prop'ed on 
>>> https://github.com/ikedam/backend-update-center2/wiki/How-to-create-your-own-Jenkins-Update-Center
>>>   
>>> I've tried to create my own json file, but now I'm stuck.
>>>
>>> I've did exactly the proposed steps and set up proper toolchain. As it is 
>>> compiled as an maven prj., compiling was no problem. But maven actually 
>>> fails creating the json Files.
>>>
>>> Here is toolchain I've used:Apache Maven 3.0.5 
>>> (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
>>> Maven home: /usr/local/apache-maven 
>>> 
>>> 
>>>   
>>> Java version: 1.7.0_79, vendor: Oracle Corporation  
>>> 
>>> 
>>>   
>>> Java home: /opt/Oracle_Java/jdk1.7.0_79/jre 
>>> 
>>> 
>>>   
>>> Default locale: en_US, platform encoding: UTF-8 
>>> 
>>> 
>>>   
>>> OS name: "linux", version: "3.16.0-38-generic", arch: "amd64", family: 
>>> "unix"   
>>>
>>>
>>>
>>> As maven is supposed to, it gets the plugins needed automatically - I 
>>> didn't modified pom-File anyway.
>>> But trying to run generated jars, build process fails with null-ptr. 
>>> execption:
>>>
>>> [INFO] 
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO] 
>>> 
>>> [INFO] Total time: 1.186s
>>> [INFO] Finished at: Thu Jul 09 14:36:08 CEST 2015
>>> [INFO] Final Memory: 12M/301M
>>> [INFO] 
>>> 
>>> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java 
>>> (default-cli) on project update-center2: An exception occured while 
>>> executing the Java class. null: InvocationTargetException: 
>>> NullPointerException -> [Help 1]
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
>>> goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project 
>>> update-center2: An exception occured while executing the Java class. null
>>> at 
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoE

javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.ClientLoginModule

2015-07-10 Thread Barun Vishwakarma
I am totally newbie in Jenkins and i have been trying to configure Jenkins  
+ Bitbucket + jboss 6.2.

I have a repository in Bitbucket. I am able to pull the code from Bitbucket 
and Jenkins able to build it. but at the time of deploying in Jboss its 
throwing an error 

*  javax.security.auth.login.LoginException: unable to find LoginModule 
class: org.jboss.security.ClientLoginModule *
 
I have tried with multiple solution but error could not resolve.

*Stack-trace*

Started by user anonymous 
Building in workspace /var/lib/jenkins/jobs/Spring33helloWorld/workspace
 > /usr/src/git-1.9.4/bin-wrappers/git rev-parse --is-inside-work-tree # 
 > timeout=10
Fetching changes from the remote Git repository
 > /usr/src/git-1.9.4/bin-wrappers/git config remote.origin.url 
 > g...@bitbucket.org:DrunkenCooder/spring33helloworld.git # timeout=10
Fetching upstream changes from 
g...@bitbucket.org:DrunkenCooder/spring33helloworld.git
 > /usr/src/git-1.9.4/bin-wrappers/git --version # timeout=10
using GIT_SSH to set credentials 
 > /usr/src/git-1.9.4/bin-wrappers/git -c core.askpass=true fetch --tags 
 > --progress g...@bitbucket.org:DrunkenCooder/spring33helloworld.git 
 > +refs/heads/*:refs/remotes/origin/*
 > /usr/src/git-1.9.4/bin-wrappers/git rev-parse 
 > refs/remotes/origin/master^{commit} # timeout=10
 > /usr/src/git-1.9.4/bin-wrappers/git rev-parse 
 > refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 1aea05d4f0c1934e883886197f88563e0823f153 
(refs/remotes/origin/master)
 > /usr/src/git-1.9.4/bin-wrappers/git config core.sparsecheckout # timeout=10
 > /usr/src/git-1.9.4/bin-wrappers/git checkout -f 
 > 1aea05d4f0c1934e883886197f88563e0823f153
 > /usr/src/git-1.9.4/bin-wrappers/git rev-list 
 > 1aea05d4f0c1934e883886197f88563e0823f153 # timeout=10
Parsing POMs
[workspace] $ /usr/java/jdk1.7.0_79/bin/java -cp 
/var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.6.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3/boot/plexus-classworlds-2.5.2.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3/conf/logging
 jenkins.maven3.agent.Maven32Main 
/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven3.3 
/var/cache/jenkins/war/WEB-INF/lib/remoting-2.50.jar 
/var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.6.jar 
/var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.6.jar
 57586
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f 
/var/lib/jenkins/jobs/Spring33helloWorld/workspace/pom.xml install
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building spring3 mvc maven 1.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] *--- maven-resources-plugin:2.6:resources (default-resources) @ 
spring3-mvc-maven-xml-hello-world ---
*[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent![INFO] skip non existing resourceDirectory 
/var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/main/resources
[INFO] 
[INFO] *--- maven-compiler-plugin:3.3:compile (default-compile) @ 
spring3-mvc-maven-xml-hello-world ---
*[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] *--- maven-resources-plugin:2.6:testResources (default-testResources) @ 
spring3-mvc-maven-xml-hello-world ---
*[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent![INFO] skip non existing resourceDirectory 
/var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/test/resources
[INFO] 
[INFO] *--- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ 
spring3-mvc-maven-xml-hello-world ---
*[INFO] No sources to compile
[INFO] 
[INFO] *--- maven-surefire-plugin:2.12.4:test (default-test) @ 
spring3-mvc-maven-xml-hello-world ---
*[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] *--- maven-war-plugin:2.2:war (default-war) @ 
spring3-mvc-maven-xml-hello-world ---
*[INFO] Packaging webapp
[INFO] Assembling webapp [spring3-mvc-maven-xml-hello-world] in 
[/var/lib/jenkins/jobs/Spring33helloWorld/workspace/target/spring3-mvc-maven-xml-hello-world-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources 
[/var/lib/jenkins/jobs/Spring33helloWorld/workspace/src/main/webapp]
[INFO] Webapp assembled in [37 msecs]
[INFO] Building war: 
/var/lib/jenkins/jobs/Spring33helloWorld/workspace/target/spring3-mvc-maven-xml-hello-world-1.0-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] 
[INFO] *--- maven-install-plugin:2.4:install (default-install) @ 
spring3-mvc-maven-xml-hello-world ---
*[INFO] Installing 
/var/lib/jenkins/jobs/Spring33helloWorld/workspace/target/spring3-mvc-maven-xml-hello-wo

Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
One more thing:
Null-Pointers are rather ugly..Finally reason for NULL-Ptr. exception 
has been probably file-type which couldn't be handled(have seen some 
backup-files e.g.). Havn't reproduced it yet.


Am Freitag, 10. Juli 2015 13:21:28 UTC+2 schrieb jje:
>
> SOLVEDSOLVED
> SOLVEDSOLVED
> SOLVEDSOLVED
> SOLVEDSOLVED
> SOLVEDSOLVED
> SOLVEDSOLVED
>
> FINAL SOLUTION:
>
> As hpi-folder means actually only route to folder containing hpi files, 
> I've failed because I gave path to JENK_HOME/plugins folder. 
> But simply path to folder containing plugins, which you expect to be 
> listed in UC is expected instead.
>
> 1. Create your folder containing the HPI files(installed/not installed 
> doesn't mattter)
> 2. Step through given manual with -hpiDirectory pointing to those
>
> Then your json finally provides list of all the parsed headers of plugins 
> provided in step 1, which actually should match your content on plug-in 
> server.
>
> Prost!!
>
>
> Am Donnerstag, 9. Juli 2015 14:51:46 UTC+2 schrieb jje:
>>
>> ello Folks!
>>  
>> As my jenkins server is running in a subnet without internet access i was 
>> wondering if it's possible to configure jenkins to check for plugin updates 
>> on variable URL different from jenkins plugin centre one. 
>> As prop'ed on 
>> https://github.com/ikedam/backend-update-center2/wiki/How-to-create-your-own-Jenkins-Update-Center
>>   
>> I've tried to create my own json file, but now I'm stuck.
>>
>> I've did exactly the proposed steps and set up proper toolchain. As it is 
>> compiled as an maven prj., compiling was no problem. But maven actually 
>> fails creating the json Files.
>>
>> Here is toolchain I've used:Apache Maven 3.0.5 
>> (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
>> Maven home: /usr/local/apache-maven  
>>  
>>  
>>
>> Java version: 1.7.0_79, vendor: Oracle Corporation   
>>  
>>  
>>
>> Java home: /opt/Oracle_Java/jdk1.7.0_79/jre  
>>  
>>  
>>
>> Default locale: en_US, platform encoding: UTF-8  
>>  
>>  
>>
>> OS name: "linux", version: "3.16.0-38-generic", arch: "amd64", family: 
>> "unix"   
>>
>>
>>
>> As maven is supposed to, it gets the plugins needed automatically - I 
>> didn't modified pom-File anyway.
>> But trying to run generated jars, build process fails with null-ptr. 
>> execption:
>>
>> [INFO] 
>> 
>> [INFO] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Total time: 1.186s
>> [INFO] Finished at: Thu Jul 09 14:36:08 CEST 2015
>> [INFO] Final Memory: 12M/301M
>> [INFO] 
>> 
>> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java 
>> (default-cli) on project update-center2: An exception occured while 
>> executing the Java class. null: InvocationTargetException: 
>> NullPointerException -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
>> goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project 
>> update-center2: An exception occured while executing the Java class. null
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> at 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>> at 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> at 
>> 

Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
SOLVEDSOLVED
SOLVEDSOLVED
SOLVEDSOLVED
SOLVEDSOLVED
SOLVEDSOLVED
SOLVEDSOLVED

FINAL SOLUTION:

As hpi-folder means actually only route to folder containing hpi files, 
I've failed because I gave path to JENK_HOME/plugins folder. 
But simply path to folder containing plugins, which you expect to be listed 
in UC is expected instead.

1. Create your folder containing the HPI files(installed/not installed 
doesn't mattter)
2. Step through given manual with -hpiDirectory pointing to those

Then your json finally provides list of all the parsed headers of plugins 
provided in step 1, which actually should match your content on plug-in 
server.

Prost!!


Am Donnerstag, 9. Juli 2015 14:51:46 UTC+2 schrieb jje:
>
> ello Folks!
>  
> As my jenkins server is running in a subnet without internet access i was 
> wondering if it's possible to configure jenkins to check for plugin updates 
> on variable URL different from jenkins plugin centre one. 
> As prop'ed on 
> https://github.com/ikedam/backend-update-center2/wiki/How-to-create-your-own-Jenkins-Update-Center
>   
> I've tried to create my own json file, but now I'm stuck.
>
> I've did exactly the proposed steps and set up proper toolchain. As it is 
> compiled as an maven prj., compiling was no problem. But maven actually 
> fails creating the json Files.
>
> Here is toolchain I've used:Apache Maven 3.0.5 
> (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
> Maven home: /usr/local/apache-maven   
>   
>   
> 
> Java version: 1.7.0_79, vendor: Oracle Corporation
>   
>   
> 
> Java home: /opt/Oracle_Java/jdk1.7.0_79/jre   
>   
>   
> 
> Default locale: en_US, platform encoding: UTF-8   
>   
>   
> 
> OS name: "linux", version: "3.16.0-38-generic", arch: "amd64", family: "unix" 
>   
>
>
>
> As maven is supposed to, it gets the plugins needed automatically - I 
> didn't modified pom-File anyway.
> But trying to run generated jars, build process fails with null-ptr. 
> execption:
>
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 1.186s
> [INFO] Finished at: Thu Jul 09 14:36:08 CEST 2015
> [INFO] Final Memory: 12M/301M
> [INFO] 
> 
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java 
> (default-cli) on project update-center2: An exception occured while executing 
> the Java class. null: InvocationTargetException: NullPointerException -> 
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project 
> update-center2: An exception occured while executing the Java class. null
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.mave

Re: Query on Integration Jenkins with HP Fortify

2015-07-10 Thread NP
You can integrate the jobs via ldap and trigger through the jenkins.
However, reports need to be accessed via HP fortify console for viewing the
reports...You might want to work with HP team if you have procured the
license.


On Fri, Jul 10, 2015 at 3:38 AM, Sarab  wrote:

> Hi Team ,
>
> I am trying to integrate Jenkins with HP fortify but not getting exactly
> how to achieve that. I got some information from the following link :
>
> https://wiki.jenkins-ci.org/display/JENKINS/Fortify+360+Plugin​
>
> Please help me on this?
>
> Regards,
> Sarabjeet Singh
>
> --
> 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/1f523442-efb7-42a6-b1a8-8f8c76ee9ece%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/CAEyBU%2B0TgBeu5waDXD54tz%2BRHNG076cskW5JnjHCFqv2Qwtv7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to receive reset password email

2015-07-10 Thread haocheng
Hi, 

I have received the reset email after a while.

Thank you!

Cheers

On Tuesday, July 7, 2015 at 5:26:23 AM UTC+8, Daniel Beck wrote:
>
> What's your user name and email address? 
>
> When (date and time) did you try this? 
>
> Did you check your spam filter? 
>
> On 06.07.2015, at 17:45, haocheng > 
> wrote: 
>
> > Hi, 
> > 
> > Not sure if this is the right place for this question... 
> > 
> > I tried to reset my password here: 
> https://jenkins-ci.org/account/passwordReset 
> > I tried several time. It seems working but I just did not receive the 
> email. 
> > 
> > Anyone I can ask for help? 
> > 
> > Many thanks! 
> > 
> > -- 
> > 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/46f350ac-d853-4a6c-8849-5ad0fc5fe584%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/dd102d34-5f82-4037-bbf8-21d0ac9578a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Stuck creating local jenkins update center

2015-07-10 Thread Daniel Beck
Maybe this fits your needs better?

https://github.com/yandex-qatools/juseppe

Doesn't work with a Maven index I think, but as you presumably want to offer 
one of every plugin in a flat(ish) structure for download, you can use that as 
data source for the JSON.

On 10.07.2015, at 10:36, jje  wrote:

> given one means - plugins available on your jenkins plugin folder.
> 
> Am Freitag, 10. Juli 2015 10:35:42 UTC+2 schrieb jje:
> Now I've found out, that it does not matter, which installation is 
> used(probably installed plugins are supposed to be available to final jenkins 
> installation).
> But only the given one will apear on your Update-Center Site on Jenkins.
> 
> That means, probably using a maven repository may be a better soltuion
> 
> Am Freitag, 10. Juli 2015 08:56:44 UTC+2 schrieb jje:
> Further I've found out, that my local jenkins installation may be corrupted. 
> Did I get this right:
> Either maven-created repo with plugins or jenkins installation with plugins 
> used is needed, isn't it?
> 
> Does creation of JSON with an other jenkins installation then the final one 
> used  make a difference to the created UC?
> 
> I tried to put only one plguin into my JENK_HOME/plugins folder and JSON has 
> been created as expected. But unfortunally our main jenkins server is not 
> connected to www, so building UC with maven is not an option as mvn. plugin 
> dependencien cannot be resolved.
> 
> Joe
> 
> 
> -- 
> 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/27f452b1-e847-47b9-8a66-607617d7c1c9%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/E781D594-D5BD-4B2F-B0BF-EE77A7A6F3AB%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
given one means - plugins available on your jenkins plugin folder.

Am Freitag, 10. Juli 2015 10:35:42 UTC+2 schrieb jje:
>
> Now I've found out, that it does not matter, which installation is 
> used(probably installed plugins are supposed to be available to final 
> jenkins installation).
> But only the given one will apear on your Update-Center Site on Jenkins.
>
> That means, probably using a maven repository may be a better soltuion
>
> Am Freitag, 10. Juli 2015 08:56:44 UTC+2 schrieb jje:
>>
>> Further I've found out, that my local jenkins installation may be 
>> corrupted. Did I get this right:
>> Either maven-created repo with plugins or jenkins installation with 
>> plugins used is needed, isn't it?
>>
>> Does creation of JSON with an other jenkins installation then the final 
>> one used  make a difference to the created UC?
>>
>> I tried to put only one plguin into my JENK_HOME/plugins folder and JSON 
>> has been created as expected. But unfortunally our main jenkins server is 
>> not connected to www, so building UC with maven is not an option as mvn. 
>> plugin dependencien cannot be resolved.
>>
>> Joe
>>
>>

-- 
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/27f452b1-e847-47b9-8a66-607617d7c1c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
Now I've found out, that it does not matter, which installation is 
used(probably installed plugins are supposed to be available to final 
jenkins installation).
But only the given one will apear on your Update-Center Site on Jenkins.

That means, probably using a maven repository may be a better soltuion

Am Freitag, 10. Juli 2015 08:56:44 UTC+2 schrieb jje:
>
> Further I've found out, that my local jenkins installation may be 
> corrupted. Did I get this right:
> Either maven-created repo with plugins or jenkins installation with 
> plugins used is needed, isn't it?
>
> Does creation of JSON with an other jenkins installation then the final 
> one used  make a difference to the created UC?
>
> I tried to put only one plguin into my JENK_HOME/plugins folder and JSON 
> has been created as expected. But unfortunally our main jenkins server is 
> not connected to www, so building UC with maven is not an option as mvn. 
> plugin dependencien cannot be resolved.
>
> Joe
>
>

-- 
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/e05bebf0-d2c2-49c1-8d10-9597c06f9dd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: immediately fail whole matrix job if one configuration fails

2015-07-10 Thread Simon Richter
Hi,

On 10.07.2015 09:39, Simon Haegler wrote:

> is there a way to immediately fail a matrix job as soon as one of its
> configuration fails?

The usual way is to define one or more "touchstone configurations" that
are built first, and starting the remaining jobs only if these succeeded.

   Simon

-- 
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/559F7D55.6060405%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
This statement may be false, as we enter listHudsonPlugis().
Right in there we gonna crash then

Am Donnerstag, 9. Juli 2015 16:35:51 UTC+2 schrieb jje:
>
> As I've stated, i get null pointer exception in protected JSONObject 
> buildPlugins() -->Main.java;
>
> There is no NULL Pointer check for this statement:
>
> /**
>  * Build JSON for the plugin list.
>  * @param repository
>  * @param redirect
>  */
> protected JSONObject buildPlugins(MavenRepository repository, 
> PrintWriter redirect) throws Exception {
>
> ConfluencePluginList cpl = nowiki?new NoConfluencePluginList():new 
> ConfluencePluginList();
> cpl.initialize();
>
> int total = 0;
>
> JSONObject plugins = new JSONObject();
> 
> for( PluginHistory hpi : repository.listHudsonPlugins() ) {
>
> This actually causes build to crash
>
>
>

-- 
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/ce1f7793-4ef2-48f1-984b-f9aad38d2d77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


immediately fail whole matrix job if one configuration fails

2015-07-10 Thread Simon Haegler
hi group

is there a way to immediately fail a matrix job as soon as one of its 
configuration fails?
my motivation is to free up slave resources as early as possible...

TIA,
simon

-- 
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/2f333fee-d26b-4d9f-b1c6-e0210f1218c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Query on Integration Jenkins with HP Fortify

2015-07-10 Thread Sarab
Hi Team ,
 
I am trying to integrate Jenkins with HP fortify but not getting exactly 
how to achieve that. I got some information from the following link :
 
https://wiki.jenkins-ci.org/display/JENKINS/Fortify+360+Plugin​
 
Please help me on this?
 
Regards,
Sarabjeet Singh

-- 
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/1f523442-efb7-42a6-b1a8-8f8c76ee9ece%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.