How can the defects get logged to RTC whenevere there is a failure in the jenkins job ?

2015-07-29 Thread Krishna Kumar Tiwari
Hi 

I am planning to integrate my jenkins job and wants whenever the job gets 
failed (at any step may be during installation of build, running tests 
etc.) , a defect should get logged to RTC. 

There are couple of Jenkins plugin but they don't log a defect. 

https://wiki.jenkins-ci.org/display/JENKINS/Team+Concert+Plugin 

https://wiki.jenkins-ci.org/display/JENKINS/Rational+Team+Concert+Plugin 


Any help how to do 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/c1fca776-99be-4b85-b7ae-7346b3cf00e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Use Repository Sharing - advice please

2015-07-29 Thread David Brown
Thank you for the replies.  It seems that Use Repository Sharing is not 
for me! I shall reconsider my approach to my problem and investigate your 
suggestions. Thank you again.

On Tuesday, 28 July 2015 21:51:52 UTC+1, David Brown wrote:

  Here is my scenario. I have a number of Jenkins projects which build 
 from the same set of Mercurial repositories, compile source code and 
 generate executable files, etc.  I’m used to being able to run any 
 combination of these jobs in parallel. Each build runs for at least 3+ 
 hours, but the first third of the build time is spent cloning the 
 repositories and preparing an individual workspace. I have restricted disc 
 space so the jobs are setup to delete their workspace at completion.

  

 I am looking to reduce my build times.

  

 When I discovered the “Use Repository Sharing” option I was hoping it 
 would enable me to shave the repository cloning time off the start of each 
 build. However I have not been able to find much in the way of 
 documentation or advice on the use of this feature, perhaps I’ve not been 
 looking in the right places or else I’ve not looked hard enough.

  

 Here’s what I’ve discovered so far, partly through trial and error:

- Need to also assign a specific Directory in the “Use custom 
workspace” option within Advanced Project Options (a per Project setting)
- I set the same shared workspace folder against two jobs
- When I attempted to run both jobs in parallel one job failed with 
message “The process cannot access the file because it is being used by 
another process.”, suggesting that I have to wait for the build of Project 
A to finish before I can start a build of Project B 

  

 Am I naive in expecting this feature to allow jobs to be run in parallel? 
 If I can’t do this then I don’t think this feature will be of any benefit 
 to me.

  

 Any tips, guidance or advice would be gratefully received.

  

  

  
  
 --
 Confidentiality notice: This message may contain confidential information. 
 It is intended only for the person to whom it is addressed. If you are not 
 that person, you should not use this message. We request that you notify us 
 by replying to this message, and then delete all copies including any 
 contained in your reply. Thank you.
  

-- 
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/05d15568-1698-4b73-bfe7-d8a735406dd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


jenkinsCLI --- Exception in thread main java.net.SocketTimeoutException: connect timed out

2015-07-29 Thread niristotle okram
any suggestions/fixes for this jenkins-cli error?

I have a deploy job, which is parametrized (test, stage, prod). So, 
whenever there is a deploy to the staging env, i am trying to make 
Jenkins *slaves* execute a groovy script. Trying to test the 
jenkins-cli.jar, i got this error:

[jenkins@ip-10-0-0-92 scripts]$ java -jar jenkins-cli.jar -s 
https://my_jenkins_url.com/
Exception in thread main java.net.SocketTimeoutException: connect timed 
out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at hudson.cli.CLI.connectViaCliPort(CLI.java:203)
at hudson.cli.CLI.init(CLI.java:126)
at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
at hudson.cli.CLI._main(CLI.java:466)
at hudson.cli.CLI.main(CLI.java:382)
Suppressed: java.io.EOFException: unexpected stream termination
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:331)
at hudson.remoting.Channel.init(Channel.java:421)
at hudson.remoting.Channel.init(Channel.java:400)
at hudson.remoting.Channel.init(Channel.java:396)
at hudson.remoting.Channel.init(Channel.java:385)
at hudson.remoting.Channel.init(Channel.java:377)
at hudson.remoting.Channel.init(Channel.java:353)
at hudson.cli.CLI.connectViaHttp(CLI.java:157)
at hudson.cli.CLI.init(CLI.java:130)
... 3 more

I have done:

1. Set a fixed port for TCP/IP port for CLI and slaves  its listening on 
the master server
2. All ports are open between the jenkins nodes
3. Went through https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI


I am using nginx with valid SSL cert. 

-- 
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/2b76b0ed-9b79-44d9-ba57-030007b294df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Job structure for multiple build cycles

2015-07-29 Thread Scott Klein
I have multiple jobs - each job triggers zero or more child jobs - and I have 
a trigger to kick off a full build chain by starting the first job as a 
parameterized build

