Perl scrip not workling in Execute Windows Batch Command

2015-02-12 Thread Raghavendra Pise
Hi,

I am configuring a job in Windows for java project.

When I trigger a job in Jenkins its throwing an error. 

*'Cant open Perl script; No file or directory'*

The same command is working in windows command prompt but its not working 
in Jenkins.



C:\Program Files\Jenkins\workspace\1114 Minor Release>echo C:\Program 
Files\Java\jdk1.7.0_67\/bin;C:\Program 
Files\Java\jdk1.7.0_67\/bin;C:\Perl\site\bin;C:\Perl\bin;C:\csvn\bin\;C:\csvn\Python25\;C:\Program
 
Files\Broadcom\Broadcom 802.11;;C:\Program Files\Intel\iCLS 
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
 
Files\WIDCOMM\Bluetooth Software\;C:\Program Files\Intel\Intel(R) 
Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management 
Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;C:\Program 
Files\Java\jdk1.7.0_67\bin;E:\SCM 
Software\Ant\apache-ant-1.9.4-bin\apache-ant-1.9.4\bin; 

C:\Program Files\Java\jdk1.7.0_67\/bin;C:\Program 
Files\Java\jdk1.7.0_67\/bin;C:\Perl\site\bin;C:\Perl\bin;C:\csvn\bin\;C:\csvn\Python25\;C:\Program
 
Files\Broadcom\Broadcom 802.11;;C:\Program Files\Intel\iCLS 
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
 
Files\WIDCOMM\Bluetooth Software\;C:\Program Files\Intel\Intel(R) 
Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management 
Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;C:\Program 
Files\Java\jdk1.7.0_67\bin;E:\SCM 
Software\Ant\apache-ant-1.9.4-bin\apache-ant-1.9.4\bin;
C:\Program Files\Jenkins\workspace\1114 Minor Release>cd Perl_Script 

C:\Program Files\Jenkins\workspace\1114 Minor Release\Perl_Script>perl 
"C:\Program Files\Jenkins\workspace\1114 Minor 
Release\XC-BuildPackageScript_SFDC_R2_v6.1.perl" 

Can't open perl script "C:\Program Files\Jenkins\workspace\1114 Minor 
Release\XC-BuildPackageScript_SFDC_R2_v6.1.perl": No such file or directory

Please any suggest on this issue


Thanks,
Raghavendra Psie
+91 9740655570

-- 
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/1e271a44-4b7d-4591-a034-dbbb3b6126f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow plugin] how to block multiple execution?

2015-02-12 Thread Ryan Campbell
A workflow stage can limit concurrency:

stage name: perf, concurrency: 1

On Thu, Feb 12, 2015, 1:07 PM Stefan Lorenz  wrote:

> "Throttle Concurrent Builds"  plugin seems also not be available for a
> workflow. Is this intended?
>
> Am Mittwoch, 11. Februar 2015 16:31:44 UTC+1 schrieb Stefan Lorenz:
>
>> Hi,
>>
>> how can one prevent a workflow job from getting started if it's already
>> running?
>> I tried the "build blocker plugin" but it seems that it has no effect to
>> the workflow. Is that possible?
>>
>> Regards,
>> Stefan
>>
>  --
> 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/d6fb9249-bdbb-4824-8595-8edbd55a3e26%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/CANHK%3DJ1YAOOM4Dz7E0SGMkqc5QWOT%3Dxzhg5BAqt-a2nkCLmVjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Disabling/enabling parameters basing on value from the other parameter

2015-02-12 Thread Ioannis Moutsatsos
W,
I have been able to generate the required behavior using the 'uno-choice' 
plugin 

Please, download this plugin from the BioUno Developers forum, since we 
have not yet released it to Jenkins

You can get the latest version in this thread:
https://groups.google.com/forum/#!topic/biouno-developers/REx4-sk_xSs

The uno-choice plugin provide a new parameter type that can be refreshed 
when other UI parameters change. In addition, the parameter can be rendered 
as any well formed HTML using the Dynamic Reference Parameter type.

To recreate the behavior that you want, you'll need two parameters. Lets 
say PARAM_A (provides the value for the conditional logic) and PARAM_B 
(conditionally hidden)

