Re: Jenkins can't find existing artifacts

2016-04-25 Thread bandi pavankumar reddy
Hi,

Try using **/*.log . may be this will help you.

On Monday, April 25, 2016 at 6:15:05 PM UTC+5:30, David Villasmil wrote:
>
> Hello Guys,
>
> I have a jenkins running a job, after which I want it to "archive 
> artifact", which is basically just get some files.
>
> The Job clones a github and when ran, it generates some log files which I 
> need. The patter is:
>
> logfiles/*
>
> I added a command to list the directory to make sure the files are there, 
> and indeed they are.
>
> + ls -la logfiles
> total 24
> drwxr-xr-x 2 root root 4096 Apr 22 23:23 .
> drwxr-xr-x 8 root root 4096 Apr 22 23:23 ..
> -rw-r--r-- 1 root root0 Apr 22 23:23 1461367410777_testuuid_61746144-
> 3A3A--4944-3D5343414C41.log
> -rw-r--r-- 1 root root 1248 Apr 22 23:23 1461367410777_testuuid_61746144-
> 3A3A--4944-3D5343414C41_shortmsg.csv
> -rw-r--r-- 1 root root 2521 Apr 22 23:23 1461367410777_testuuid_61746144-
> 3A3A--4944-3D5343414C41_stats.log
> -rw-r--r-- 1 root root 8035 Apr 22 23:23 1461367410777_testuuid_61746144-
> 3A3A--4944-3D5343414C41_trace_msg.log
> Archiving artifacts
> ERROR: No artifacts found that match the file pattern "logfiles/*". 
> Configuration error?
> ERROR: ‘logfiles/*’ doesn’t match anything, but ‘*’ does. Perhaps that’s 
> what you mean?
> Build step 'Archive the artifacts' changed build result to FAILURE
>
>
> I don't really understand why they are not found.
>
> I have tried many different patterns, like "**/logfiles/*.log", 
>  "**/logfiles/*.*",  "**/logfiles/*",  and even asking specifically for the 
> file like 
> "logfiles/1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_shortmsg.csv"
> Always same result.
>
> Can any one help?
>
> 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/9fd93dfb-db65-4401-9d5e-ec9dd759386f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Multibranch workflow cannot setup job properties

2016-04-25 Thread Kesav Kumar Kolla
https://issues.jenkins-ci.org/browse/JENKINS-34261

Are there any workaround for this?



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/938cabee-89a6-470c-a20e-dc052bd3c30e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Extracting credentials from Jenkins server

2016-04-25 Thread Victor Martinez
Hi, 

http://jenkins-ci.361315.n4.nabble.com/How-to-restore-the-setting-encrypted-by-credential-plugin-td4768926.html
 
might help

cheers

On Saturday, 23 April 2016 00:09:45 UTC+1, Jakov Sosic wrote:
>
> Hi guys,
>
> I'm trying to extract credentials from Jenkins server and migrate them to 
> a new server I'm setting up. I don't want to simply copy whole 
> /var/lib/jenkins directory, because I inherited an instance which isn't 
> documented very well.
>
> I'm trying to rectify that by migrating step by step and documenting stuff 
> in the process, but the credentials part is really hard. I did manage to 
> extract all the username/password combinations by using fake build plan 
> which would echo them to log, but the issue I'm having problem the most are 
> the SSH keys.
>
> Is there a way to extract SSH keys?
>
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f02b1ccb-6a30-43b0-a910-a1cf67eef793%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Jenkins can't find existing artifacts

2016-04-25 Thread Jackson, Randy
Where are you looking for them?
On the Jenkins GUI, they should be under the build for the job.
On the server they should be at:
%JenkinsHome%/jobs/%JobName%/builds/%BuildNumber%/archive/
If you are running on a slave server, the archived files will be on the master 
server

Randy Jackson
Software Build Engineer  |  Indiana Farm Bureau Insurance
225 S. East Street P O Box 1250  |  Indianapolis, IN 46206
Office: (317) 692-8118  |  Fax: (317) 692-7212
randy.jack...@infarmbureau.com  |  
www.infarmbureau.com




[http://www.infarmbureau.com/images/signature/signatureLogo.gif]



From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Villasmil
Sent: Monday, April 25, 2016 11:57 AM
To: Jenkins Users
Subject: Re: Jenkins can't find existing artifacts

Hello,

Thanks for answering. Funny thing, it didn't generate an error, but still 
didn't get the files... :(

David

On Monday, April 25, 2016 at 8:45:05 AM UTC-4, David Villasmil wrote:
Hello Guys,

I have a jenkins running a job, after which I want it to "archive artifact", 
which is basically just get some files.

The Job clones a github and when ran, it generates some log files which I need. 
The patter is:

logfiles/*

I added a command to list the directory to make sure the files are there, and 
indeed they are.

+ ls -la logfiles
total 24
drwxr-xr-x 2 root root 4096 Apr 22 23:23 .
drwxr-xr-x 8 root root 4096 Apr 22 23:23 ..
-rw-r--r-- 1 root root0 Apr 22 23:23 
1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41.log
-rw-r--r-- 1 root root 1248 Apr 22 23:23 
1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_shortmsg.csv
-rw-r--r-- 1 root root 2521 Apr 22 23:23 
1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_stats.log
-rw-r--r-- 1 root root 8035 Apr 22 23:23 
1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_trace_msg.log
Archiving artifacts
ERROR: No artifacts found that match the file pattern "logfiles/*". 
Configuration error?
ERROR: ‘logfiles/*’ doesn’t match anything, but ‘*’ does. Perhaps that’s what 
you mean?
Build step 'Archive the artifacts' changed build result to FAILURE

I don't really understand why they are not found.

I have tried many different patterns, like "**/logfiles/*.log",  
"**/logfiles/*.*",  "**/logfiles/*",  and even asking specifically for the file 
like 
"logfiles/1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_shortmsg.csv"
Always same result.

Can any one help?

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/804b9bbe-082c-4aee-8f96-aaed10eb87a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This email is intended solely for the named addressee(s) and may be 
confidential or contain privileged information. Review, disclosure, copying, 
distribution, or use of this email by anyone other than an intended recipient 
is strictly prohibited. If you received this email in error, please delete it 
from your system and notify the sender immediately. While precautions have been 
taken to help ensure no computer viruses are present, there is a risk whenever 
transmitting emails or downloading attachments. The sender will not be liable 
for any loss or damage resulting from any malware in this communication or for 
improper or incomplete transmission of its contents or for any delay in its 
receipt.

-- 
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/3994D3AA09885B4CACC3D00FFD60221FCDC88D80%40MX-EXMB1-PRD.infarmbureau.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline Team project customize settings

2016-04-25 Thread Kesav Kumar Kolla
After I add

properties [[$class: 'BuildDiscarderProperty', strategy: [$class: 
'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '', 
daysToKeepStr: '', numToKeepStr: '5']]]

In Jenkinsfile I'm getting the following exception:

groovy.lang.MissingPropertyException: No such property: properties for class: 
groovy.lang.Binding
at groovy.lang.Binding.getVariable(Binding.java:62)
at 
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:210)
at org.kohsuke.groovy.sandbox.impl.Checker$4.call(Checker.java:241)
at 
org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:238)
at 
org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:221)
at 
com.cloudbees.groovy.cps.sandbox.SandboxInvoker.getProperty(SandboxInvoker.java:23)
at 
com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccessBlock.java:17)
at WorkflowScript.run(WorkflowScript:2)
at ___cps.transform___(Native Method)
at 
com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:62)
at 
com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)
at 
com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:54)
at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at 
com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
at com.cloudbees.groovy.cps.Next.step(Next.java:58)
at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:19)
at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
at 
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:106)
at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
at 
org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:277)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:77)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:186)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:184)
at 
org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
at 
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)



-- 
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/221a27a4-d137-4180-902e-e520495a7fae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins building a product consisting of many Maven projects? (with Jenkins Pipeline plugin?)

2016-04-25 Thread Marnix Klooster
Hi all,

(Apologies for crossposting my Stack Overflow question (
http://stackoverflow.com/q/36624122/223837) here.)

Basically my question is: how best to configure Jenkins for building a 
product which consists of many interdependent Maven projects?

So we have a large product, and which was divided into separate Maven 
projects to keep it manageable.  But it is always released as a single 
whole, so when one project is changed we like to build all dependent 
projects down to the end product.

Can the Jenkins Pipeline plug-in help us here?  We were thinking about 
creating a single pom-file-depencency0analyzing job which would build the 
Maven projects in the correct order.

Thanks for any and all input!

Groetjes,
 <><
Marnix

-- 
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/ab1b2a4f-210a-4f3a-98ec-4366373aa94d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Bind Usergroup to specified node(s)/slave(s)?

2016-04-25 Thread Daniel Beck

> On 25.04.2016, at 19:44, 'Dan Steffen' via Jenkins Users 
>  wrote:
> 
> we start at office to work with one central-master jenkins server for the 
> administration (job-definitions, user management etc.) and one or more nodes 
> per team, this works without problems. But we look for a configuration so we 
> could bind the nodes to the usergroups we use to organized the teams so not a 
> team can use the nodes of another team.
> 
> I already found out that you can defined the node at the job, but in the best 
> case the Teams can defined the jobs by there own. I don't know if I explained 
> it very well what is our goal. But if somebody understand our problem I would 
> very thankful for every useful hint.

Authorize Project Plugin lets you define the Jenkins user account a job is 
considered to be running as – by default, it's considered SYSTEM/unrestricted. 
Coupled with the Agent/Build permission configurable e.g. in (project-based) 
Matrix Auth strategies, you can restrict the nodes a build can be executed on.
https://wiki.jenkins-ci.org/display/JENKINS/Authorize+Project+plugin

Job Restrictions Plugin allows you to define which jobs are allowed to run on 
each node based on e.g. job name.
https://wiki.jenkins-ci.org/display/JENKINS/Job+Restrictions+Plugin

My employer's CloudBees Jenkins Enterprise includes the Folders Plus Plugin, 
that allows restricting which builds can run on a node based on the folder 
they're in.
https://documentation.cloudbees.com/docs/cje-user-guide/foldersplus-sect-controlledslaves.html

-- 
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/5D17EC3E-6F0B-4AB2-9A2D-150FEA00D84B%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Trigger arbitrary build/post-build steps from pipeline

2016-04-25 Thread Craig Rodrigues
>From a pipeline, You cannot invoke methods in other Jenkins plugins unless
those plugins have been modified to support pipelines.  See:

https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md
https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md

--
Craig


On Sun, Apr 17, 2016 at 11:40 AM, Andrew Melo  wrote:

> Hello all,
>
> I would like to trigger build/post-build steps that don't appear in the
> snippet viewer (e.g. publish TAP results) from a pipeline. Is there a way
> to trigger arbitrary build/post-build steps that don't appear in the
> snippet browser, or will the plugin need to be updated to explicitly
> support being triggered from pipelines?
>
> Thanks!
> Andrew
>
> --
> 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/5f309810-2ee4-4a4d-8b8f-4d93c846720c%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/CAG%3DrPVeSsa2B1LC%2Bck1%3D6_EY22za51b3YzwN48CN9PwLAv_yHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trigger arbitrary build/post-build steps from pipeline

2016-04-25 Thread Andrew Melo
ping? Is the shiny new pipeline functionality simply incompatible with all 
of the existing plugins?

On Thursday, April 21, 2016 at 2:34:00 PM UTC-5, Andrew Melo wrote:
>
> Hi,
>
> I've dug a bit more, perhaps that will help find a solution. It appears 
> the "step" groovy function wants a class that implements SimpleBuildStep, 
> but the plugins I'm looking at implements/extends hudson.tasks.Recorder. 
> I'm confused about the issue. If I look at the javadoc:
>
> http://javadoc.jenkins-ci.org/hudson/tasks/Recorder.html
>
> I see that Recorder implements BuildStep, but not SimpleBuildStep. But 
> (and my java is rusty, so forgive the terminology), since BuildStep is a 
> superinterface of SimpleBuild step, shouldn't it "count" for when step() 
> searches for a class implementing the interface?
>
> Thanks
> Andrew
>
> On Sunday, April 17, 2016 at 8:24:43 PM UTC-5, Andrew Melo wrote:
>>
>> Hi again,
>>
>> I poked at it some more and it appears I'll have to explicitly change the 
>> plugins I want to use in a pipeline. The following:
>>
>> step([$class: 'TapPublisher', testResults: 'tap.log']) 
>>
>> yields the following error:
>>
>> no known implementation of interface jenkins.tasks.SimpleBuildStep is 
>> named TapPublisher
>>
>> Or, perhaps a new groovy step that consumes classes of type 'Recorder' is 
>> the better idea?
>>
>> Thanks again!
>> Andrew
>>
>> On Sunday, April 17, 2016 at 1:40:28 PM UTC-5, Andrew Melo wrote:
>>>
>>> Hello all,
>>>
>>> I would like to trigger build/post-build steps that don't appear in the 
>>> snippet viewer (e.g. publish TAP results) from a pipeline. Is there a way 
>>> to trigger arbitrary build/post-build steps that don't appear in the 
>>> snippet browser, or will the plugin need to be updated to explicitly 
>>> support being triggered from pipelines?
>>>
>>> Thanks!
>>> Andrew
>>>
>>

-- 
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/cbb83db6-22f6-4d8a-be19-1fb33fe05bf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Bind Usergroup to specified node(s)/slave(s)?

2016-04-25 Thread 'Dan Steffen' via Jenkins Users
Hello,

we start at office to work with one central-master jenkins server for the 
administration (job-definitions, user management etc.) and one or more 
nodes per team, this works without problems. But we look for a 
configuration so we could bind the nodes to the usergroups we use to 
organized the teams so not a team can use the nodes of another team.

I already found out that you can defined the node at the job, but in the 
best case the Teams can defined the jobs by there own. I don't know if I 
explained it very well what is our goal. But if somebody understand our 
problem I would very thankful for every useful hint.
best 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/7ffc0982-2554-4cfc-8740-887a95027ba8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pipeline: "Branch not mergable"

2016-04-25 Thread Andrew Melo
Hi all,

Fairly often (~50% of the time), when I push a feature branch up to
GH, my multibranch configuration job will get the notification, poll
GH, then bomb with:

Checking pull request #PR-47
Not mergeable, skipping

Even though the branch is mergable. If I force a build manually, it bombs with:

ERROR: Could not determine exact tip revision of PR-47; falling back
to nondeterministic checkout

java.io.IOException: Cannot retrieve Git metadata for the build
at 
org.jenkinsci.plugins.github.util.BuildDataHelper.getCommitSHA1(BuildDataHelper.java:34)
at 
com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:132)

This happens until I repeatedly force the branch indexing. Eventually
something clicks over, and jenkins is aware of the proper commit.

Now, I've seen JENKINS-34120, but this appears to be different. The
commit is mergeable against master (I'm the only one commiting to
master currently, no rebases of the feature branch, etc..), and
there's no other status tests that would be keeping it from building.
It seems like the actual commit notification is getting scrambled.

Has anyone else seen this?
Cheers,
Andrew

-- 
--
Andrew Melo

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


Jenkins XUnitPublisher call from pipeline plugin

2016-04-25 Thread Павел Песецкий
I see that xunit compatibility is supported by pipeline 
from: 
https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md#build-steps-and-post-build-actions
But when I try to add the step with:

node('remote') {
step([$class: 'XUnitPublisher', 
types: [
[NUnitJunitHudsonTestType : [pattern: '**/test.xml', skipNoTestFiles: 
'false', failIfNotNew: 'true',deleteOutputFiles: 'true', 
stopProcessingIfError: true]]
],
thresholds: [
[$class: 'FailedThreshold', unstableThreshold: '20']
]

])
}