For example: Trigger - call Job 1 with clean deploy - Job 1 completes and 
calls Job 2 with the current build parameters, etc, etc

So I can run my trigger with a goal as a parameter and everything will build 
using the parameter I feed into the Trigger.

What I want to be able to do is run thru the Job build cycle twice (with 
different parameters) and after the 2nd cycle kick off a final job:

* Cycle #1: run with mvn deploy parameters

o   This must complete in full before Cycle #2 starts

* Cycle #2: run  with mvn dependency:copy-dependencies ... parameters

o   This copies provided dependencies for each job to a specific folder

* Last Step: Run final job

o   This scp's the contents of the dependencies folder up to our server

I can't imagine I am doing anything unique or new so hopefully someone can give 
me some pointers


*I cannot run both sets of parameters at the same time or within the same cycle 
- this is not an option* For some reason when I run as deploy 
dependency:copy-dependencies -DincludeScope=provided 
-DoutputDirectory=$HOME/ghlib -Dmdep.stripClassifier=true 
-Dmdep.stripVersion=true my artifacts are not created correctly, but if I just 
call deploy they do. Since I can't figure that out I figure I can just run 2 
build cycles - once for deploy and once for the dependency copy


Thanks in advance
s


-- 
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/7FB4F0EC1916C84CBA95F6E5A360E40A013E5DCDFFBB%40ghex01.hq.ghds.net.
For more options, visit https://groups.google.com/d/optout.


Re: jenkinsCLI --- Exception in thread main java.net.SocketTimeoutException: connect timed out

2015-07-29 Thread niristotle okram
i got the help command working. I use the below command. It uses the 
private ip of the  jenkins master instead of the public. And in my case the 
comm is happening between the jenkins nodes which are in the same subnet. 


[jenkins@ip-10-0-0-92 scripts]$ java -jar jenkins-cli.jar 
-noCertificateCheck -s https://10.0.0.91/ help --username 12345 --password 
banana
Skipping HTTPS certificate checks altogether. Note that this is not secure 
at all.
  add-job-to-view
Adds jobs to view.
  build
Builds a job, and optionally waits until its completion.
  cancel-quiet-down
Cancel the effect of the quiet-down command.
  clear-queue
Clears the build queue.
  connect-node
Reconnect to a node.
  console
Retrieves console output of a build.
  copy-job
Copies a job.
  create-job
Creates a new job by reading stdin as a configuration XML file.
  create-node
Creates a new node by reading stdin as a XML configuration.
  create-view
Creates a new view by reading stdin as a XML configuration.
  delete-builds


So, the problem is likely the nginx in use ???





On Wednesday, July 29, 2015 at 2:32:29 PM UTC-7, niristotle okram wrote:

 any suggestions/fixes for this jenkins-cli error?

 I have a deploy job, which is parametrized (test, stage, prod). So, 
 whenever there is a deploy to the staging env, i am trying to make 
 Jenkins *slaves* execute a groovy script. Trying to test the 
 jenkins-cli.jar, i got this error:

 [jenkins@ip-10-0-0-92 scripts]$ java -jar jenkins-cli.jar -s 
 https://my_jenkins_url.com/
 Exception in thread main java.net.SocketTimeoutException: connect timed 
 out
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
 at 
 java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
 at 
 java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
 at java.net.Socket.connect(Socket.java:579)
 at hudson.cli.CLI.connectViaCliPort(CLI.java:203)
 at hudson.cli.CLI.init(CLI.java:126)
 at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
 at hudson.cli.CLI._main(CLI.java:466)
 at hudson.cli.CLI.main(CLI.java:382)
 Suppressed: java.io.EOFException: unexpected stream termination
 at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:331)
 at hudson.remoting.Channel.init(Channel.java:421)
 at hudson.remoting.Channel.init(Channel.java:400)
 at hudson.remoting.Channel.init(Channel.java:396)
 at hudson.remoting.Channel.init(Channel.java:385)
 at hudson.remoting.Channel.init(Channel.java:377)
 at hudson.remoting.Channel.init(Channel.java:353)
 at hudson.cli.CLI.connectViaHttp(CLI.java:157)
 at hudson.cli.CLI.init(CLI.java:130)
 ... 3 more

 I have done:

 1. Set a fixed port for TCP/IP port for CLI and slaves  its listening on 
 the master server
 2. All ports are open between the jenkins nodes
 3. Went through https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI


 I am using nginx with valid SSL cert. 


-- 
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/bd88072c-1c01-4d03-a765-e908dddad78a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using jenkins-cli.jar groovy . . . is there some cleaver way to pass parameters into the Groovy script?

2015-07-29 Thread niristotle okram

did you got the answer of this? \

