Can Shared library call another shared library (from /vars to /vars)

2017-04-25 Thread kevmando
Hi, I'm trying to consolidate common steps and stages into shared library under vars folder. (global variable/function) However, I got a problem with this while I'm writing too many small steps in separate groovy files under /vars folder, then try to use them in stage level script. Is it

Re: Scripts not permitted to use a method already approve in In-process Script Approval GUI

2017-04-25 Thread Lucas Brendel
I have been running in to this exact same issue, in fact i just posted here about it also. Do you know when it started for you? I can't tell if my update of Jenkins to 2.46 caused it or if it was due to an update to Script

Re: Scripts not permitted to use a method already approve in In-process Script Approval GUI

2017-04-25 Thread Lucas Brendel
I have been running in to this exact same issue, in fact i just posted here about it also. Do you know when it started for you? I can't tell if my update of Jenkins to 2.46 caused it or if it was due to an update to Script

Warnings Plugin Custom Parser Groovy Sandbox

2017-04-25 Thread Lucas Brendel
I have been having an issue as of late with custom parsers executing and not being able to run the groovy script. Groovy sandbox rejected the parsing script for parser Custom Parser: Scripts not permitted to use method java.util.regex.MatchResult group int. You will need to manually approve

Can System Groovy Choice Parameter be defined globally?

2017-04-25 Thread Victoria Kozel
I need to define same System Groovy Choice Parameter in multiple Jenkins jobs. I wonder if there is a way to avoid copying the script in all those jobs, and maybe define the script as a global parameter just once - same way as Global Choice Parameter from same plugin is defined. If you have an

Re: Connecting Jenkins to Moodle

2017-04-25 Thread Mark Waite
On Tue, Apr 25, 2017 at 6:42 AM wrote: > Hello Mark, > > first I want to thank you for your answer. I think I didn't describe my > task clearly. > I would like Jenkins to check wheter in Jenkins oder in another tool like > 'DOORS' the task given by moodle is done. So

Re: SAML Authentication - also need normal http auth

2017-04-25 Thread Ivan Fernandez Calvo
HI, It is not possible to use two authentication plugins/methods at the same time, but you could use the API token as authentication method for scripts or other automated tasks, for more information you can take a look at

Multijob plugin

2017-04-25 Thread CLOSE Dave
Is it possible that I'm the only one in the world using this plugin? I ask because I've asked questions here with no response at all. I've also sent the same questions to those listed as maintainers on the plugin's wiki page with no response. The wiki page seems to say there are about 16,000

How to trigger job when a new patchset is uploaded for an existing change

2017-04-25 Thread Sagar Bhowmik
My job works well when the patchset is uploaded for first time. After that when a new patchset is again uploaded on the same gerrit change, it does not trigger again. I already tried the Trigger On Comment Added Contains Regular Expression. I have these Trigger On currently in the same job.

Blue Ocean and selecting Git as where I store my code

2017-04-25 Thread Anders Persson
Hi I am learning Blue Ocaen and has installed the plugin and it starts. When I create a new pipeline I am able to click at "Git", see picture, but then it only writes "Loading..." How can I investigate this problem further?

Jenkins 2.46.1 in Ubuntu - SVN checkout error from slave node

2017-04-25 Thread Marcos Fernandez
Dear all, (English is not my native language; please excuse typing errors) I experiencing a problem during the SVN checkout process only when I run the builds from all the nodes I have created.  The SVN checkout can be successfully completed from the master but it can´t be completed from the

Re: How to use email-ext plugin in pipeline script?

2017-04-25 Thread jerome
Upon David request here's our Jenkinsfile example, it's not all files should be enough to give a good idea of my current setup. Note (the email-ext email content stop working between 2.51 and 2.54 Jenkins update, since the absolute path can not be found anymore, I may have to transfer the file

Re: Connecting Jenkins to Moodle

2017-04-25 Thread dursun . julide
Hello Mark, first I want to thank you for your answer. I think I didn't describe my task clearly. I would like Jenkins to check wheter in Jenkins oder in another tool like 'DOORS' the task given by moodle is done. So Jenkins checks the Tool in which the Moodle participant has to do his task

SAML Authentication - also need normal http auth

2017-04-25 Thread James Masson
Hi list, I've successfully got SAML integration working with Jenkins & OneLogin, through the normal SAML plugin. What I'm struggling with now is finding a solution to authenticate the Jenkins Swarm slave plugin, and a few other automation tools that operate via standard HTTP auth. Has

Re: java.util.zip.ZipException: error reading zip file by clicking on "Build Now" in jenkins

2017-04-25 Thread Victor Martinez
Unfortunately, Jira is accessible anonymously. Cheers On Tuesday, 25 April 2017 12:05:57 UTC+1, venkatesh guttal wrote: > > Hi Victor, > sorry, I do not have account in jira. How do i get the jira account? > do you know the workaround? please tell me. > > Regards, > Venkatesh > > On Tuesday, 25

Re: java.util.zip.ZipException: error reading zip file by clicking on "Build Now" in jenkins

2017-04-25 Thread venkatesh guttal
Hi Victor, sorry, I do not have account in jira. How do i get the jira account? do you know the workaround? please tell me. Regards, Venkatesh On Tuesday, 25 April 2017 14:56:42 UTC+5:30, Victor Martinez wrote: > > Sorry, I didn't mention that workaround is explained in those URLs, look > at

Jenkins Groovy Parameters on Pipelines

2017-04-25 Thread Ohad Cohen
Hi All, i'm trying to override pipeline parameters using groovy code or declarative code. i can't wrap this thing to work and i hope someone can help me figure out why. while working with the declarative pipelines i have used the following code: properties([

Re: java.util.zip.ZipException: error reading zip file by clicking on "Build Now" in jenkins

2017-04-25 Thread Victor Martinez
Sorry, I didn't mention that workaround is explained in those URLs, look at those jira tickets and you will find it. I hope it helps Cheers On Tuesday, 25 April 2017 09:56:41 UTC+1, venkatesh guttal wrote: > > Hi, > > Yes, Please tell me the workaround. > > below are some of info related to

Re: Declarative Pipeline - Agent wonderment

2017-04-25 Thread Christopher Orr
On Thu, 20 Apr 2017, at 15:02, Danny Rehelis wrote: > Help me understand this please, in case my Pipeline looks like this - > > stage ('Stage #1') { > agent { label 'builder' } > stage ('Stage #2') { > agent { label 'builder' } > > Will the second stage run on the same builder

Re: email-ext: "requester" option not available in Send to area

2017-04-25 Thread Sébastien Hinderer
Dear all, Slide (2017/04/20 20:16 +): > Did you expand the "Advanced" area of the plugin configuration? Yes. Then the "Send To" area appears, but only with the "Developers" and "Recipient list" choices. Nothing suspiscious in Jenkins logs either so I don't really know how to proceed from

Re: java.util.zip.ZipException: error reading zip file by clicking on "Build Now" in jenkins

2017-04-25 Thread venkatesh guttal
Hi, Yes, Please tell me the workaround. below are some of info related to jenkins. 1) I am using "ssh-slaves-plugin" for connection between master and slave 2) I am using jenkins version: 2.56 3) Machine used; Linux(master and slave) 4) Jenkins installed in redhat linux Is there any issue

RE: How to use email-ext plugin in pipeline script?

2017-04-25 Thread David Aldrich
I agree that some better examples would help a lot. In particular, an example script that runs a shell command and provides an email notification would be a great help. > So far, I use simple Jenkins file that launch a lot of console cmd … Please will you post your Jenkins file here or send