I get:

java.lang.NullPointerException: The types section is required.
at 
org.jenkinsci.plugins.xunit.XUnitProcessor.(XUnitProcessor.java:67)
at 
org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:141)
at 
org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:68)
at 
org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59)
at 
org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:49)
at hudson.security.ACL.impersonate(ACL.java:213)
at 
org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Where I'm wrong here?

-- 
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/17a812c5-d2f9-4779-abbb-c996cc8c8891%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: call a Jenkins plugin from a pipeline

2016-04-25 Thread Jan Chaloupecky
Ok thanks,
there is a open ticket for the Bitbucket notifier
https://issues.jenkins-ci.org/browse/JENKINS-33841

So this means that each plugin has to implement the pipeline support before it 
can be used.

thanks
Jan

On 25 April 2016 at 19:12:40, Mark Waite (mark.earl.wa...@gmail.com) wrote:

The JUnit plugin has been extended to support pipeline.  Refer to 
https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md for an 
example of how to use it in a pipeline.

I don't see any mention of pipeline enabling changing in the BitBucket Build 
Status Notifier Plugin or the Cobertura Plugin.

Mark Waite

On Mon, Apr 25, 2016 at 11:06 AM Jan Chaloupecky  
wrote:
Hello,
I have a Jenkinsfile in my project that triggers different build steps from 
checking out the sources through testing/building my project. I would like to 
know if I can call some other Jenkins plugins from the Jenkinsfile. In my 
non-pipeline projects I was using some "post build actions" such as 