On Friday, March 22, 2013 at 1:33:04 PM UTC-7, Merrow, Frank wrote:

  So I am using Jenkins-cli to execute a groovy script in my Jenkins 
 servers . . . works great.

  

 Except now I want to pass that groovy script a parameter . . . 

  

 Does someone have some cleaver way of passing data into the Groovy script?

  

 Frank
  

-- 
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/90d7c97f-167a-4817-89fe-6a32e2907f45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TFS Builds, Jenkins Handles CI

2015-07-29 Thread zippo7061
We have a situation where we need builds to happen in VS/TFS.  We can't run 
msbuild inside of a jenkins build anymore, it has to created using TFS 
build.  We could switch from msbuild to the tfsbuild command line, but we 
will lose the job and build number (not to mention changeset).

Is there a best way to do this?  We still want Jenkins moving the build to 
dev/tst/stg/prod, but the build has to trace back to tfs.

-- 
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/2263a3ac-ee13-4811-a8e5-004b5bf4c905%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins + Windows slave replacement = problem

2015-07-29 Thread Alfred Sawaya
Hello Chanda,

Thank you for your reply.

Actually, I have found the problem. On Windows 32 bits, I must use
C:\Program Files\Git\cmd\git.exe and on 64 bits ...\bin\git.exe... It's not
a Jenkins bug.

Now I have some other errors... maybe not because of Jenkins, but as usual
the build works without Jenkins.


On my Windows 2003 64 bits :

C:\Program Files (x86)\Git\bin\sh.exe: *** fork: can't reserve memory
for stack 0x4A - 0x6A, Win32 error 0
  0 [main] sh 1800 sync_with_child: child 2004(0x71C) died before
initialization with status code 0x1
   4717 [main] sh 1800 sync_with_child: *** child state waiting for longjmp
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\hudson466784039591434222.sh:
fork: Resource temporarily unavailable
Build step 'Exécuter un script shell' marked build as failure
Finished: FAILURE


In fact, when I do a sh in a sh in cmd.exe, I have the same error,
but if I use C:\windows\syswow64\cmd.exe, it works. So, How can I tell
Jenkins to use the latter cmd.exe ?



The other error is on a Windows 2008 R2 64 bits slave :


CMake Error at c:/Program Files
(x86)/CMake/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61
(message):
  The C compiler c:/TDM-GCC/bin/gcc.exe is not able to compile a simple
  test program.

  It fails with the following output:

   Change Dir: C:/Nadra/workspace/test_win2/cmake_w/release/CMakeFiles/CMakeTmp



  Run Build Command:c:/MinGW/bin/make.exe cmTryCompileExec2205426971/fast

  c:/MinGW/bin/make.exe -f
  CMakeFiles/cmTryCompileExec2205426971.dir/build.make
  CMakeFiles/cmTryCompileExec2205426971.dir/build


  c:/MinGW/bin/make.exe: Interrupt/Exception caught (code = 0xc005, addr
  = 0x759b43f9)


  make.exe: *** [cmTryCompileExec2205426971/fast] Error 255




But the PATH is the same on Jenkins and on my host (I print $PATH in the
job).
And when I run cmake from cmd.exe, it works...

I use the last version of Jenkins (1.622), and the slaves use JNLP to
connect the master.

Thank you,


2015-07-29 0:35 GMT+02:00 Chanda Unmack cha...@lytro.com:



 On Tue, Jul 28, 2015 at 9:58 AM, Alfred Sawaya wildh...@gmail.com wrote:

 Hello,

 I have a problem with Jenkins.

 I have a windows host, I use jnlp to connect.
 When I first run the job, it creates the workspace dir, the job dir, the
 .git dir with the good config, but the fetch fail.
 If I go to the job dir and run the fetch by hand, it works.
 The job never go further the fetch step. It used to work, but I have
 reinstalled the compilation slave. It still work on the old slave, and the
 configuration is good (PATH, etc.). It seems not to be a slave
 configuration or a Jenkins configuration issue.

 Here is the log : http://pastebin.com/3uA7DyPc

 Any idea, please ?

 Thank you,

 --


 I ran into that more than once on windows slaves, but was never the same
 issue twice.
 Are you using a system account? if so, have you updated your credentials
 in the right place for the system account? If you're using a specific
 account, was that the same account you logged in as which worked? Do you
 have the HOME environment variable set for that user?

 With more recent versions of the git plugin, you can change the timeout,
 have you tried changing the timeout to be  10min?

 Maybe a little more information will help others help you pinpoint the
 difference between the old and rebuilt slave.

 chanda

  --
 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/djB9NeNkFvE/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/CAEMChJiGHgPrL3KGoa2wJ-XQ4NyAVQnp9xsJpevOuioUpr_Sog%40mail.gmail.com
 https://groups.google.com/d/msgid/jenkinsci-users/CAEMChJiGHgPrL3KGoa2wJ-XQ4NyAVQnp9xsJpevOuioUpr_Sog%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

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




