Re: Build periodically with Parameters support

2017-02-06 Thread Daniel Beck
It's unclear what plugin you're referring to. > On 06.02.2017, at 23:05, Sam K wrote: > > Anyone? > > On Thursday, February 2, 2017 at 3:41:47 PM UTC-8, Sam K wrote: > I could not find this plugin in the compatibility page here: > https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPA

Re: User not passing to job history if submitted by URL?

2017-02-06 Thread Daniel Beck
> On 06.02.2017, at 14:41, Don Alcombright wrote: > > any thoughts on that? Build token is needed if and only if whoever you authenticate as has permission to view, but not build, the job. Clearly, no authentication happens here, probably because Jenkins doesn't ask for it. Read https://wik

Is there any docker plugin which does not save credentials in the jenkins' slave machine for docker image push

2017-02-06 Thread AYUSH SAHU
Hi, I don't want to save credentials inside docker.cfg or .docker/config.json in the jenkins slave for docker push. Is there any docker plugin which does not save credentials in the slave machine for docker image push. Regards, Ayush -- You received this message because you are subscribe

Re: No way to add/remove jobs from a newly created View

2017-02-06 Thread Cary Tsai
Yes, I clicked on the 'MultiJobs'. If I click on the 'List' , the Jobs list shows. Thanks On Monday, February 6, 2017 at 4:02:18 PM UTC-8, Indra Gunawan (ingunawa) wrote: > > My view only shows jobs that the user has access to: > > > > *My View* > > > > This view automatically displays all t

Re: No way to add/remove jobs from a newly created View

2017-02-06 Thread Indra Gunawan (ingunawa)
My view only shows jobs that the user has access to: My View This view automatically displays all the jobs that the current user has an access to. You probably is thinking about “List View”: List View Shows items in a simple list format. You can choose which jobs are to be displayed in

No way to add/remove jobs from a newly created View

2017-02-06 Thread Cary Tsai
Jenkins version: 2.32.1 Create a View, click on "Edit View", from the http://myJenkins/view/MyView/configure, I cannot see Jobs list nor "Job Filters" even I install view jobs filter plugin. Anything I forgot to install/set/configure? Thanks

Re: Build periodically with Parameters support

2017-02-06 Thread Sam K
Anyone? On Thursday, February 2, 2017 at 3:41:47 PM UTC-8, Sam K wrote: > > I could not find this plugin in the compatibility page here: > https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md > > Is there a way I can schedule the same job with different parameters? I > am

Serialization error moving @NonCPS method from pipeline script to shared library

2017-02-06 Thread David Karr
I'm trying to move duplicated methods in several pipeline scripts to a shared library. My first attempt, moving an enum type, worked fine. My next test is moving a method annotated with "@NonCPS". I noticed in the doc about writing shared libraries (https://jenkins.io/doc/book/pipeline/share

Size of ear generated

2017-02-06 Thread Tejinder Kaur Gill
In freestyle job we get the size of ear generated in trends using disk usage plugin but not able to get the same in pipeline job ,any specific plugin for the same?? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this grou

Size of ear generated

2017-02-06 Thread Tejinder Kaur Gill
In freestyle job we get the size of ear generated in trends using disk usage plugin but not able to get the same in pipeline job ,any specific plugin for the same?? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this grou

Re: How to define a Git repository with two remotes in Pipeline DSL?

2017-02-06 Thread 'Marc Rohlfs' via Jenkins Users
Hi Mark, this does exactly what I need, many thanks. I actually used the "pipeline syntax" link, but I was too much focussed on the "git" step instead of thinking about the checkout step. Many thanks, Marc On Monday, 6 February 2017 14:32:32 UTC+1, Marc Rohlfs wrote: > > Hi there, > > how can

Re: Slave hang

2017-02-06 Thread jerome
I called victory way too fast, still can happen, just not as often. The fact that the slave can flood the master is a bit annoying, it should wait and continue later. Right now the behavior is if this happen, the slave/master hang (web gui is still accessible, but impossible to cancel the jobs)

Re: Job without trigger building constantly because of "SCM change"

2017-02-06 Thread cameronheardithaka
*tl;dr:* make sure your repo doesn't have more than one branch that matches your Branch Specifier by using the full path to the branch: "refs/heads/master" instead of "origin/master" Full story: We were having similar problem with a job in Jenkins 2.19.4. We would intentionally kick off a part

Re: Setting the description of a failed test in pipeline groovy

2017-02-06 Thread Vincent Massol
Thanks Richard, That looks a bit expensive though since all I need is to find the test results for the **current** job only. I wonder if there isn’t a simpler way. Thanks -Vincent > On 6 Feb 2017, at 14:39, Richard Ginga wrote: > > ok, if you need to step through to build object, I use this c

Re: How to define a Git repository with two remotes in Pipeline DSL?

2017-02-06 Thread Mark Waite
I don't know how to do that with pipeline DSL (though I suspect it is possible). With a regular pipeline script, you can use the "pipeline syntax" link on a pipeline job definition to choose the "checkout" step. That step will allow you to define multiple remotes for a single working directory.

Re: User not passing to job history if submitted by URL?

