Re: Archive multiple artifacts with same name

2016-08-23 Thread Sverre Moe
Yes, I am using several stash with different name derived from the slave name. This helps me to transfer the artifacts to our repository. However my problem is with the archive step that makes the artifacts listed up in Jenkins. In project branch job: Last Successful Artifacts In each project b

How to best clean up @script directories from using Pipeline

2016-08-23 Thread Leon Poon
We are starting to use the Pipeline plugin, and we noticed that it creates additional "@script" directories that do not get deleted automatically even when the jobs are deleted. What is the best approach to clean up these directories? I tried adding the following "step ([$class: 'WsCleanup'])"

Re: Possible regression from JENKINS-32326?

2016-08-23 Thread Tim Downey
Hi Daniel, Thanks for responding. A little more research on my part is showing the change is occuring when moving from Swarm 2.0 client to Swarm 2.2. Possibly a result of this change in Swarm 2.1. - Updating jenkins remoting dependency. Swarm client now matches the jenkins-remoting ver

Re: Can security realms be stacked?

2016-08-23 Thread Daniel Beck
> On 23.08.2016, at 21:26, Jeff wrote: > > Is it possible to fall through and try a different authentication method when > the first fails? I'm assuming it's not, as I've yet to find anything in my > searches, but I figured I'd ask here. No. Tracked as https://issues.jenkins-ci.org/browse/JE

Re: Perform administrative actions on user's first authentication?

2016-08-23 Thread Daniel Beck
Should be possible from another plugin listening for http://javadoc.jenkins-ci.org/jenkins/security/SecurityListener.html#fireLoggedIn-java.lang.String- > On 23.08.2016, at 20:43, Jeff wrote: > > Where would one implement a set of actions that take place the first time a > user logs in? > > W

Re: Possible regression from JENKINS-32326?

2016-08-23 Thread Daniel Beck
> On 23.08.2016, at 20:31, Tim Downey wrote: > > Am I understanding correctly that the slave should be picking up the proxy > settings from the master? If so, is it supposed to be picking it up from the > preferences in the Manage Plugins panel? Is it supposed to be somewhere else. > Slave

Can security realms be stacked?

2016-08-23 Thread Jeff
Is it possible to fall through and try a different authentication method when the first fails? I'm assuming it's not, as I've yet to find anything in my searches, but I figured I'd ask here. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Archive multiple artifacts with same name

2016-08-23 Thread Brian Ray
Have you looked at the stash step ? You can set an arbitrary name, which is how I got around a similar issue. The only downside is that the artifacts aren't saved with the

Re: Jenkins Pipeline Issue

2016-08-23 Thread vishad alekh
Thanks for the reply Mathus. I have uploaded the JenkinsFile in the repo (GIT) . After running the job i am still not getting the desired result . No job is getting created for new branch . The job is just prunning stale remotes and getting remote branches . After that its showing success. C

Perform administrative actions on user's first authentication?

2016-08-23 Thread Jeff
Where would one implement a set of actions that take place the first time a user logs in? We'd like to do the following: 1. User authenticates successfully (Active Directory plug-in) 2. create a folder for the new user 3. define a new role (we use the Role-Based Authorization Strategy)

Possible regression from JENKINS-32326?

2016-08-23 Thread Tim Downey
Hi, I just updated my Jenkins to 2.7.2 and am having issues with my slave nodes. From the looks of things, it may be related to JENKINS-32326 . I'm hoping someone familiar with the issue can either tell me I'm wrong or help me figure out th

Re: Local Jenkins server redirect to AWS Jenkins server