https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+Build+Status+Notifier+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Plugin

Is this something that has to be implemented by the plugin itself or is there a 
way to call those plugins from the Jenkinsfile ?

cheers,
Jan
--
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/7f670704-51a6-4d95-ab22-a7f08746eb36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/ZTaU0kUOqGU/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/CAO49JtG-8E%3DafKyEK9cCrd%3D2mpjL7s8Yfoy7zThAN3q1vjFj_g%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/etPan.571e51eb.269ab7bb.dc32%40LAP33.local.
For more options, visit https://groups.google.com/d/optout.


Re: call a Jenkins plugin from a pipeline

2016-04-25 Thread Mark Waite
The JUnit plugin has been extended to support pipeline.  Refer to
https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md for an
example of how to use it in a pipeline.

I don't see any mention of pipeline enabling changing in the BitBucket
Build Status Notifier Plugin or the Cobertura Plugin.

Mark Waite

On Mon, Apr 25, 2016 at 11:06 AM Jan Chaloupecky 
wrote:

> Hello,
> I have a Jenkinsfile in my project that triggers different build steps
> from checking out the sources through testing/building my project. I would
> like to know if I can call some other Jenkins plugins from the Jenkinsfile.
> In my non-pipeline projects I was using some "post build actions" such as
>
>
> https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+Build+Status+Notifier+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Plugin
>
> Is this something that has to be implemented by the plugin itself or is
> there a way to call those plugins from the Jenkinsfile ?
>
> cheers,
> Jan
>
> --
> 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/7f670704-51a6-4d95-ab22-a7f08746eb36%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/CAO49JtG-8E%3DafKyEK9cCrd%3D2mpjL7s8Yfoy7zThAN3q1vjFj_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


