Re: java.lang.NoSuchMethodError: No such DSL method 'git' found

2016-08-08 Thread Jirong Hu
Hi Mark

I found the git section in the "check out scm", and once I upgraded the 
pipeline plugins in DEV to match the versions in PRD, the git option 
disappeared too, therefore matches to PRD. Thanks for your suggestion about 
git, I will look into that.

Jirong

On Monday, 8 August 2016 15:18:48 UTC-4, Mark Waite wrote:
>
> Does the "git"section appear if you choose "checkout" from the snippet 
> generator instead of choosing "git"?
>
> Is there a reason you haven't updated to the most recent version of the 
> git plugin?  Git plugin 2.5.1 added much better support for setting git 
> options from pipeline jobs.  Git plugin 2.5.3 (the most recent release) is 
> the best git plugin for pipeline use as far as I can tell.
>
> Also, I've preferred to use the "checkout" snippet generator.  It lets me 
> choose the detailed git options that I want (so long as I use git plugin 
> 2.5.3).
>
> Mark Waite
>
> On Mon, Aug 8, 2016 at 12:56 PM Jirong Hu > 
> wrote:
>
>> Hi Daniel
>>
>> We are also getting this error and a restart doesn't fix it. Please see 
>> more details in this post: 
>> http://stackoverflow.com/questions/38831216/jenkins-pipeline-sample-step-missing-git-git
>>
>> Below are Git related plugin versions on our servers. Any suggestion? 
>> Thanks.
>>
>>DEV PRD
>> git 2.4.4 2.4.4 git 
>> git-client 1.19.6 1.19.6 git-client 
>> git-server 1.6 1.7 git-server 
>> github 1.14.0 1.14.0 github 
>> github-api 1.75 1.75 github-api 
>> github-branch-source 1.7 1.8.1 github-branch-source 
>> github-organization-folder 1.3 1.4 github-organization-folder 
>>
>> On Thursday, 9 June 2016 05:19:55 UTC-4, Daniel Beck wrote:
>>
>>> Restart Jenkins. There's a known issue with plugin load order. 
>>>
>>> > On 09.06.2016, at 07:13, John McC  wrote: 
>>> > 
>>> > I have: 
>>> > 
>>> > Git client plugin 1.19.6 
>>> > Git plugin 2.4.4 
>>> > Git server plugin 1.6 
>>> > Github API plugin 1.75 
>>> > [a few other github plugins] 
>>> > 
>>> > On Wednesday, June 8, 2016 at 7:19:51 PM UTC-7, Michael Neale wrote: 
>>> > normally that means that the git plugin is not installed, but I think 
>>> it is included with the "recommended" - can you double check the installed 
>>> plugin list? 
>>> > 
>>> > On Thursday, June 9, 2016 at 7:52:07 AM UTC+10, John McC wrote: 
>>> > I just downloaded and installed the Mac OSX package (Jenkins 2.8) and 
>>> created a test pipeline, using the sample script (shown below).  The 
>>> plugins seem to be in place (I opted to let the install choose the common 
>>> ones for me). 
>>> > 
>>> > node { 
>>> >// Mark the code checkout 'stage' 
>>> >stage 'Checkout' 
>>> > 
>>> >// Get some code from a GitHub repository 
>>> >git url: '
>>> https://github.com/jglick/simple-maven-project-with-tests.git' 
>>> > 
>>> >// Get the maven tool. 
>>> >// ** NOTE: This 'M3' maven tool must be configured 
>>> >// **   in the global configuration.   
>>> >def mvnHome = tool 'M3' 
>>> > 
>>> >// Mark the code build 'stage' 
>>> >stage 'Build' 
>>> >// Run the maven build 
>>> >sh "${mvnHome}/bin/mvn clean install" 
>>> > } 
>>> > 
>>> > [Pipeline] End of Pipeline 
>>> > 
>>> > java.lang.NoSuchMethodError: No such DSL method 'git' found among 
>>> [archive, bat, build, catchError, checkout, deleteDir, dir, echo, emailext, 
>>> error, fileExists, input, isUnix, load, mail, node, parallel, properties, 
>>> pwd, readFile, readTrusted, retry, sh, sleep, stage, stash, step, svn, 
>>> timeout, timestamps, tool, unarchive, unstash, waitUntil, withCredentials, 
>>> withEnv, wrap, writeFile, ws] 
>>> > at org.jenkinsci.plugins. 
>>> > workflow.cps.DSL.invokeMethod( 
>>> > DSL.java:108) 
>>> > at org.jenkinsci.plugins. 
>>> > workflow.cps.CpsScript.invokeMethod(CpsScript.java: 
>>> > 113) 
>>> > at groovy.lang.GroovyObject$ 
>>> > invokeMethod.call(Unknown Source) 
>>> > 