2016-08-23 Thread Michael Ryan
No proxy or iptable configured for redirect. Tried clearing and setting to local server the following: jenkins.model.JenkinsLocationConfiguration.xml: Restarted jenkins (rebooted), no luck. Still redirecting. :( Couldn't find any reference to the AWS server anywhere in Jenkins home dir. A

Re: Local Jenkins server redirect to AWS Jenkins server

2016-08-23 Thread Hiteswar
Check if If there any proxy or iptable configured for redirecting or "manage Jenkins -> configure system -> Jenkins URL" has aws URL . Regards hiteswar > On Aug 23, 2559 BE, at 10:08 PM, Michael Ryan wrote: > > We have a Jenkins instance running on an AWS server that we want to move in > ho

Local Jenkins server redirect to AWS Jenkins server

2016-08-23 Thread Michael Ryan
We have a Jenkins instance running on an AWS server that we want to move in house. The process was to create and configure a local Jenkins instance, verify jobs are executing correctly, then switch to the local Jenkins. I setup the local instance and configured it. Then it began redirecting th

Re: Integrating promoted-builds DSL to a job-dsl-gradle-example project

2016-08-23 Thread Wisen Tanasa
I couldn't get a way to grab the config.xml files nicely from jenkinsRule.jenkins.getAllItems(). This is what I ended up doing to get the config.xml files. I kind of like this approach as I don't have to handle config.xml that are not from Jenkins *Item *e.g. promoted builds generate config.xml

Multi-branch pipeline questions.

2016-08-23 Thread Qazwart
I’m just starting to use Multi-branch pipelines. Here are some questions I have: * Multi-branch pipelines don’t seem to automatically build when the repository changes. We are looking at a Subversion repo. I don’t see where we can specify that in the multi-pipeline configuration. In non-pipeline

Re: Using HTTP Request plugin to remote control an IDE

2016-08-23 Thread Amaury Laurent
Hi, I'm trying to implement your suggestion. Pipeline plugin is really awesome! I stil have some exception problems but it looks good! By the way, I plan to make a small diagram to explain my project and its architecture. Thank you for your help. Regards, Amaury. Le vendredi 12 août 2016 13:5

[ANN] - Incoming Jenkins Online Meetups (Aug 25 and Sep 6)

2016-08-23 Thread Oleg Nenashev
Hi, Just in case you have not started following Jenkins Online Meetup yet. We are going to have two online meetups soon: - *Aug 25, 6PM UTC* - GSoC Presentations by students - Alexandru Somai and Samat Davletshin will talk about their Googl

Re: Multi-configuration project fails to load after Jenkins 2 upgrade

2016-08-23 Thread Gavin Williams
Ah, actually, apologies, I got this issue mixed up with another one I'm currently having... Yes, there is an error in the logs for the Multi-Configuration project. Aug 23, 2016 3:59:58 PM jenkins.InitReactorRunner$1 onTaskFailed > SEVERE: Failed Loading job Microservice_Matrix_Unit > java.lang

Re: Multi-configuration project fails to load after Jenkins 2 upgrade

2016-08-23 Thread Gavin Williams
Daniel An example config.xml is here: https://gist.github.com/fatmcgav/19660174fed68f9df6c70797f079bc72 Nothing obvious in the logs, and some complaints about 'Unreadable Data'. A couple of lines corresponding to this project: > hudson.model.FreeStyleProject Unit_4 NoSuchMethodError: > org.jr

Re: Multi-configuration project fails to load after Jenkins 2 upgrade

2016-08-23 Thread Daniel Beck
Please provide the config.xml of the affected job. It seems to be invalid. Maybe a plugin is failing to load. Anything in the logs, or on /manage? > On 23.08.2016, at 15:37, Gavin Williams wrote: > > The latest occurrence on a fresh install with latest of everything is: > * Jenkins: 2.7.2 > * M

Re: Unreadable data for build wrappers

2016-08-23 Thread Gavin Williams
Not that it helps you Morten, but I've just been hit by the same issue with RVM and Build-Name-Setter. Following a restart, the UI and Jenkins dis-regards any config settings, even though the build config.xml looks correct... I really don't want to have to fettle 20+ jobs every time I have to

Unreadable data for build wrappers

2016-08-23 Thread Morten Gregersen
We've been using the RVM and ANSI color plugins for several months now. Suddenly they stopped working after a restart of Jenkins. We generate new jobs from a config.xml template: DISPLAY_NAME false 2 https://server/my_repo.git Nice GUUID

monitor local system load for scheduling and/or co-exist with LSF?

2016-08-23 Thread Jonathan
Does Jenkins have any concept of local system load on it's slaves/permanent agents for scheduling? I know by default it favors the last executor for a job. I've looked at the Least-Load plugin too, but it seems like it only knows about the number of defined executors available regardless of an

Re: Multi-configuration project fails to load after Jenkins 2 upgrade

2016-08-23 Thread Gavin Williams
The latest occurrence on a fresh install with latest of everything is: * Jenkins: 2.7.2 * Matrix Project plugin: 1.7.1 Cheers Gavin On Tuesday, 23 August 2016 13:01:05 UTC+1, Daniel Beck wrote: > > What versions of Jenkins and the Matrix Project plugin is this? > > > On 23.08.2016, at 13:54, Ga

Re: Multi-configuration project fails to load after Jenkins 2 upgrade

2016-08-23 Thread Daniel Beck
What versions of Jenkins and the Matrix Project plugin is this? > On 23.08.2016, at 13:54, Gavin Williams wrote: > > Just to confirm, I hit exactly the same error on a fresh Jenkins 2 > installation... > > Anyone hit anything similar? > > Cheers > Gavin > > On Friday, 19 August 2016 17:21:

Re: Multi-configuration project fails to load after Jenkins 2 upgrade

2016-08-23 Thread Gavin Williams
Just to confirm, I hit exactly the same error on a fresh Jenkins 2 installation... Anyone hit anything similar? Cheers Gavin On Friday, 19 August 2016 17:21:44 UTC+1, Gavin Williams wrote: > > Afternoon all > > I've just upgraded one of our Jenkins hosts from 1.6 to 2.18, and > unfortunately

Re: Jenkins Pipeline: input step filled via remote script/curl

2016-08-23 Thread Miłosz Tyborowski
Hello. I managed to resolve this issue. Hoping that someone else will benefit from my answer, let me explain how I achieved OPs target. All that Jenkis Pipeline input step needs is a properly formatted JSON and OK button caption sent to the right URL. So, the proper syntax is: curl -X POST

Re: Pipeline: How to access Jenkins build information from pipeline?

2016-08-23 Thread Lars Meynberg
Thanks, that was the hint in the right direction! Am Montag, 22. August 2016 13:21:11 UTC+2 schrieb Lars Meynberg: > > Hi guys, > > I'd like to access some information about the job and its builds. I've > found this example from the cloudbees repo: > > https://github.com/cloudbees/jenkins-script