PARAM_B will be an uno-choice dynamic reference parameter and it will 
reference PARAM_A

All you need is to write a groovy script, that returns well formatted HTML 
to render PARAM_B when PARAM_A takes different values.

Personally, when I want to hide something I simply return a horizontal line 
HTML element . To return a visible value dynRefParam your groovy script 
should return something like:

return ""

Hope this helps you.
Best regards
Ioannis

On Wednesday, February 11, 2015 at 2:53:38 AM UTC-5, Wojciech Korzenny 
wrote:
>
> Hi. 
>
> I'm trying to configure job in Jenkins with some list of parameters. 
> I'd like have some PARAMETER_X which turns to read-only (or disappeared at 
> all) when PARAMETER_Y (simple choice parameter or choice parameter supplied 
> by Scriptler) has value XYZ, otherwise PARAMETER_X is read-write 
> (string/choice parameter). 
>
> Is it possible? 
>
> W.
>

-- 
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/cf3b213c-2638-4f4b-9d0d-9408d59e3dda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Generating parallel flow with Build Flow Plugin

2015-02-12 Thread Derek Goss
I can't upvote this enough, this does the trick. I was stuck for a while on 
building jobs in parallel based on a dynamically-populated job list.

Nice work.

On Monday, February 17, 2014 at 2:13:35 PM UTC-8, Stuart Rowe wrote:
>
> Hi Rodrigo, 
>
> BuildFlow's parallel function takes a list or map of closures - it will 
> execute each in parallel. 
>
> For your situation, you should iterate over your list of servers, creating 
> a 
> closure for each and adding it to list. This list can the be passed as an 
> argument to parallel(). 
>
> e.g. 
>
> // create a closure for the deploy job for each server 
> def serverDeployJobs = [] 
> for (server in servers) { 
> def deployJob = { 
> def jobParams = [:] 
> // set up params for deploy job on current server here... 
> 
> // call build 
> build(jobParams, DeployProjectName) 
> } 
> serverDeployJobs.add(deployJob) 
> } 
>
> // schedule deploy jobs in parallel 
> parallel(serverDeployJobs) 
>
> Hope that helps, 
> Stuart 
>
>
>
> -- 
> View this message in context: 
> http://jenkins-ci.361315.n4.nabble.com/Generating-parallel-flow-with-Build-Flow-Plugin-tp4687604p4691098.html
>  
> Sent from the Jenkins users mailing list archive at Nabble.com. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/149be8dc-fa38-4cc5-87e1-a198e6aad7b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


High level difference between workflow plugin and dsl plugin?

2015-02-12 Thread David Karr
As part of a high-level presentation on Groovy that I'm giving to my 
organization, I was looking for a short statement that explains the 
difference between the workflow plugin and the dsl plugin, and the 
relationships they have with each other.  Could someone give me a short 
statement covering that?

-- 
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/c90013d7-64b0-4f46-ad72-b209e87f56b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-12 Thread Mark Waite
You might be able to test the theory by creating a multi-scm job which uses
10 or 20 authenticated git repositories, then run that job multiple times.
If it fails, then it is probably the file delete condition we're theorizing
might be there.

If it does not fail, then it is likely something else.  If it does not
fail, then you might try adding multiple repos of other types (Subversion,
Mercurial, etc.).

Mark Waite

On Thu, Feb 12, 2015 at 3:06 PM, Dave  wrote:

> I was kinda thinking that, any suggestions on how I could debug this? Or
> does someone know where the numbered credential file is named? If it is
> based on a timestamp and the SCM plug-in checks both repos with the same
> credential file, I could see how that could be a problem if one deletes it
> and the other tries to use it.
>
> On Thursday, February 12, 2015 at 9:58:17 AM UTC-5, Mark Waite wrote:
>>
>> The message indicates that a file which the plugin expects to be on the
>> file system is not there.   That stack trace might hint that there is a
>> race condition in the multiple SCM plugin / git plugin interaction.
>>
>> I don't know if the file is missing because the git plugin performed some
>> cleanup, or because the multiple SCMs plugin did some cleanup, or because
>> something outside performed cleanup.
>>
>> Thanks,
>> Mark Waite
>>
>> On Thu, Feb 12, 2015 at 7:39 AM, Dave  wrote:
>>
>>> I should add I'm using Jenkins 1.554.2, Git client plug-in 1.16.1 and
>>> Git plug-in 2.2.12. It seems like this used to work, but I'm not sure what
>>> version of each plug-in I had.
>>>
>>> --
>>> 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/0ea3197f-4b6b-480d-bd56-
>>> 344bd3cd4caa%40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Thanks!
>> Mark Waite
>>
>  --
> 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/0b2668f7-945e-49ad-adb9-d7894beb9c95%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

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


