Re: Get failing tests related to a maven build in a pipeline script?

2018-01-30 Thread Vincent Massol
Actually my code won't work. Just realized that 'env' can only store Strings. Thus I need a way to have some global variable shared between calls to my scripted pipeline library... Any idea? On Tuesday, January 30, 2018 at 6:15:20 PM UTC+1, Vincent Massol wrote: > > Thanks Victor. Not sure how f

Jira plugin 2.5.1 fails to validate settings

2018-01-30 Thread t3knoid
I am posting this just in case someone else runs into the issue. The latest Jira Plugin fails to validate it's settings. Version 2.5.0 works fine The following exception stack trace is thrown when trying to validate Jira settings: java.lang.IllegalAccessError: org/apache/http/impl/client/cach

Re: CIFS Publisher gets stuck

2018-01-30 Thread t3knoid
FYI, downgrading get's around the issue. On Tuesday, January 30, 2018 at 9:48:04 AM UTC-5, t3knoid wrote: > > Thanks for the quick reply. I will downgrade. > > On Monday, January 29, 2018 at 6:06:26 PM UTC-5, slide wrote: >> >> This is a known issue in cifs publisher 0.6, if you downgrade it shoul

Re: Get failing tests related to a maven build in a pipeline script?

2018-01-30 Thread Vincent Massol
Thanks Victor. Not sure how failureDiffString would help. The issue is that this returns the failures from all past maven executions and not just for the last run. FTM I've done this but it's overly complex and it would be nice to be able to get the failed tests related only to the last maven e

Re: Get failing tests related to a maven build in a pipeline script?

2018-01-30 Thread Victor Martinez
What about this: https://groups.google.com/d/msg/jenkinsci-dev/hI3aSyayYxQ/txGte6HQAAAJ ? Not sure whether the failureDiffString method might help you in this case. Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from t

Re: Jenkins slave git not found

2018-01-30 Thread Victor Martinez
It looks like the git installation within Jenkins got an empty value: Caused by: java.io.IOException: Cannot run program "" You might need to review those configuration details under 'Manage Jenkins' > 'Global Tool Configuration' > ' Git' > 'Git Installations' Cheers -- You received this mes

Bitbucket Branch Source Plugin broken?

2018-01-30 Thread Björn Rohlén
Hello. Running Bitbucket Branch Source Plugin v2.2.9 (latest as of this writing) paired with Jenkins 2.89.3 on RHEL7.3. Anyone else noticed that the "Script Path" is no longer working? If i use "Script Path" in the (new item -> Bitbucket Team/Project) configurationbox, it just never finds th

Get failing tests related to a maven build in a pipeline script?

2018-01-30 Thread Vincent Massol
Hi guys, I know how to get the failing tests for a job with: AbstractTestResultAction testResultAction = currentBuild.rawBuild.getAction( AbstractTestResultAction.class) def failedTests = testResultAction.getResult().getFailedTests() However, my pipeline job is executing Maven several times. I

Re: CIFS Publisher gets stuck

2018-01-30 Thread t3knoid
Thanks for the quick reply. I will downgrade. On Monday, January 29, 2018 at 6:06:26 PM UTC-5, slide wrote: > > This is a known issue in cifs publisher 0.6, if you downgrade it should > work fine. I am working on getting a fix out. > > On Mon, Jan 29, 2018, 15:59 t3knoid > > wrote: > >> I've not

Re: How to change default permissions of created jobs in Jenkins file system

2018-01-30 Thread 黄涛
I had resolved this problem.I find my "umask" is correct.I change my tomcat from 8 to 7,It’s ok!! 在 2018年1月23日星期二 UTC+8上午11:20:28,黄涛写道: > > Hi all, > > When I create a job(say *foo*), if I check the /jobs/ > directory all the jobs are created with the permission 750. > drwxr-x--- 3 android andr

Re: A recent change (or bug) in either Docker and/or Jenkins is breaking most tutorials in the Jenkins User Documentation.

2018-01-30 Thread Damien Duportal
Hi, you did everything good, it is just that the plugin had not been released yet with the fix (it is "merged" on the master branch, but not released yet). The releases at the "Code" level can be found here: https://github.com/jenkinsci/docker-workflow-plugin/releases . => The last one is 1.1.4.

Jenkins slave git not found

2018-01-30 Thread Marcello A
Hi, we configured a new slave node connected to a Jenkins 2.8 master node but when we schedule a build we noticed an issue related to git client installed to the slave node. The exception reported is : ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Could not init /CV

Build periodically with parameters

2018-01-30 Thread Rakesh Ranjan Majhi
On providing a parameter with percentage(%) sign in corn Jenkins give error message "You can only use one percent sign to separate the cron from the parameters." EX: 15 30 * * * % PLIST=https://cloud.abc.com/s3wsapi/config/live%CitrusCollege -- You received this message because you are subscr

Re: A recent change (or bug) in either Docker and/or Jenkins is breaking most tutorials in the Jenkins User Documentation.

2018-01-30 Thread Carlos Sanchez
This is biting a lot of users and reporting it as a bug https://github.com/jenkinsci/docker/issues/626 On Tue, Jan 30, 2018 at 2:27 AM, wrote: > Hi All, > > I've updated all the plug-in for jenkins but I still can't get the > tutorial to work. I'm getting this error when it runs > > [simple-ja