2017-02-06 Thread Don Alcombright
So its improving sort of haha. Now instead of "N/A" it posts "anonymous" any thoughts on that? On Friday, February 3, 2017 at 10:21:43 AM UTC-5, Daniel Beck wrote: > > Could be related to use of the build token. Try without, and make sure > your user has Build permission. > > > On 03.02.2017, a

Re: Setting the description of a failed test in pipeline groovy

2017-02-06 Thread Richard Ginga
ok, if you need to step through to build object, I use this code to eventually get the log of some other other job: for (item in Jenkins.instance.getAllItems()) { // // find the correct job // if (item.getFullName() == SERVER_BUILD_NAME) { def job = item.getAllJobs() // // get the last successf

Re: Setting the description of a failed test in pipeline groovy

2017-02-06 Thread Vincent Massol
Hi Richard, > On 6 Feb 2017, at 14:31, Richard Ginga wrote: > > Vincent, I am not a Jenkins master, but, you need to replace the "manager" > variable. that is defined by groovy-postbuild. I "think" all you need is to > use "currentBuild" as the variable to access build methods and > "Jenkins.

How to define a Git repository with two remotes in Pipeline DSL?

2017-02-06 Thread 'Marc Rohlfs' via Jenkins Users
Hi there, how can I define a Git repository with 2 remotes in Pipeline DSL? Unfortunaltely, *Multiple SCMs* don't seem to work for me, because I need a clone that is connected to two remote repositories. I actually need this to implement an automated sync for a vendor branching. Any ideas? Ma

Re: Setting the description of a failed test in pipeline groovy

2017-02-06 Thread Richard Ginga
Vincent, I am not a Jenkins master, but, you need to replace the "manager" variable. that is defined by groovy-postbuild. I "think" all you need is to use "currentBuild" as the variable to access build methods and "Jenkins.instance." to access FilePath. On Mon, Feb 6, 2017 at 3:25 AM, Vincent Mass

Re: Does the sh pipeline step not work in windows with cygwin?

2017-02-06 Thread Marcelo Filho
Same here, any update? Now I've being blocked by the SSH agent... :( On Thursday, December 22, 2016 at 9:09:10 AM UTC+1, Kadrach IsFictious wrote: > > Hi Jonathan, > > did you ever resolve this issue? I have the same problem. > > Cheers, > > Kad > > On Sunday, July 3, 2016 at 10:32:34 AM UTC+10,

Shell script in Jenkins doesn't get info about POM_VERSION/POM_ARTIFACTID with Promotion Build plugin

2017-02-06 Thread alopez
I am trying to execute shell script with Promotion Build plugin to get info about maven properties (POM_VERSION, POM_ARTIFACTID). Trouble is values for Jenkins environment variables are shown, but info about maven properties are shown empty. Projects where I am testing are MVN projects. ech

Re: [Declarative Pipeline] Using Dockerfile not in root of checkout

2017-02-06 Thread Andrew Bayer
I've got a PR up for this now - https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/107 A. On Sun, Feb 5, 2017 at 9:01 PM, Staffan Forsell wrote: > Hmmm, of course I found https://issues.jenkins-ci.org/browse/JENKINS-41668 > a couple of minutes later... > > On Sunday, 5 February

Re: Jenkins Upgrade | Migration path is 1.585 -> LTS 2.32.1

2017-02-06 Thread Vikrant Kaushik
Thank you both, yes, I'm seeing some problem with plugins in this case. Regards Vikrant On Monday, 6 February 2017 06:07:16 UTC, Vikrant Kaushik wrote: > > Dear All, > > This weekend I'm planning to upgrade my Jenkins as per below Migration > plan: > > 1.585 -> LTS 2.32.1 > > Request all of you

Re: Remove all jobs' builds directories - is it safe to do so?

2017-02-06 Thread Daniel Beck
> On 06.02.2017, at 10:51, Dan Tran wrote: > > is it a safe thing to do? As long as there's never a user named 'builds', or a job named 'builds', or anything else, really, named builds -- perhaps. In general, no. Just configure all your projects to discard all but the last 1 (or 5, or …) bu

RE: Slow updates from the repository

2017-02-06 Thread Eliezer Croitoru
Bumping up. Eliezer Croitoru Linux System Administrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eliezer Croitoru Sent: Wednesday, February 1, 2017 2:27 PM To

Remove all jobs' builds directories - is it safe to do so?

2017-02-06 Thread Dan Tran
Hi I found the below command very handy to clean up my local jenkins master ( I dont really care about build histories and logs) find $JENKINS_HOME -name builds | xargs rm -rf so that I can backup before upgrade my jenkins is it a safe thing to do? I am about to recommend this to my grou

Re: Jenkins Upgrade | Migration path is 1.585 -> LTS 2.32.1

2017-02-06 Thread Oleg Nenashev
Also see upgrade guides being posted on the jenkins.io side. There should not be serious update blockers, but backup and testing are always recommended. Likely you will be afftected by some security fixes, which change the default behavior n some cases. понедельник, 6 февраля 2017 г., 7:49:10 UT

Setting the description of a failed test in pipeline groovy

2017-02-06 Thread Vincent Massol
Hi Jenkins masters, I had a groovy postbuild script that I'm trying to migrate to pipeline groovy. It's setting the description of failed test (in order to embed the screenshot taken by our selenium tests in the jenkins failed test UI - For example: http://ci.xwiki.org/job/xwiki-enterprise-t