Re: Git polling fails with authentication errors sometimes

2015-02-12 Thread Dave
I was kinda thinking that, any suggestions on how I could debug this? Or 
does someone know where the numbered credential file is named? If it is 
based on a timestamp and the SCM plug-in checks both repos with the same 
credential file, I could see how that could be a problem if one deletes it 
and the other tries to use it.

On Thursday, February 12, 2015 at 9:58:17 AM UTC-5, Mark Waite wrote:
>
> The message indicates that a file which the plugin expects to be on the 
> file system is not there.   That stack trace might hint that there is a 
> race condition in the multiple SCM plugin / git plugin interaction.   
>
> I don't know if the file is missing because the git plugin performed some 
> cleanup, or because the multiple SCMs plugin did some cleanup, or because 
> something outside performed cleanup.
>
> Thanks,
> Mark Waite
>
> On Thu, Feb 12, 2015 at 7:39 AM, Dave > 
> wrote:
>
>> I should add I'm using Jenkins 1.554.2, Git client plug-in 1.16.1 and Git 
>> plug-in 2.2.12. It seems like this used to work, but I'm not sure what 
>> version of each plug-in I had.
>>
>> -- 
>> 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/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Thanks!
> Mark Waite
>  

-- 
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/0b2668f7-945e-49ad-adb9-d7894beb9c95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Javadoc plugin - How to update java source path to generate the javadoc

2015-02-12 Thread Jay
Hi Im using jenkins javadoc plugin version 1.1. When i add javadoc:javadoc 
for a jar project it worked perfectly fine. The same is not generating any 
doc for a war project for which the java source path is different. Could 
any one let me know how to change the java source path in javadoc plugin.

-- 
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/9f6abe4e-815f-4925-8ad1-5fb2e1a67821%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting Repositories touched by a commit

2015-02-12 Thread Jarvis
Using the Jenkins Git plugin is it possible to get all the repositories 
touched by a commit? When using the Jenkins API to get the information on a 
build, it has a list of commits (in changeSet) and each item has a commit 
hash, the files touched and other information, but it doesn't say what repo 
it was in. I was thinking about getting all the repo from the file path, 
but it is a path relative the repository to begin, so that's no help. Is 
there a way to get the git plugin to include what repository a commit was 
in when querying for the build's information using the Jenkins API?

Here's a same changeSet item from the API's response. Notice it doesn't 
indicate the repository anywhere:


   - {
  - affectedPaths: 
  [
 - "path/to/some/file.php"
 ],
  - commitId: "8b0b52ead67410c3afa6db137bcd079a4e35b6b6",
  - timestamp: 1423683000,
  - author: 
  {
 - absoluteUrl: "< 
 jenkins url>",
 - fullName: ""
 },
  - comment: "commit comment",
  - date: "1970-01-17T06:28:03-0500 -0500",
  - id: "8b0b52ead67410c3afa6db137bcd079a4e35b6b6",
  - msg: "some text here",
  - paths: 
  [
 - 
 {
- editType: "edit",
- file: "path/to/some/file.php"
}
 ]
  },
   

-- 
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/16302672-71b2-425f-9a2d-73a4d93f0e5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: reading DSL script from file for BUILD FLOW PLUGIN

2015-02-12 Thread Muhammad Faizan-Ul-Haq
Ahan,

I am going to look into workflow plugin after upgrading my jenkins to 
latest version

Thanks for answering guys.

Regards,


On Wednesday, February 11, 2015 at 5:11:28 PM UTC+1, Muhammad Faizan-Ul-Haq 
wrote:
>
> Hi,
>
> I have started using BUILD FLOW PLUGIN for job orchestration. 
> Now the DSL in my job configuration has become quite lengthy and it is 
> becoming difficult to maintain it there.
> I want to move it to my repository (SVN) and read it from file. 
>
> I understood that it is possible to read it form file but I am missing the 
> syntax ?
> What should be the file extension and how to invoke it.
>
> any help would be appreciated and sorry for posting such a naive question.
>
> Faizan
>