-- 


.''`.
   : :'  :   .:: Alfred Sawaya ::.
   `. `'`
 `-

-- 
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/CAHEGq0r4JMMvxcgiFpDN5yDDqxztZR2nC9EP0um2--uQ35wOuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Upload jenkins build file to my release management site via HTTP

2015-07-29 Thread Ahsan shamsudeen
Hi,

I have scheduled some jenkins build jobs(maven build) which triggers via 
svn commits. After a successful build, I need to upload the build file(.war 
file, .ear file) to my release management site via HTTP request. On my 
release management site, I was expecting an HTTP multipart request. I go 
through the details of HTTP Web request plugin[1] HTTP Post plugin[2] . Can 
I able to  do this via these plugins ? Or is there any alternative 
solutions? 


[1] - https://wiki.jenkins-ci.org/display/JENKINS/HTTP+Request+Plugin
[2] - https://wiki.jenkins-ci.org/display/JENKINS/HTTP+POST+Plugin

Thanks,
Ahsan

-- 
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/8e013f3c-678e-46f9-aa36-96384b859145%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help please - Admin privilege issue with Jenkins on Windows

2015-07-29 Thread Musaffir Lp
Hey,

Is your user id contains camel case letters   i.e both capital and 
small letters ..some thing like - Userid
instead of it use only small letters user id some thing like --  userid

this will resolve your problem of permission getting revoked after a 
jenkins restart...


On Wednesday, July 29, 2015 at 11:13:31 AM UTC+8, Musaffir Lp wrote:

 Are you facing this with the latest jenkins version 1.622 ?
 I am experiencing the same here

 After restart of jenkins server, the access permissions set for a user 
 seems to getting revoked.
 Not sure whats wrong 


 On Friday, July 24, 2015 at 4:43:57 PM UTC+8, Shajimon Paremmal wrote:

 even the system restart doesn't work. What could be going wrong?
 In the new Jnkins version, I can't see the page for assigning admin 
 privileges to the user.

 On Thu, Jul 23, 2015 at 10:56 PM, Shajimon Paremmal shajip...@gmail.com 
 wrote:

 Hi, anyone has a clue about what could be causing the issue and what 
 would be the solution?

 --
 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/RkR8WwaEMVY/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to 
 jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/e0e38cbc-149f-4e19-aebd-fa2376af6299%40googlegroups.com
 .
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Thanks,
 Shaji.
  


-- 
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/fa2ac678-560d-42d2-b5f8-181c094bdeee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Access Denied after Jenkins re-start

2015-07-29 Thread Musaffir Lp
Resolved it by using the user id contains only small letters


On Wednesday, July 29, 2015 at 11:24:45 AM UTC+8, Musaffir Lp wrote:

 Hi,

 I am using Jenkins latest 1.622 war 
 I am starting the jenkins server from command prompt and accessing the 
 jenkins url

 I signed up a user and gave the admin privilege from project based matrix 
 security set up

 However what i observe is , if i restart the jenkins server and try to 
 login with the above user , jenkins returns error as 
 
 Access Denied
 admin is missing the Overall/Read permission
 

 reproduced the issues couple of times...any one facing this... is it issue 
 with the 1.622 ?
 please let me know 


 Thanks,
 Musaffir


-- 
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/b59fffb1-8a24-4c3c-8f26-3abc49f91cd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: OOME PermGen space

2015-07-29 Thread Zsolt Kúti
Hello,

We have a maven build that keeps failing on Jenkins (1.580.2), but
runs fine outside of it.
Other versions of the same project have no problem, all runs with the
same general
Maven setting.
This build shows various errors on repeated runs, the common part in
them is PermGen.
We tried to tune Maven settings by increasing MaxPermSize, adding -T 2
to no avail.

Stacktrace below was produced after a Jenkins restart.

Any idea what's going wrong here and how to overcome this?

Thanks!

Zsolt


*06:39:22* The system is out of resources.*06:39:22* Consult the
following stack trace for details.*06:39:22*
java.lang.OutOfMemoryError: PermGen space*06:39:22* at
java.lang.ClassLoader.defineClass1(Native Method)*06:39:22* at
java.lang.ClassLoader.defineClass(ClassLoader.java:800)*06:39:22*   at
java.lang.ClassLoader.defineClass(ClassLoader.java:643)*06:39:22*   at
com.sun.tools.xjc.api.util.APTClassLoader.findClass(APTClassLoader.java:120)*06:39:22*
at 
com.sun.tools.xjc.api.util.APTClassLoader.loadClass(APTClassLoader.java:85)*06:39:22*
at 
com.sun.tools.javac.jvm.ClassReader.initParameterNames(ClassReader.java:1785)*06:39:22*
at 
com.sun.tools.javac.jvm.ClassReader.readMethod(ClassReader.java:1744)*06:39:22*
at 
com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:1948)*06:39:22*
at 
com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2020)*06:39:22*
at 
com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2208)*06:39:22*
at 
com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2139)*06:39:22*
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:421)*06:39:22*
at 
com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:821)*06:39:22*
at 
com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:2320)*06:39:22*
at 
com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:1062)*06:39:22*
at 
com.sun.tools.javac.comp.Resolve.findIdentInPackage(Resolve.java:1227)*06:39:22*
at com.sun.tools.javac.comp.Attr.selectSym(Attr.java:2392)*06:39:22*
at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:2283)*06:39:22*
at 
com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1677)*06:39:22*
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)*06:39:22*
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)*06:39:22*
at com.sun.tools.javac.comp.Attr.attribType(Attr.java:473)*06:39:22*
at com.sun.tools.javac.comp.Attr.attribType(Attr.java:466)*06:39:22*
at 
com.sun.tools.javac.comp.MemberEnter.attribImportType(MemberEnter.java:721)*06:39:22*
at 
com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:558)*06:39:22*
at 
com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:513)*06:39:22*
at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401)*06:39:22*
at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:413)*06:39:22*
at 
com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:525)*06:39:22*
at 
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:459)*06:39:22*
at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401)*06:39:22*
at 
com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:876)*06:41:13*
[ERROR] Unexpected error in channel channel*06:41:13*
java.lang.OutOfMemoryError: PermGen space*06:41:16* ERROR: Processing
failed due to a bug in the code. Please report this to
jenkinsci-users@googlegroups.com*06:41:16*
hudson.remoting.RequestAbortedException
http://stacktrace.jenkins-ci.org/search?query=hudson.remoting.RequestAbortedException:
java.net.SocketException: Connection reset*06:41:16*at
hudson.remoting.Request.abort(Request.java:295)
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request.abortentity=method*06:41:16*
at hudson.remoting.Channel.terminate(Channel.java:814)
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.terminateentity=method*06:41:16*
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.SynchronousCommandTransport$ReaderThread.runentity=method*06:41:16*
at ..remote call to Channel to Maven
[e:\Java\jdk1.7.0_55/bin/java, -Xmx1024m, -cp,
E:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.6.jar;e:\apache-maven-3.0.4\boot\plexus-classworlds-2.4.jar,
org.jvnet.hudson.maven3.agent.Maven3Main, e:\apache-maven-3.0.4,
E:\Jenkins\war\WEB-INF\lib\remoting-2.47.jar,
E:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-1.6.jar,
E:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.6.jar,
59900](Native Method)*06:41:16* at

Re: Use Repository Sharing - advice please

2015-07-29 Thread Maciej Jaros

David Brown (2015-07-28 22:51):


Here is my scenario. I have a number of Jenkins projects which build 
from the same set of Mercurial repositories, compile source code and 
generate executable files, etc.  I’m used to being able to run any 
combination of these jobs in parallel. Each build runs for at least 3+ 
hours, but the first third of the build time is spent cloning the 
repositories and preparing an individual workspace. I have restricted 
disc space so the jobs are setup to delete their workspace at completion.


I am looking to reduce my build times.

When I discovered the “Use Repository Sharing” option I was hoping it 
would enable me to shave the repository cloning time off the start of 
each build. However I have not been able to find much in the way of 
documentation or advice on the use of this feature, perhaps I’ve not 
been looking in the right places or else I’ve not looked hard enough.


Here’s what I’ve discovered so far, partly through trial and error:

  * Need to also assign a specific Directory in the “Use custom
workspace” option within Advanced Project Options (a per Project
setting)
  * I set the same shared workspace folder against two jobs
  * When I attempted to run both jobs in parallel one job failed with
message “The process cannot access the file because it is being
used by another process.”, suggesting that I have to wait for the
build of Project A to finish before I can start a build of Project B

Am I naive in expecting this feature to allow jobs to be run in 
parallel? If I can’t do this then I don’t think this feature will be 
of any benefit to me.


Any tips, guidance or advice would be gratefully received.



I think you can approach this problem differently.

1. Create a separate job (e.g. `load-repo`) which will only load
   current repository to some folder (this can be just workspace).
2. In the build/test jobs simply use the folder (you can use it
   directly or add symbolic link to it or copy if you must - depending
   on your build process).
3. Create a separate job that just runs above jobs. In this job you run
   `load-repo` as a blocking job and then run other jobs in parallel.

I don't think you can do it with just repository sharing as you would 
always have a problem when one job is already running (using repository) 
and other job wants to update repository.


Regards,
Nux.

--
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/55B87867.6050008%40mol.com.pl.
For more options, visit https://groups.google.com/d/optout.


RE: Use Repository Sharing - advice please

2015-07-29 Thread Ginga, Dick
I will chip in with my thoughts… I am not surprised that your builds are 
getting that error. You can’t necessarily run parallel builds against the same 
source folders.

First, you build process must put built artifacts (both temporary and final) 
into some unique folder structures on a per build job basis. They can’t go into 
the source folder structure and this must be settable at build time.
Second, your OS/build process must allow multiple processes to “read” files 
because your different builds might be compiling the same file at the same time 
(again, to a different destination)
Third, the source folder must be re-usable. You say “cloning the repositories 
and preparing an individual workspace”. So the build processes can’t corrupt or 
change anything in that folder structure

Then, this could work. As Maciej says below, you would have a Load-Repo job 
followed parallel executions of build jobs. This can be orchestrated using 
Build Flow (which is being deprecated but I like it) or Work Flow. You would 
have to be sure that no builds were still running when you run the load-repo 
job.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maciej Jaros
Sent: Wednesday, July 29, 2015 2:53 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Use Repository Sharing - advice please

David Brown (2015-07-28 22:51):
Here is my scenario. I have a number of Jenkins projects which build from the 
same set of Mercurial repositories, compile source code and generate executable 
files, etc.  I’m used to being able to run any combination of these jobs in 
parallel. Each build runs for at least 3+ hours, but the first third of the 
build time is spent cloning the repositories and preparing an individual 
workspace. I have restricted disc space so the jobs are setup to delete their 
workspace at completion.

I am looking to reduce my build times.

When I discovered the “Use Repository Sharing” option I was hoping it would 
enable me to shave the repository cloning time off the start of each build. 
However I have not been able to find much in the way of documentation or advice 
on the use of this feature, perhaps I’ve not been looking in the right places 
or else I’ve not looked hard enough.

Here’s what I’ve discovered so far, partly through trial and error:

  *   Need to also assign a specific Directory in the “Use custom workspace” 
option within Advanced Project Options (a per Project setting)
  *   I set the same shared workspace folder against two jobs
  *   When I attempted to run both jobs in parallel one job failed with message 
“The process cannot access the file because it is being used by another 
process.”, suggesting that I have to wait for the build of Project A to finish 
before I can start a build of Project B

Am I naive in expecting this feature to allow jobs to be run in parallel? If I 
can’t do this then I don’t think this feature will be of any benefit to me.

Any tips, guidance or advice would be gratefully received.

I think you can approach this problem differently.

  1.  Create a separate job (e.g. `load-repo`) which will only load current 
repository to some folder (this can be just workspace).
  2.  In the build/test jobs simply use the folder (you can use it directly or 
add symbolic link to it or copy if you must - depending on your build process).
  3.  Create a separate job that just runs above jobs. In this job you run 
`load-repo` as a blocking job and then run other jobs in parallel.

I don't think you can do it with just repository sharing as you would always 
have a problem when one job is already running (using repository) and other job 
wants to update repository.

Regards,
Nux.
--
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.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/55B87867.6050008%40mol.com.plhttps://groups.google.com/d/msgid/jenkinsci-users/55B87867.6050008%40mol.com.pl?utm_medium=emailutm_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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D864FD82%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.


Post build action - Checkstyle analysis result not fail on warning

2015-07-29 Thread Kirshan Luhana



Hi


I am sorry if it is repeated question. 


In Post build action I have few reports 

1- Checkstyle analysis result 

2- findbug analysis result

 3- PMD analysis results


In advance sections of all above 

Health thresholds 100% = empty , 0%=empty 

Status thresholds (Totals) =empty all boxes


On warning it is showing unstable build but we want if there is warning for 
above analysis it should show as fail.


Ps. Need some good explanations / documentations  on threshold values

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/f246cc3c-0f24-45ee-9893-2ccb562437aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread David Resnick
I have a freestyle job that fails to run the post-build extended email step 
when it is triggered by a workflow buildJob construct.

The error message:

ERROR: Could not send email as a part of the post-build publishers.
java.lang.ClassCastException: 
org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to 
hudson.model.AbstractProject
at 
hudson.plugins.emailext.plugins.recipients.UpstreamComitterRecipientProvider.addRecipients(UpstreamComitterRecipientProvider.java:40)
at 
hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:578)
at 
hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306)
at 
hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297)
at 
hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:193)
at hudson.model.Run.execute(Run.java:1788)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:374)

It seems that it might be able to succeed if I remove some of the 
categories I chose to send to, though I have not yet experimented with this.

Is there a known workaround for this problem? Would it be helpful for me to 
open a bug for this?

Thanks,
David

-- 
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/cbf83da3-943d-4a91-a8e2-8dd389175c20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Job Parameters No Longer Displayed for Queued Builds?

2015-07-29 Thread Kenneth Baltrinic
Greetings,

We recently upgraded our Jenkins infrastructure from v 1.552 to 1.609.1. 
 For the most part everything went smoothly.  Kudos to the Jenkins team for 
that.

One issue that has presented itself however is this:   Previously, when 
multiple instances of a job are queued, waiting to run, the job queue would 
display next to the job number the parameters of the job.  This is no 
longer happening.  Now all it says is (pending--Build # is already in 
progress, ETA (N/A))  

We have a lot of parameterized builds that do things like validate pull 
requests before they merge.  Lots of these sorts of jobs get queued up and 
not being able to tell which is which by parameters is problematic.

Any idea what happened or what we may be able to do to restore this 
functionality?

Regards,
Ken

-- 
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/d03d6ad8-8faa-4465-8ce1-631b2f279afa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread Slide
This is a known incompatibility between workflow and email-ext. Email-ext
expects projects to be based on AbstractProject and Workflow is not.

On Wed, Jul 29, 2015 at 6:23 AM David Resnick abune...@gmail.com wrote:

 I have a freestyle job that fails to run the post-build extended email
 step when it is triggered by a workflow buildJob construct.

 The error message:

 ERROR: Could not send email as a part of the post-build publishers.
 java.lang.ClassCastException:
 org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to
 hudson.model.AbstractProject
 at
 hudson.plugins.emailext.plugins.recipients.UpstreamComitterRecipientProvider.addRecipients(UpstreamComitterRecipientProvider.java:40)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:578)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244)
 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
 at hudson.model.Build$BuildExecution.cleanUp(Build.java:193)
 at hudson.model.Run.execute(Run.java:1788)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
 at hudson.model.ResourceController.execute(ResourceController.java:98)
 at hudson.model.Executor.run(Executor.java:374)

 It seems that it might be able to succeed if I remove some of the
 categories I chose to send to, though I have not yet experimented with this.

 Is there a known workaround for this problem? Would it be helpful for me
 to open a bug for this?

 Thanks,
 David

 --
 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/cbf83da3-943d-4a91-a8e2-8dd389175c20%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/cbf83da3-943d-4a91-a8e2-8dd389175c20%40googlegroups.com?utm_medium=emailutm_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/CAPiUgVea-T3kg31PgvBv94XGcfoNmv5qMeF3fxS5Z9xS709g3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Parametrized build with conditional parameters

2015-07-29 Thread alok kumar
Hi All,
I have an urgent requirement in which I need to use dynamic loading of
parameters based on the value of another parameter.
I require something like e.g. a parameter which has value like classic and
advanced.
Only if someone chooses advanced, the next set of parameters should get
displayed. These next set of parameters could be anything like radio
buttons, check boxes, string, text parameters.

I looked at a lot of plugins like extended chioce, dynamic choice, active
choice, etc plugins, but, none of them seem to be addressing my requirement
above.

Can someone please help me with the above?

Thanks,
Alok

-- 
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/CAOqqq4RnF%3DdR9c_Hh-L8cXV9bRsMJYh85t3wpO%3D0RwwBRwfQqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to save a parametrized build as template

2015-07-29 Thread alok kumar
Hi All,
I have an urgent requirement for which we need to be able to save a user
defined parameters while submitting a build as a template, so that the next
time when the user wants to run the build, he can just load the template
and click on submit.
He should be able to save as many templates as he wants with different
paramater values.

Is it possible to achieve with any of the plugins lying around OR can
someone please help me in achieving this?

Thanks,
Alok

-- 
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/CAOqqq4QEH%2B0UFWCYM%2BW8AhsU9MoiZaV8Hv4ecPC-tD2pDi%3DN%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread David Resnick
Is there any plan to bridge this divide? I notice that it pops up fairly 
often whenever the workflow plugin is in the picture.

- David

On Wednesday, July 29, 2015 at 4:26:36 PM UTC+3, slide wrote:

 This is a known incompatibility between workflow and email-ext. Email-ext 
 expects projects to be based on AbstractProject and Workflow is not.

 On Wed, Jul 29, 2015 at 6:23 AM David Resnick abun...@gmail.com 
 javascript: wrote:

 I have a freestyle job that fails to run the post-build extended email 
 step when it is triggered by a workflow buildJob construct.

 The error message:

 ERROR: Could not send email as a part of the post-build publishers.
 java.lang.ClassCastException: 
 org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to 
 hudson.model.AbstractProject
 at 
 hudson.plugins.emailext.plugins.recipients.UpstreamComitterRecipientProvider.addRecipients(UpstreamComitterRecipientProvider.java:40)
 at 
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:578)
 at 
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306)
 at 
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297)
 at 
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244)
 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
 at 
 hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
 at 
 hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
 at hudson.model.Build$BuildExecution.cleanUp(Build.java:193)
 at hudson.model.Run.execute(Run.java:1788)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
 at hudson.model.ResourceController.execute(ResourceController.java:98)
 at hudson.model.Executor.run(Executor.java:374)

 It seems that it might be able to succeed if I remove some of the 
 categories I chose to send to, though I have not yet experimented with this.

 Is there a known workaround for this problem? Would it be helpful for me 
 to open a bug for this?

 Thanks,
 David

 -- 
 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 javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/cbf83da3-943d-4a91-a8e2-8dd389175c20%40googlegroups.com
  
 https://groups.google.com/d/msgid/jenkinsci-users/cbf83da3-943d-4a91-a8e2-8dd389175c20%40googlegroups.com?utm_medium=emailutm_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/420b8dfb-cfe8-4eba-a88c-85a669d237e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow] email-ext step fails in freestyle project triggered by buildJob

2015-07-29 Thread Slide
It's not on my near term radar sadly, but I hope to get to it this year if
no one else does it and creates a pull request.

On Wed, Jul 29, 2015, 16:52 David Resnick abune...@gmail.com wrote:

 Is there any plan to bridge this divide? I notice that it pops up fairly
 often whenever the workflow plugin is in the picture.

 - David

 On Wednesday, July 29, 2015 at 4:26:36 PM UTC+3, slide wrote:

 This is a known incompatibility between workflow and email-ext. Email-ext
 expects projects to be based on AbstractProject and Workflow is not.

 On Wed, Jul 29, 2015 at 6:23 AM David Resnick abun...@gmail.com wrote:

 I have a freestyle job that fails to run the post-build extended email
 step when it is triggered by a workflow buildJob construct.

 The error message:

 ERROR: Could not send email as a part of the post-build publishers.
 java.lang.ClassCastException:
 org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to
 hudson.model.AbstractProject
 at
 hudson.plugins.emailext.plugins.recipients.UpstreamComitterRecipientProvider.addRecipients(UpstreamComitterRecipientProvider.java:40)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:578)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:306)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:297)
 at
 hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:244)
 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
 at
 hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
 at hudson.model.Build$BuildExecution.cleanUp(Build.java:193)
 at hudson.model.Run.execute(Run.java:1788)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
 at hudson.model.ResourceController.execute(ResourceController.java:98)
 at hudson.model.Executor.run(Executor.java:374)

 It seems that it might be able to succeed if I remove some of the
 categories I chose to send to, though I have not yet experimented with this.

 Is there a known workaround for this problem? Would it be helpful for me
 to open a bug for this?

 Thanks,
 David

 --
 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/cbf83da3-943d-4a91-a8e2-8dd389175c20%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/cbf83da3-943d-4a91-a8e2-8dd389175c20%40googlegroups.com?utm_medium=emailutm_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/CAPiUgVc39G9NgTojOBQd9tm60eJJWQa-53zvpAFtoLEtJaPL%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Connection failure in Job Import Plugin

2015-07-29 Thread Ujjwal Varshney
I am getting same while importing a job from one jenkin to another.

FAILED - Connection refused: connect

Let me know if you need anything more!!!

Regards,
Ujjwal

On Wednesday, December 10, 2014 at 7:59:18 PM UTC+5:30, rginga wrote:

  I am trying to import jobs from one Jenkins server A running 1.550 into 
 another B running 1.565.2.

  

 A has no authorization configured and B has matrix authorization based on 
 Active Directory.

  

 I can see the job list on A from the job import plugin on B, but each time 
 I try to import a job I get:

  

 FAILED - Connection refused: connect

  

 Nothing from either logs gives me any idea of what to do differently. I 
 have tried specifying a user and an API token. Same result.

  

 Need help please

  

 *Dick Ginga, Informatics RD*

 *PerkinElmer Inc. *
 *| For the Better **HUMAN HEALTH **|* *ENVIRONMENTAL HEALTH*
 940 Winter Street, Waltham MA 02451

  

 *dick.ginga**@perkinelmer.com javascript:*  

 Mobile – 508-847-1434

 Office – 781-663-6947

   
  

-- 
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/bfec6b09-e0cf-4fa4-ba32-9b9f7109f5d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.