Re: java.lang.NoSuchMethodError: No such DSL method 'git' found

2016-08-08 Thread Jirong Hu
Hi Daniel

We are also getting this error and a restart doesn't fix it. Please see 
more details in this post: 
http://stackoverflow.com/questions/38831216/jenkins-pipeline-sample-step-missing-git-git

Below are Git related plugin versions on our servers. Any suggestion? 
Thanks.

   DEV PRD
git 2.4.4 2.4.4 git 
git-client 1.19.6 1.19.6 git-client 
git-server 1.6 1.7 git-server 
github 1.14.0 1.14.0 github 
github-api 1.75 1.75 github-api 
github-branch-source 1.7 1.8.1 github-branch-source 
github-organization-folder 1.3 1.4 github-organization-folder 
On Thursday, 9 June 2016 05:19:55 UTC-4, Daniel Beck wrote:
>
> Restart Jenkins. There's a known issue with plugin load order. 
>
> > On 09.06.2016, at 07:13, John McC > 
> wrote: 
> > 
> > I have: 
> > 
> > Git client plugin 1.19.6 
> > Git plugin 2.4.4 
> > Git server plugin 1.6 
> > Github API plugin 1.75 
> > [a few other github plugins] 
> > 
> > On Wednesday, June 8, 2016 at 7:19:51 PM UTC-7, Michael Neale wrote: 
> > normally that means that the git plugin is not installed, but I think it 
> is included with the "recommended" - can you double check the installed 
> plugin list? 
> > 
> > On Thursday, June 9, 2016 at 7:52:07 AM UTC+10, John McC wrote: 
> > I just downloaded and installed the Mac OSX package (Jenkins 2.8) and 
> created a test pipeline, using the sample script (shown below).  The 
> plugins seem to be in place (I opted to let the install choose the common 
> ones for me). 
> > 
> > node { 
> >// Mark the code checkout 'stage' 
> >stage 'Checkout' 
> > 
> >// Get some code from a GitHub repository 
> >git url: '
> https://github.com/jglick/simple-maven-project-with-tests.git' 
> > 
> >// Get the maven tool. 
> >// ** NOTE: This 'M3' maven tool must be configured 
> >// **   in the global configuration.   
> >def mvnHome = tool 'M3' 
> > 
> >// Mark the code build 'stage' 
> >stage 'Build' 
> >// Run the maven build 
> >sh "${mvnHome}/bin/mvn clean install" 
> > } 
> > 
> > [Pipeline] End of Pipeline 
> > 
> > java.lang.NoSuchMethodError: No such DSL method 'git' found among 
> [archive, bat, build, catchError, checkout, deleteDir, dir, echo, emailext, 
> error, fileExists, input, isUnix, load, mail, node, parallel, properties, 
> pwd, readFile, readTrusted, retry, sh, sleep, stage, stash, step, svn, 
> timeout, timestamps, tool, unarchive, unstash, waitUntil, withCredentials, 
> withEnv, wrap, writeFile, ws] 
> > at org.jenkinsci.plugins. 
> > workflow.cps.DSL.invokeMethod( 
> > DSL.java:108) 
> > at org.jenkinsci.plugins. 
> > workflow.cps.CpsScript.invokeMethod(CpsScript.java: 
> > 113) 
> > at groovy.lang.GroovyObject$ 
> > invokeMethod.call(Unknown Source) 
> > at org.codehaus.groovy.runtime. 
> > callsite.CallSiteArray.defaultCall(CallSiteArray. 
> > java:48) 
> > at org.codehaus.groovy.runtime. 
> > callsite.AbstractCallSite.call(AbstractCallSite.java: 
> > 113) 
> > at org.kohsuke.groovy.sandbox. 
> > impl.Checker$1.call(Checker. 
> > java:151) 
> > at org.kohsuke.groovy.sandbox. 
> > GroovyInterceptor.onMethodCall( 
> > GroovyInterceptor.java:21) 
> > at org.jenkinsci.plugins. 
> > scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall( 
> > SandboxInterceptor.java:115) 
> > at org.kohsuke.groovy.sandbox. 
> > impl.Checker$1.call(Checker. 
> > java:149) 
> > at org.kohsuke.groovy.sandbox. 
> > impl.Checker.checkedCall( 
> > Checker.java:146) 
> > at org.kohsuke.groovy.sandbox. 
> > impl.Checker.checkedCall( 
> > Checker.java:123) 
> > at com.cloudbees.groovy.cps. 
> > sandbox.SandboxInvoker.methodCall(SandboxInvoker. 
> > java:15) 
> > at WorkflowScript.run( 
> > WorkflowScript:6) 
> > at ___cps.transform___(Native Method) 
> > at com.cloudbees.groovy.cps.impl. 
> > ContinuationGroup.methodCall( 
> > ContinuationGroup.java:55) 
> > at com.cloudbees.groovy.cps.impl. 
> > FunctionCallBlock$ContinuationImpl.dispatchOrArg( 
> > FunctionCallBlock.java:106) 
> > at com.cloudbees.groovy.cps.impl. 
> > FunctionCallBlock$ContinuationImpl.fixArg( 
> > FunctionCallBlock.java:79) 
> > at sun.reflect. 
> > NativeMethodAccessorImpl. 
> > invoke0(Native Method) 
> > at sun.reflect. 
> > NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
> > 62) 
> > at sun.reflect. 
> > DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. 
> > java:43) 
> > at java.lang.reflect.Method. 
> > invoke(Method.java:497) 
> > at com.cloudbees.groovy.cps.impl. 
> > ContinuationPtr$ContinuationImpl.receive( 
> > ContinuationPtr.java:72) 
> > at com.cloudbees.groovy.cps.impl. 
> > 
> CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java: 
>
> > 55) 
> > at com.cloudbees.groovy.cps.impl. 
> > 
> Collection