-- 
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/4a58a2e7-64a1-43a4-8771-599ad31a066e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow plugin] how to block multiple execution?

2015-02-12 Thread Stefan Lorenz
"Throttle Concurrent Builds"  plugin seems also not be available for a 
workflow. Is this intended?

Am Mittwoch, 11. Februar 2015 16:31:44 UTC+1 schrieb Stefan Lorenz:
>
> Hi,
>
> how can one prevent a workflow job from getting started if it's already 
> running?
> I tried the "build blocker plugin" but it seems that it has no effect to 
> the workflow. Is that possible?
>
> Regards,
> Stefan
>

-- 
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/d6fb9249-bdbb-4824-8595-8edbd55a3e26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help needed with MsBuild plugin

2015-02-12 Thread 'Cyril Besse' via Jenkins Users
Hi,

Try in removing "/p:useenv=true" from MSBuild command line.
I had the same problem, and I lost 2 hours to understand

see link: 
http://msdn.developer-works.com/article/11302946/problem+with++useenv+in+visual+studio+2010+professional

Regard
Cyril

-- 
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/2cd3000a-2d7c-468e-85b8-f6acd81a06d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help needed with MsBuild plugin

2015-02-12 Thread 'Cyril Besse' via Jenkins Users
Hi,

Try in removing "/p:useenv=true" from MSBuild command line.
I had the same problem, and I lost 2 hours to understand

Regard
Cyril

Le mercredi 4 septembre 2013 13:28:10 UTC+2, David Aldrich a écrit :
>
>  Hi
>
>  
>
> I have used Jenkins for a long time but am now using the MSBuild plugin 
> for the first time, because we are migrating some build jobs from VC2008 to 
> VC2010.
>
>  
>
> I have added a ‘MSBuild installation’ in Jenkins with the following path:
>
>  
>
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
>
>  
>
> In my job, I specify the following MSBuild command line arguments:
>
>  
>
> p:Configuration="My_release" /p:useenv=true 
> /flp:logfile=MyOutput.log;verbosity=diagnostic
>
>  
>
> When I run the job I get this error:
>
>  
>
> error TRK0005: Failed to locate: "CL.exe". The system cannot find the file 
> specified.  
>
>  
>
> Visual C++ 2010 is installed on the build machine and CL.exe is definitely 
> present.
>
>  
>
> I guess that MSBuild would typically be executed from a Visual Studio 
> command prompt which would have the environment variables correctly set up.
>
>  
>
> Do I need to configure the path when running the MSBuild plugin from 
> Jenkins?
>
>  
>
> Best regards
>
>  
>
> 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/f1a22d3a-4c7a-4fde-9055-7b86beb03b64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Need Java developer @phoenix,AZ

2015-02-12 Thread recruiter nara
Hi Folks...
Please share the profiles with ash...@virtuouspros.com/602-399-7159.



*Title: Java/J2EE DeveloperLocation: Phoenix, AZDuration :  6 months*

JD:

: Experience in designing complex Java applications with exposure to user
interface, real-time services and batch processing. Experience in delivery
of Java EE projects in onshore offshore mode across all life cycle stages
requirements, design, development, testing and implementation; Hands on in
various Java EE technologies like Spring 3.0, Struts, JMS, Web Services
(Restful and SOAP Based), Quartz Scheduler, IBM MQ, WAS, Maven and XML
technologies (JAXB, JAXP); Proficiency in designing database tables, their
relationships & DB2 stored procedures; Good knowledge of J2EE Design and
Architectural Patterns; Experience in analyzing and troubleshooting
performance bottlenecks both at Java and database level; Basic knowledge of
UNIX commands and shell scripts; Knowledge and exposure to Agile Practices
and Methodologies (Scrum, TDD, Automated unit testing with JUnit, Automated
Functional Testing with Selenium, QTP etc.) would be a plus

-- 
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/CAEFCp1kAPM%3Dx01wHc2-pyE5h1%2B9j3BKt4e2yqs%2BGfmuX3DUMrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Status of JGit...does it work as good or better than the command line yet?