call a Jenkins plugin from a pipeline

2016-04-25 Thread Jan Chaloupecky
Hello,
I have a Jenkinsfile in my project that triggers different build steps from 
checking out the sources through testing/building my project. I would like 
to know if I can call some other Jenkins plugins from the Jenkinsfile. In 
my non-pipeline projects I was using some "post build actions" such as 

https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+Build+Status+Notifier+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/JUnit+Plugin

Is this something that has to be implemented by the plugin itself or is 
there a way to call those plugins from the Jenkinsfile ?

cheers,
Jan

-- 
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/7f670704-51a6-4d95-ab22-a7f08746eb36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline Team project customize settings

2016-04-25 Thread Kesav Kumar Kolla
Thanks a lot for the pointer.

-- 
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/c91a86e3-c268-46d6-b772-36b8bee7ac14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline Team project customize settings

2016-04-25 Thread Daniel Beck

> On 25.04.2016, at 18:06, Kesav Kumar Kolla  wrote:
> 
> On the team project I configured Discard old Items.  This setting is not 
> honored by the individual projects that's been created for each of my project.
> 
> Is there any way to specify these project level settings in Jenkinsfile?

The folder level 'discard old items' is about deleting per-branch/per-repo 
_projects_ when their branch/repo no longer exists.

To configure _build_ deletion for individual projects, use a snippet generator 
for 'properties: Set job properties' for your pipeline. It will look something 
like this:

properties [[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', 
artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '7', 
numToKeepStr: '10']]]

Some documentation for this is here:
https://jenkins.io/doc/pipeline/steps/workflow-multibranch/#properties-set-job-properties

-- 
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/63B7928B-A13A-4E65-BE42-03C1BDE083C6%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Pipeline Team project customize settings

2016-04-25 Thread Kesav Kumar Kolla
I've created a team project with Bitbucket branch source.  On the team 
project I configured Discard old Items.  This setting is not honored by the 
individual projects that's been created for each of my project.

Is there any way to specify these project level settings in Jenkinsfile?

Thanks in advance,
-Kesav

-- 
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/e07d0d34-34ae-4e47-8003-2532413214bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins can't find existing artifacts

2016-04-25 Thread David Villasmil
Hello,

Thanks for answering. Funny thing, it didn't generate an error, but still 
didn't get the files... :(

David

On Monday, April 25, 2016 at 8:45:05 AM UTC-4, David Villasmil wrote:
>
> Hello Guys,
>
> I have a jenkins running a job, after which I want it to "archive 
> artifact", which is basically just get some files.
>
> The Job clones a github and when ran, it generates some log files which I 
> need. The patter is:
>
> logfiles/*
>
> I added a command to list the directory to make sure the files are there, 
> and indeed they are.
>
> + ls -la logfiles
> total 24
> drwxr-xr-x 2 root root 4096 Apr 22 23:23 .
> drwxr-xr-x 8 root root 4096 Apr 22 23:23 ..
> -rw-r--r-- 1 root root0 Apr 22 23:23 1461367410777_testuuid_61746144-
> 3A3A--4944-3D5343414C41.log
> -rw-r--r-- 1 root root 1248 Apr 22 23:23 1461367410777_testuuid_61746144-
> 3A3A--4944-3D5343414C41_shortmsg.csv
> -rw-r--r-- 1 root root 2521 Apr 22 23:23 1461367410777_testuuid_61746144-
> 3A3A--4944-3D5343414C41_stats.log
> -rw-r--r-- 1 root root 8035 Apr 22 23:23 1461367410777_testuuid_61746144-
> 3A3A--4944-3D5343414C41_trace_msg.log
> Archiving artifacts
> ERROR: No artifacts found that match the file pattern "logfiles/*". 
> Configuration error?
> ERROR: ‘logfiles/*’ doesn’t match anything, but ‘*’ does. Perhaps that’s 
> what you mean?
> Build step 'Archive the artifacts' changed build result to FAILURE
>
>
> I don't really understand why they are not found.
>
> I have tried many different patterns, like "**/logfiles/*.log", 
>  "**/logfiles/*.*",  "**/logfiles/*",  and even asking specifically for the 
> file like 
> "logfiles/1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_shortmsg.csv"
> Always same result.
>
> Can any one help?
>
> 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/804b9bbe-082c-4aee-8f96-aaed10eb87a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Jenkins can't find existing artifacts

2016-04-25 Thread Jackson, Randy
Try using logfiles/ without the *

Randy Jackson
Software Build Engineer  |  Indiana Farm Bureau Insurance
225 S. East Street P O Box 1250  |  Indianapolis, IN 46206
Office: (317) 692-8118  |  Fax: (317) 692-7212
randy.jack...@infarmbureau.com  |  
www.infarmbureau.com




[http://www.infarmbureau.com/images/signature/signatureLogo.gif]



From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Villasmil
Sent: Monday, April 25, 2016 8:45 AM
To: Jenkins Users
Subject: Jenkins can't find existing artifacts

Hello Guys,

I have a jenkins running a job, after which I want it to "archive artifact", 
which is basically just get some files.

The Job clones a github and when ran, it generates some log files which I need. 
The patter is:

logfiles/*

I added a command to list the directory to make sure the files are there, and 
indeed they are.

+ ls -la logfiles
total 24
drwxr-xr-x 2 root root 4096 Apr 22 23:23 .
drwxr-xr-x 8 root root 4096 Apr 22 23:23 ..
-rw-r--r-- 1 root root0 Apr 22 23:23 
1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41.log
-rw-r--r-- 1 root root 1248 Apr 22 23:23 
1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_shortmsg.csv
-rw-r--r-- 1 root root 2521 Apr 22 23:23 
1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_stats.log
-rw-r--r-- 1 root root 8035 Apr 22 23:23 
1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_trace_msg.log
Archiving artifacts
ERROR: No artifacts found that match the file pattern "logfiles/*". 
Configuration error?
ERROR: ‘logfiles/*’ doesn’t match anything, but ‘*’ does. Perhaps that’s what 
you mean?
Build step 'Archive the artifacts' changed build result to FAILURE

I don't really understand why they are not found.

I have tried many different patterns, like "**/logfiles/*.log",  
"**/logfiles/*.*",  "**/logfiles/*",  and even asking specifically for the file 
like 
"logfiles/1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_shortmsg.csv"
Always same result.

Can any one help?

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/1146d4e6-d155-4046-add7-9fd4c1a9a7ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This email is intended solely for the named addressee(s) and may be 
confidential or contain privileged information. Review, disclosure, copying, 
distribution, or use of this email by anyone other than an intended recipient 
is strictly prohibited. If you received this email in error, please delete it 
from your system and notify the sender immediately. While precautions have been 
taken to help ensure no computer viruses are present, there is a risk whenever 
transmitting emails or downloading attachments. The sender will not be liable 
for any loss or damage resulting from any malware in this communication or for 
improper or incomplete transmission of its contents or for any delay in its 
receipt.

-- 
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/3994D3AA09885B4CACC3D00FFD60221FCDC7F73B%40MX-EXMB1-PRD.infarmbureau.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins can't find existing artifacts

2016-04-25 Thread David Villasmil
Hello Guys,

I have a jenkins running a job, after which I want it to "archive 
artifact", which is basically just get some files.

The Job clones a github and when ran, it generates some log files which I 
need. The patter is:

logfiles/*

I added a command to list the directory to make sure the files are there, 
and indeed they are.

+ ls -la logfiles
total 24
drwxr-xr-x 2 root root 4096 Apr 22 23:23 .
drwxr-xr-x 8 root root 4096 Apr 22 23:23 ..
-rw-r--r-- 1 root root0 Apr 22 23:23 1461367410777_testuuid_61746144-
3A3A--4944-3D5343414C41.log
-rw-r--r-- 1 root root 1248 Apr 22 23:23 1461367410777_testuuid_61746144-
3A3A--4944-3D5343414C41_shortmsg.csv
-rw-r--r-- 1 root root 2521 Apr 22 23:23 1461367410777_testuuid_61746144-
3A3A--4944-3D5343414C41_stats.log
-rw-r--r-- 1 root root 8035 Apr 22 23:23 1461367410777_testuuid_61746144-
3A3A--4944-3D5343414C41_trace_msg.log
Archiving artifacts
ERROR: No artifacts found that match the file pattern "logfiles/*". 
Configuration error?
ERROR: ‘logfiles/*’ doesn’t match anything, but ‘*’ does. Perhaps that’s 
what you mean?
Build step 'Archive the artifacts' changed build result to FAILURE


I don't really understand why they are not found.

I have tried many different patterns, like "**/logfiles/*.log", 
 "**/logfiles/*.*",  "**/logfiles/*",  and even asking specifically for the 
file like 
"logfiles/1461367410777_testuuid_61746144-3A3A--4944-3D5343414C41_shortmsg.csv"
Always same result.

Can any one help?

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/1146d4e6-d155-4046-add7-9fd4c1a9a7ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Pipeline Plugin - how to inject global passwords?

2016-04-25 Thread Ant Weiss
Hi all,
thanks for your inputs.
In fact I implemented this with Credentials Binding plugin and it worked 
great - masking the passwords as it should.

On Monday, April 25, 2016 at 12:55:14 PM UTC+3, Harry G. wrote:
>
> Please note: Credentials Binding works, but currently it is not possible 
> to mask passwords in the log with this solution.
> https://issues.jenkins-ci.org/browse/JENKINS-24805
> A PR from Cloudbees is in work, but not finished
>
> https://groups.google.com/forum/#!msg/jenkinsci-users/GgX3RSckVlI/LU8IqzqoMwAJ
>
> Until this is done, the only way to mask passwords in the log is EnvInject 
> or MaskPassword Plugin (with their respective backdraws).
> You could possibly externalize parts of your pipeline to a freestyle job 
> and use them.
>
> Official doc suggests to turn off log (set +x), if you can do this 
> reliably for all relevant jobs:
>
> https://cloudbees.zendesk.com/hc/en-us/articles/203802500-Injecting-Secrets-into-Jenkins-Build-Jobs
> If you have several people working on build jobs/scripts I would 
> discourage from doing this.
>
> Am Sonntag, 24. April 2016 16:33:22 UTC+2 schrieb Daniel Beck:
>>
>>
>> > On 24.04.2016, at 14:24, Ant Weiss  wrote: 
>> > 
>> > What is the right way to do this when wrting pipeline DSL scripts? 
>> > 
>>
>> Credentials and Credentials Binding Plugin: 
>>
>> https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Binding+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/50dee861-4fab-4537-b7a6-004ed80f6f6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Saving job log as text file?

2016-04-25 Thread karlis purens
Hello,

How can Jenkins job console be saved as a text file on slave machine?

I am working with a project that generates long and complex console logs - 
that are later analyzed for determining potential problems.

At the moment after each build i have to login to jenkins and manually copy 
the console to a text file, which is then analyzed. (you can see how 
cumbersome that is)

I have tried looking for console output in the job workspace of slave 
machine, but no files are generated in the workspace.
I have also tried saving the file from console by downloading the contents 
of job console url, but haven't found any suitable commands.

Slave machine is running on Windows 7
Using wget is not possible in this case because of restricted access.

Any help would be greatly 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/d6845c35-4efd-4fd7-9f22-9835f5625338%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Pipeline Plugin - how to inject global passwords?

2016-04-25 Thread Harry G.
Please note: Credentials Binding works, but currently it is not possible to 
mask passwords in the log with this solution.
https://issues.jenkins-ci.org/browse/JENKINS-24805
A PR from Cloudbees is in work, but not finished
https://groups.google.com/forum/#!msg/jenkinsci-users/GgX3RSckVlI/LU8IqzqoMwAJ

Until this is done, the only way to mask passwords in the log is EnvInject 
or MaskPassword Plugin (with their respective backdraws).
You could possibly externalize parts of your pipeline to a freestyle job 
and use them.

Official doc suggests to turn off log (set +x), if you can do this reliably 
for all relevant jobs:
https://cloudbees.zendesk.com/hc/en-us/articles/203802500-Injecting-Secrets-into-Jenkins-Build-Jobs
If you have several people working on build jobs/scripts I would discourage 
from doing this.

Am Sonntag, 24. April 2016 16:33:22 UTC+2 schrieb Daniel Beck:
>
>
> > On 24.04.2016, at 14:24, Ant Weiss > 
> wrote: 
> > 
> > What is the right way to do this when wrting pipeline DSL scripts? 
> > 
>
> Credentials and Credentials Binding Plugin: 
>
> https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Binding+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/377a850d-c825-4334-bdd3-99ad51e42020%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins 2.0 Upgrade

2016-04-25 Thread Daniel Beck

> On 25.04.2016, at 08:07, Sverre Moe  wrote:
> 
> How can I be sure before upgrade to Jenkins 2.0 that all my installed plugins 
> are still compatible?
> 
> Has there been any changes to the API that would require me to update my 
> groovy scripts?

We do not expect plugins to be incompatible with 2.0, except possibly those 
modifying core UI beyond the supported extension points due to some changes to 
the UI. But those plugins should be changed to not do that anyway, as we may 
change parts of the UI in any version for pretty much any reason.

However, we upgraded the bundled Groovy from 1.8.9 to 2.4.x. That could pose a 
problem, depending on what you or your plugins are doing.

FWIW I haven't seen reports of things breaking so far, with the exception of 
Linux systems that had enabled AJP (it used to be enabled by default in the 
RPMs), resulting in an error on startup that can easily be fixed by disabling 
it.

As always, if you need Jenkins to work and downtimes to be minimal, take a full 
backup before upgrading that allows you to downgrade, and/or try the new 
version in a staging environment first.

-- 
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/BE4B649C-F88C-4283-B6CD-B30C3854BEC4%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.