A script to update TFS plugin password

2016-05-09 Thread Jirong Hu
Hi All

We use a service account in Jenkins to access TFS and its password needs to 
be changed every six months. Now I want to write a script (console groovy 
or C#) to update the password, can anyone give me an outline? I am thinking 
about two ways, assume we have the new hash value for the new password 
(this can be generated by updating password field in one project and find 
the new hash value in config.xml).
1. Console groovy: find all the projects using TFS plugin (how), update the 
value of the password field (this is the hash value, right?).
2. Search through the \jobs folder, and update the value of the password 
field (this is the hash value).

Thanks
Jirong

-- 
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/b3b28e0b-aef0-43e9-86ec-c68531ecf68b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Tutorial: Jenkins Plugin to integrate Jenkins and Nexus Repository

2016-01-25 Thread Jirong Hu
I got the exact same error with  2.11.4-01
Marcel, would you please help? Is it because the version of the jar not 
right?

Thanks
Jirong

On Thursday, 7 November 2013 18:53:23 UTC-5, stud007 wrote:
>
> I am using nexus pro version 2.6.4
> There is nexus-custom-metadata-plugin.jar  file.
>
> I have downloaded and added in  nexus third party jar.
>
> Now after doing all  this stuff...I am  getting compilation error
> INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile 
> (default-compile) on project nexus-metadata-plugin: Compilation failure: 
> Compilation failure:
> [ERROR] 
> /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[141,45]
>  
> error: cannot find symbol
> [ERROR] variable metadataRes of type CustomMetadataResponse
> [ERROR] 
> /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[144,23]
>  
> error: cannot find symbol
> [ERROR] variable customMetadata of type CustomMetadata
> [ERROR] 
> /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[145,17]
>  
> error: cannot find symbol
> [ERROR] variable customRequest of type CustomMetadataRequest
> [ERROR] 
> /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[186,6]
>  
> error: cannot find symbol
> [ERROR] variable item of type CustomMetadata
> [ERROR] 
> /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[187,6]
>  
> error: cannot find symbol
> [ERROR] variable item of type CustomMetadata
> [ERROR] 
> /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[188,6]
>  
> error: cannot find symbol
> [ERROR] variable item of type CustomMetadata
> [ERROR] 
> /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[189,6]
>  
> error: cannot find symbol
> [ERROR] variable item of type CustomMetadata
> [ERROR] 
> /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[191,9]
>  
> error: cannot find symbol
> [ERROR] -> [Help 1]
>
>
>
> then I downloaded your jar file and follow the same step..
> Still having the same issue.
>
> Is it related to  version I am  using or some stupid stuff I am  doing
>
> Thanks for your help in  advance.
>
> ~S
>
>
>
>
> On Wednesday, May 22, 2013 9:40:32 AM UTC-7, Marcel Birkner wrote:
>>
>> Hi Izet,
>>
>> It seems that Sonatype removed the client jar from the Nexus Zip file. I 
>> was using Version 2.0.6 when I was writing the article. Please find the JAR 
>> file attached to this message.
>>
>> *nexus-professional-**trial-2.0.6\nexus\WEB-INF\*
>> *optional-plugins\nexus-custom-**metadata-plugin-2.0.6\nexus-*
>> *custom-metadata-plugin-2.0.6*
>>
>> Greetings,
>> Marcel
>>
>>
>>
>> Am Montag, 20. Mai 2013 23:31:55 UTC+2 schrieb Izet Salihbegovic:
>>>
>>> Hi Marcel
>>>
>>> Great work on your explanations but I hit the snag.  Cant find one 
>>> dependency anwhere.
>>> Using Professional Edition, Version: 2.4.0-09
>>> Here is what I dont have
>>> 
>>> org.sonatype.nexus
>>> *nexus-custom-metadata-plugin-client*
>>> 1.0
>>> 
>>>
>>> On Monday, August 6, 2012 5:43:00 AM UTC-7, Marcel Birkner wrote:

 Hi,

 I was looking for a way to add some metadata to build artifacts after 
 they are deployed to Nexus / Artifactory. Since both tools offer a 
 metadata-plugin for the Pro Editions I decided to write my own Jenkins 
 Plugin that calls the Nexus REST API to add some metadata to the deployed 
 artifact. Turns out, writing Jenkins plugins is not that hard thanks to 
 some great documentation and the Maven hpi plugin that creates the project 
 skeleton.

 I wrote up my experience when developing the plugin and posted the 
 project on github. 


- Jenkins - Nexus Tutorial 

 
- Sourcecode on Github 



 I hope you find the article helpful in creating your own Jenkins 
 plugins in the future.

 Greetings,
 Marcel




-- 
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/f4a53a59-cdea-49ab-a52a-76300afa7d90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Any quick way to convert 50+ VS .net manual builds into Jenkins?

2015-11-16 Thread Jirong Hu
We are migrating 50+ .net project from TFS to GitHub, at the same time, we 
want to use Jenkins to automate the build. Currently all the builds are 
done inside the Visual Studio manually. I know how to automate this build 
using MSBuild and we already have a lot of these projects building inside 
Jenkins.

My question: is there a way to set up these 50+ project quickly w/o 
creating them one by one manually? Anyway to script them? e.g. a Jenkins 
project has everything inside a folder, I can copy a sample project/folder 
to create a new one and modify something. Or create a Jenkins project using 
a script reading a config file? Any idea can save some time is appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/932b8ba4-8f08-4f45-8f47-535c1da5d98a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to call Maven in a freestyle project

2015-11-09 Thread Jirong Hu
You are right, my bad, the project name is simple1, not simple. Thanks for 
helping.

On Saturday, 7 November 2015 07:19:48 UTC-5, Karl Heinz Marbaise wrote:
>
> Hi, 
>
> may be i misunderstand your question but the command is executed in 
> Jenkins workspace... 
>
> ? 
>
> Kind regards 
> Karl Heinz Marbaise 
> On 11/6/15 11:45 PM, Jirong Hu wrote: 
> > As you can see the error below, mvn command is executed in the Maven 
> installation path, but I specify the project as custom workspace 
> inC:\OTPPB2015\Workspace\Maven\simple. Just want to do a simple demo so 
> > it's not in any source control system. How can I let Jenkins execute the 
> > mvn command inside the workspace? 
> > 
> > 
> > 
> > Building on master in workspace C:\OTPPB2015\Workspace\Maven\simple 
> > [simple] $ cmd.exe /C '"C:\Tools\apache-maven-3.3.3\bin\mvn.cmd deploy 
> && exit %%ERRORLEVEL%%"' 
> > [INFO] Scanning for projects... 
> > [INFO] 
>  
> > [INFO] BUILD FAILURE 
> > [INFO] 
>  
> > [INFO] Total time: 0.075 s 
> > [INFO] Finished at: 2015-11-06T17:30:18-05:00 
> > [INFO] Final Memory: 5M/245M 
> > [INFO] 
>  
> > [ERROR] The goal you specified requires a project to execute but there 
> > is no POM in this directory (C:\OTPPB2015\Workspace\Maven\simple). 
>

-- 
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/8be00fff-4c53-4e39-a80c-bb826a380f32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to call Maven in a freestyle project

2015-11-06 Thread Jirong Hu


As you can see the error below, mvn command is executed in the Maven 
installation path, but I specify the project as custom workspace in 
C:\OTPPB2015\Workspace\Maven\simple. Just want to do a simple demo so it's not 
in any source control system. How can I let Jenkins execute the mvn command 
inside the workspace?



Building on master in workspace C:\OTPPB2015\Workspace\Maven\simple
[simple] $ cmd.exe /C '"C:\Tools\apache-maven-3.3.3\bin\mvn.cmd deploy && exit 
%%ERRORLEVEL%%"'
[INFO] Scanning for projects...
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 0.075 s
[INFO] Finished at: 2015-11-06T17:30:18-05:00
[INFO] Final Memory: 5M/245M
[INFO] 
[ERROR] 
The goal you specified requires a project to execute but there is no POM in 
this directory (C:\OTPPB2015\Workspace\Maven\simple). Please verify you invoked 
Maven from the correct directory. -> [Help 1]

-- 
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/129aa567-d579-4526-af82-2c9743604a76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Mailformed GitHub Plugin configuration

2015-11-04 Thread Jirong Hu
I am getting the above issue in Jenkins 1.6.7 on Windows, what's the 
solution? This link doesn't mention how to resolve it: 
https://issues.jenkins-ci.org/browse/JENKINS-20123

Thanks
Jirong

-- 
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/6fb3be9e-c43f-4418-887d-2bc01f811890%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What need to be changed after clone the Jenkins PROD server to be DEV server

2015-11-04 Thread Jirong Hu
We have a master server and slave server and all jobs are running on the 
slave. So I guess we need to clone both servers.

On Wednesday, 4 November 2015 10:18:00 UTC-5, Jirong Hu wrote:
>
> Hi All
>
> Our Jenkins's DEV server is messed up. We are thinking about clone the 
> PROD server to become the new DEV server.
> 1. Any concerns about this?
> 2. What need to be changed after the clone?
>
> Thanks
> Jirong
>

-- 
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/08236090-07d5-4138-907b-12be19627fad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


What need to be changed after clone the Jenkins PROD server to be DEV server

2015-11-04 Thread Jirong Hu
Hi All

Our Jenkins's DEV server is messed up. We are thinking about clone the PROD 
server to become the new DEV server.
1. Any concerns about this?
2. What need to be changed after the clone?

Thanks
Jirong

-- 
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/1cc9d710-6e18-4111-8726-61e48fb66a57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Any concerns to rename a job folder?

2015-10-23 Thread Jirong Hu
Hi, we are using the folder plugin to organize the projects into folders. 
Now we have a path name too long issue due to some long project names. Is 
there anything I need to concern to rename the folder names? Some posts 
mentioned to delete the old workspace on the slave machine.

Thanks
Jirong

-- 
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/a9a90e87-3e4d-4376-b0a9-8761ce16f7bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


git credentials are missing after copying the jobs

2015-10-21 Thread Jirong Hu
We just did a copy (of the job directories) from DEV server to PROD server, 
but found all git credentials are missing in jobs in the target server. Any 
idea why and how to fix it? We copied about 50 jobs.

Thanks
Jirong

-- 
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/127f4b45-a69e-4abf-a87c-bc5722d24056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Do I need to stop Jenkins to copy jobs?

2015-10-19 Thread Jirong Hu
Hi

We are trying to copy jobs from DEV instance to the PROD instance, but some 
jobs can't be copied. Do I need to stop Jenkins to do the copy?

Jirong

-- 
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/298e312d-534c-47a7-8a34-7d880298bc44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Global Build Stats only produce two builds

2015-10-16 Thread Jirong Hu


I just installed this plugin, it works fine in our DEV environment (only 
has a master), but on PROD (build on Slaves, actually executors on the same 
one Windows Slave) it only produce two builds. I created the report with 
all default settings which should includes all nodes. Any idea? 

Thanks 

Jirong

-- 
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/bca86afe-3e10-4276-9316-8a8fddd8f2c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


SVN Release Manager plugin: can't rebuild a failed build?

2013-11-28 Thread Jirong Hu


The build fails when there is a change in the source code: FATAL: No such 
property: path for class: hudson.scm.Subversion Release ChangeLogSet$Path.

e.g. Revision 49 build failed on build #5. The build #6 will pass and it 
says:

At revision 49
no change for https://cmtoldsvnapp01.dev.bmocm.com/stuff/Tomcat/trunk since the 
previous build
Script returned: []
Finished: SUCCESS



This is NOT the behaviour I want. I want the re-run the failed build with 
the same condition until it pass. How can I achieve it?

Thanks

Jirong 



-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.