2015-02-12 Thread Mark Waite
The command line implementation is the reference standard for git plugin
functionality.  JGit is sufficient for many use cases, but is not
sufficient for all use cases.

The unit tests provide a summary of many of the areas where the JGit
implementation is not yet complete.   Look for  @NotImplementedInJGit in
the unit tests of the git plugin and the git client plugin.

If you'd like to add that sort of summary to the git plugin and / or git
client plugin wiki page, I'm sure that would be appreciated.

Thanks,
Mark Waite


On Wed, Feb 11, 2015 at 11:50 AM, Dave  wrote:

> Last time I used JGit, it didn't seem to work very well and basically the
> conclusion was to use the command line.
>
> Is the latest version of JGit that works with Jenkins to a point where it
> works as well or better than the command line when using with Jenkins?
>
> I get some odd behavior (shallow clone is not shallow, issues with
> authentication keys, etc.) with the command line so I kinda wonder if I
> should move back to JGit.
>
> --
> 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/eb715129-aad0-4d76-bc22-7458ba3437e1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
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/CAO49JtEEAk%2BWysnEoGAzOZnbxQv4gD%2ByJFS7V%3DrQEhDjvE1dUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Run multiple downstream jobs in parallel

2015-02-12 Thread Jordan Spiker
Try the multijob plugin.

On Thursday, February 12, 2015 at 12:11:09 AM UTC-6, Maneesh M P wrote:
>
> Hello,
>
>   I have a build pipeline where  a job has two down stream jobs connected. 
> Currently downstream jobs get triggered through parameterized plugin. The 
> problem I am facing is, parameterized trigger plugin kick starts the 
> downstream jobs sequentially not parallely. 
>   Is there a way to kick start down stream jobs parallaly ?
>
> PS: I have many build servers and executers available 
>
>
> Thanks,
> M
>

-- 
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/762a9997-24d5-420e-ad34-bd663e36b60b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: reading DSL script from file for BUILD FLOW PLUGIN

2015-02-12 Thread Les Mikesell
On Thu, Feb 12, 2015 at 6:35 AM, Baptiste Mathus  wrote:
> Why would you be sad? I know more the workflow plugin than the build flow,
> but seems to me you should be able to do the same things as easily with the
> workflow plugin, but it's just designed to be able to do much much more.
> With the workflow plugin you can also trigger another build.

With workflow, if you trigger another build, how do you access that
other build object?  For example to find the build number so you can
copy its artifacts into the workflow job.Or find the SVN_REVISION
so you can trigger other builds of that same revision?

-- 
Les Mikesell
  lesmikes...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAOAgVpyiZtyJ3YPVX7BaPhp%3DTRDxLfqiMU%3DjD88MjScH-f9JWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-12 Thread Mark Waite
The message indicates that a file which the plugin expects to be on the
file system is not there.   That stack trace might hint that there is a
race condition in the multiple SCM plugin / git plugin interaction.

I don't know if the file is missing because the git plugin performed some
cleanup, or because the multiple SCMs plugin did some cleanup, or because
something outside performed cleanup.

Thanks,
Mark Waite

On Thu, Feb 12, 2015 at 7:39 AM, Dave  wrote:

> I should add I'm using Jenkins 1.554.2, Git client plug-in 1.16.1 and Git
> plug-in 2.2.12. It seems like this used to work, but I'm not sure what
> version of each plug-in I had.
>
> --
> 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/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
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/CAO49JtGxk1tKf_Ch-APVo2%2BJyoueghQ8W_q6y0a%3D0_5LZusS4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Git polling fails with authentication errors sometimes

2015-02-12 Thread Dave
I should add I'm using Jenkins 1.554.2, Git client plug-in 1.16.1 and Git 
plug-in 2.2.12. It seems like this used to work, but I'm not sure what 
version of each plug-in I had.

-- 
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/0ea3197f-4b6b-480d-bd56-344bd3cd4caa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Git polling fails with authentication errors sometimes

2015-02-12 Thread Dave


I get this result from polling sometimes. This is a multiple SCMs 
configuration. I don't believe I see this with single SCM setups. I see that it 
cannot find the temporary credential path, but how is that even supposed to be 
created?


Started on Feb 12, 2015 9:26:36 AM
Polling SCM changes on u64internal
Using strategy: Default
[poll] Last Built Revision: Revision 36abd7ba96ef8631377aad256931a4140ea2bcbc 
(origin/feature/TH-3052-implement-xsd-parser-to-determine)
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repositories
 > /usr/bin/git config remote.origin.url https://xxx.com/stash/scm/th/those.git 
 > # timeout=10
Fetching upstream changes from https://xxx.com/stash/scm/th/those.git
 > /usr/bin/git --version # timeout=10
using .gitcredentials to set credentials
 > /usr/bin/git config --local credential.helper store 
 > --file=/tmp/git5332354415487210485.credentials # timeout=10
 > /usr/bin/git -c core.askpass=true fetch --tags --progress 
 > https://xxx.com/stash/scm/th/those.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git config --local --remove-section credential # timeout=10
FATAL: hudson.plugins.git.GitException: Failed to fetch from 
https://xxx.com/stash/scm/th/those.git
hudson.util.IOException2: hudson.plugins.git.GitException: Failed to fetch from 
https://xxx.com/stash/scm/th/those.git
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:496)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at 
org.jenkinsci.plugins.multiplescms.MultiSCM.compareRemoteRevisionWith(MultiSCM.java:92)
at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
at hudson.scm.SCM.poll(SCM.java:373)
at 
hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1605)
at hudson.model.AbstractProject._poll(AbstractProject.java:1575)
at hudson.model.AbstractProject.poll(AbstractProject.java:1493)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:462)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:491)
at 
hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
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 
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:722)
Caused by: hudson.plugins.git.GitException: Failed to fetch from 
https://xxx.com/stash/scm/th/those.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:668)
at 
hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:575)
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:494)
... 17 more
Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git -c 
core.askpass=true fetch --tags --progress 
https://xxx.com/stash/scm/th/those.git +refs/heads/*:refs/remotes/origin/*" 
returned status code 128:
stdout: 
stderr: error: cannot run git credential-store 
--file=/tmp/git5332354415487210485.credentials get: No such file or directory
error: cannot run git credential-store 
--file=/tmp/git5332354415487210485.credentials erase: No such file or directory
fatal: Authentication failed

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Done. Took 1.5 sec
No changes

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins 

[workflow-plugin] archive hidden files and folders

2015-02-12 Thread Christoph Vogtländer

Hi,

is it possible to archive hidden folders (.svn in my case) using the 
"archive" (or similar) step?


The ArtifactArchiver (which I believe the archive step is based on) has 
a method "boolean defaultExcludes()" but the interface is not available 
in the archive step.


I also tried
step([$class: 'ArtifactArchiver', artifacts: 'src/', excludes: '', 
defaultExcludes: false])


and even

def aa = new hudson.tasks.ArtifactArchiver('src/')
aa.setDefaultExcludes(false)
step aa

without success.

Thanks
Christoph



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


RE: reading DSL script from file for BUILD FLOW PLUGIN

2015-02-12 Thread Ginga, Dick
I know that this thread is wandering but I too and a little worried about the 
Build Flow plugin being replaced. I hope that I can just drop my Build Flow 
statements into a workflow step and they will run unaltered.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Baptiste Mathus
Sent: Thursday, February 12, 2015 7:36 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: reading DSL script from file for BUILD FLOW PLUGIN


Why would you be sad? I know more the workflow plugin than the build flow, but 
seems to me you should be able to do the same things as easily with the 
workflow plugin, but it's just designed to be able to do much much more. With 
the workflow plugin you can also trigger another build.
I'm actually pretty sad about this, the build flow plugin is pretty simple to 
use, especially for orchestrating multiple jobs which I don't want to pull into 
a single job.

On Wed Feb 11 2015 at 2:55:07 PM Baptiste Mathus 
mailto:m...@batmat.net>> wrote:

Build flow is on the way to deprecation. The workflow plugin is the one to use. 
It's standard with this one to use a scm URL for your workflow declaration 
(through combobox+textfield for your scm url and you're done).

Cheers
Le 11 févr. 2015 17:11, "Muhammad Faizan-Ul-Haq" 
mailto:faiza...@gmail.com>> a écrit :

Hi,

I have started using BUILD FLOW PLUGIN for job orchestration.
Now the DSL in my job configuration has become quite lengthy and it is becoming 
difficult to maintain it there.
I want to move it to my repository (SVN) and read it from file.

I understood that it is possible to read it form file but I am missing the 
syntax ?
What should be the file extension and how to invoke it.

any help would be appreciated and sorry for posting such a naive question.

Faizan
--
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/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%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/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.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/CAPiUgVcO8u%2ByG-hThcCKPUK1FxGfWkkwBxQyR%2B_eh%2B-ONnFRAQ%40mail.gmail.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/CANWgJS5oqpZrep9z000Co_yUJoxC0N_Bt2jkdvR1nvf7Sn5b9Q%40mail.gmail.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/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4F697A%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] Unable to get NODE_NAME variable during the build

2015-02-12 Thread Slide
See https://issues.jenkins-ci.org/browse/JENKINS-19222

On Thu Feb 12 2015 at 5:24:05 AM Arek Skalski  wrote:

> I do have:
>
> Environment Injector Plugin
>
>  --
> 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/75179c6c-0634-48e3-ab13-c528f6cea6f9%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/CAPiUgVfQYS5nphEzwQFyR%2BZE_vvTC3_qAnO5bkFb%2B%3D6iyH0cHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: reading DSL script from file for BUILD FLOW PLUGIN

2015-02-12 Thread Baptiste Mathus
Why would you be sad? I know more the workflow plugin than the build flow,
but seems to me you should be able to do the same things as easily with the
workflow plugin, but it's just designed to be able to do much much more.
With the workflow plugin you can also trigger another build.
I'm actually pretty sad about this, the build flow plugin is pretty simple
to use, especially for orchestrating multiple jobs which I don't want to
pull into a single job.

On Wed Feb 11 2015 at 2:55:07 PM Baptiste Mathus  wrote:

> Build flow is on the way to deprecation. The workflow plugin is the one to
> use. It's standard with this one to use a scm URL for your workflow
> declaration (through combobox+textfield for your scm url and you're done).
>
> Cheers
> Le 11 févr. 2015 17:11, "Muhammad Faizan-Ul-Haq"  a
> écrit :
>
> Hi,
>>
>> I have started using BUILD FLOW PLUGIN for job orchestration.
>> Now the DSL in my job configuration has become quite lengthy and it is
>> becoming difficult to maintain it there.
>> I want to move it to my repository (SVN) and read it from file.
>>
>> I understood that it is possible to read it form file but I am missing
>> the syntax ?
>> What should be the file extension and how to invoke it.
>>
>> any help would be appreciated and sorry for posting such a naive question.
>>
>> Faizan
>>
>> --
>> 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/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%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/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.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/CAPiUgVcO8u%2ByG-hThcCKPUK1FxGfWkkwBxQyR%2B_eh%2B-ONnFRAQ%40mail.gmail.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/CANWgJS5oqpZrep9z000Co_yUJoxC0N_Bt2jkdvR1nvf7Sn5b9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] Unable to get NODE_NAME variable during the build

2015-02-12 Thread Arek Skalski
I do have:
 
Environment Injector Plugin

-- 
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/75179c6c-0634-48e3-ab13-c528f6cea6f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: old war file deploying

2015-02-12 Thread Rob Mandeville
Nope, nobody here can help you.  We’ve got nothing to go on :*)

What sort of a job are you running?  May we see some logs?  How does it choose 
which WAR file to deploy, and even where are they coming from?  Why are you 
expecting a newer WAR file than Jenkins is giving you?

With some more information, we may be able to help.

--Rob

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of nagashree ck
Sent: Thursday, February 12, 2015 5:08 AM
To: jenkinsci-users@googlegroups.com
Subject: old war file deploying

Hi Friends,


old war files getting deploying through jenkins.

can anybody help me.

Thanks in Advance


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


Click 
here
 to report this email as spam.


This e-mail and the information, including any attachments it contains, are 
intended to be a confidential communication only to the person or entity to 
whom it is addressed and may contain information that is privileged. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited. If you have received this communication in error, please 
immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.

-- 
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/0A40042D85E7C84DB443060EC44B3FD36D9AEF6397%40dekaexchange07.deka.local.
For more options, visit https://groups.google.com/d/optout.


[workflow-plugin] Is it possible to get an output produced by a `bat` command?

2015-02-12 Thread Andrey Botalov
I have a command that produces some output. Let's say, it's:

bat "rake some_task"

I'd like to set some variable to an output produced by that `rake` command. 
Is it possible to do?

I tried to use ProcessBuilder but it results in a much larger amount of 
code.

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/81afe8c1-787d-441d-8e6e-8e8f0bb8c8c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


old war file deploying

2015-02-12 Thread nagashree ck
Hi Friends,


old war files getting deploying through jenkins.

can anybody help me.

Thanks in Advance

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


Re: How to Create a build for Server URL

2015-02-12 Thread Richard Bywater
If you are dealing with a single file then
https://wiki.jenkins-ci.org/display/JENKINS/URL+SCM will probably help but
if you are dealing with multiple files in that location then you might be
out of luck unless you can access it via some other way such as file share
in which case https://wiki.jenkins-ci.org/display/JENKINS/File+System+SCM
would help.

Richard.

On Thu, Feb 12, 2015 at 10:29 PM, Bharathi Devarasu 
wrote:

> Hi All,
>
> I need to create a project that uses server URL.
>
> for example my projects are stored in the server. i.e
> http://www.serverurl.com/iosproject1
>
> how to create a build for this server project, i am new to jenkins here
> all are supported projects from github or some source repo.
>
> is possible to create jenkins build using server URL.
>
>
> Thanks,
> Bharathi D
>
> --
> 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/3b9eb7b6-e1f4-4c6f-8a44-1129c9692f4b%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/CAMui945Uvm9seCZ2vvF%2BQH%3DEOjeXa1XOTRvvDg099ijrCeKA8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Disabling/enabling parameters basing on value from the other parameter

2015-02-12 Thread Maciej Jaros

Hi.

I added example grouping `config.xml` that has some more explanations 
inside:

https://github.com/Eccenux/jenkins-scripts/blob/master/example-grouping/config.xml

Also added screenshots in the Readme:
https://github.com/Eccenux/jenkins-scripts/

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


How to Create a build for Server URL

2015-02-12 Thread Bharathi Devarasu
Hi All, 

I need to create a project that uses server URL. 

for example my projects are stored in the server. i.e 
http://www.serverurl.com/iosproject1

how to create a build for this server project, i am new to jenkins here all 
are supported projects from github or some source repo. 

is possible to create jenkins build using server URL. 


Thanks,
Bharathi D

-- 
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/3b9eb7b6-e1f4-4c6f-8a44-1129c9692f4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to add files as artifacts to a build

2015-02-12 Thread Bruno Martins
The thing is this plugin has a post-build action, while running a batch is 
a build action. It's quite annoying indeed. I managed to gather all useful 
archives on a downstream project, but it would be much easier to put it all 
in the upstream one. But maybe I just can't do this.

Le mercredi 11 février 2015 17:11:55 UTC+1, Eric Pyle a écrit :

>  Can you run these additional batch jobs as a build step in your Jenkins 
> job? Then you can archive their output in addition to whatever results are 
> produced by the plugin.
>
> Eric
>
> On 2/11/2015 10:42 AM, bruno@liebherr.com  wrote:
>  
>  Hi everyone,
>  
> I'm currently using the PRQA plugin (a static code analysis tool), and 
> some features are not available yet. Among other things, only one kind of 
> report is generating. This specific report is placed as an artifact into 
> the job workspace. I know how to generate more reports with a batch. But 
> this batch doesn't belong to the plugin, and these additionnal reports 
> won't be considered as artifacts. I can move them to the workspace of the 
> job, but it doesn't change anything.
>  
> I would like to add these additionnal files to the related build, I would 
> like them to be considered as artifacts of this build. So that I can find 
> them by clicking on the build they belong to.
>  
> How to do this, how to link files to a build when these files are not 
> artifacts ?
>  
> Thanks in advance,
>  
> Bruno
>  -- 
> 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/b88c1cfa-96c3-4c98-aba2-9f80ff37a518%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/98df7072-0468-46f1-ad1c-b8b0b6e7e652%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.