Re: ERROR: ‘**/*.apk’ doesn’t match anything: ‘**’ exists but not ‘**/*.apk’

2017-08-29 Thread Raghu nandan
Hi did you get the solution for this issue?? On Monday, 16 February 2015 15:49:23 UTC+5:30, Prasanth .K wrote: > > while i give extension as **/*.apk in the *Archiving artifacts* it will > shows error like this "***/*.apk’ doesn’t match anything: ‘**’ exists but > not ‘**/*.apk*".How can i solve

How to disable Plugin Management from Web GUI

2017-08-29 Thread Li Z
Currently, we are deploying Jenkins server using Jenkins Docker image and extending the image by adding some needed plugin using Dockerfile. We do not want Jenkins' users (admins), manually install plugins from Web GUI. Is possible to disable and remove Manage Plugin link from Jenkins Web GUI

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Dallas Clement
No I don't have any post commit hook defined. Starting with a green field here. Sounds like that's what I need to setup though. I also don't have the "Scan Multibranch Pipeline Triggers" checkbox enabled on my job configuration. I really don't know how it could be triggering unless that Poll

Re: Publish over CIFS configuration

2017-08-29 Thread Slide
I've recently taken over maintaining this plugin, I am not super familiar with it yet. Is there anything in the Jenkins logs? On Tue, Aug 29, 2017, 13:29 Ted Winslow wrote: > Bump. Anybody? > > > On Saturday, August 26, 2017 at 12:24:05 AM UTC-4, Ted Winslow wrote: >> >> I don't seem to be unde

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Stephen Connolly
Sounds like you have a post commit hook pushing the commit details to Jenkins, in which case events are working... to confirm, check the cause of a build, if it says "Branch Event" then you are solid gold... On Wed 30 Aug 2017 at 00:42, Dallas Clement wrote: > Thanks for the info Stephen. I wa

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Dallas Clement
Thanks for the info Stephen. I was not aware that the pollSCM trigger was ignored in a multibranch pipeline. Something is polling for changes. When someone pushes a change, a build gets triggered shortly thereafter. I do agree with you that polling is evil and not scalable with many branches

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Stephen Connolly
On Tue 29 Aug 2017 at 23:21, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > > On Tue 29 Aug 2017 at 22:35, Dallas Clement > wrote: > >> If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins >> dashboard, it will kick off a build immediately even when there were no >>

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Stephen Connolly
On Tue 29 Aug 2017 at 22:35, Dallas Clement wrote: > If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins > dashboard, it will kick off a build immediately even when there were no > changes. I have my declarative Jenkinsfile configured to poll for SCM > changes. I only want bui

Re: Parameterized Remote Trigger fails with NullPointerException

2017-08-29 Thread Matt Evans
I have this same issue. I have three servers setup. One with Jenkins 1.609.3, 1.642.4, and 2.60.3. I can use this plugin on my 1.6 - 1.6 instances but not 1.6 - 2.0. Wonder if there is an issue with jenkins 2.0? I also noticed that on my 1.6 > 1.6 instances it returns a 500 if I use choice

"Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Dallas Clement
If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins dashboard, it will kick off a build immediately even when there were no changes. I have my declarative Jenkinsfile configured to poll for SCM changes. I only want builds to be triggered from SCM changes. Any idea how I can

Re: jenkins docker image create first admin user

2017-08-29 Thread Li Z
Thanks Jacob! It is exactly what I am looking for. Found a link with code too https://gist.github.com/hayderimran7/50cb1244cc1e856873a4 On Tuesday, August 29, 2017 at 11:14:18 AM UTC-7, Jacob Larsen wrote: > > Yes. Put this snippet into a .groovy file, e.g. usercreate.groovy: > > instance =

Re: Pass variable from 1 job to other job with seperate jenkinsfiles

2017-08-29 Thread Michael Pailloncy
Hey. IIUC, this should be possible. Can you show us the content of your Jenkinsfiles please ? 2017-08-29 21:07 GMT+02:00 Werner Dijkerman : > Hi, > > I have an issue and I don't get it to work. > > I have 2 Jenkinsfiles and thus 2 jobs. With the first Jenkinsfile I set an > variable by reading a

Re: I need your help! Please tell me how you and/or your team uses Jenkins

2017-08-29 Thread niristotle okram
i think, first MS should roll out an official plugin to integrate TFS (on-prem) with jenkins. There are certain things that doesn't work with jenkins tfs plugin with on-prem tfs. * The major issue being: build status indicator on TFS (branch/PR ) * If using TFS to use build queuing on Jenkins, the

Pass variable from 1 job to other job with seperate jenkinsfiles

2017-08-29 Thread Werner Dijkerman
Hi, I have an issue and I don't get it to work. I have 2 Jenkinsfiles and thus 2 jobs. With the first Jenkinsfile I set an variable by reading a specific file, in this case: def commit_id = readFile('.git/commit-id').trim() Now I need to pass this 'commit_id' variable from the 1st Jenkinsfile/j

Slave To Master Access Control | security-144

2017-08-29 Thread Guillaume Karcher
Hi Guys, I'm Guillaume, part of the QA team of ExpertSystem Group, a software development Company specialized in Semantics / Text Analysis (QA is in charge of the building mechanism here). It's been a long time now, that we're still having the exception below at console output of the compilati

Re: Publish over CIFS configuration

2017-08-29 Thread Ted Winslow
Bump. Anybody? On Saturday, August 26, 2017 at 12:24:05 AM UTC-4, Ted Winslow wrote: > > I don't seem to be understanding the configuration of the Publish over > CIFS plugin. > > I installed the plugin and am trying to add a CIFS node to no avail. It > is showing every field as invalid as I lo

Declarative pipeline post condition 'aborted' not working.

2017-08-29 Thread Dallas Clement
If I manually abort a build, the 'always' and 'failure' post conditions get triggered, but never the 'aborted' post condition. I would wish for 'aborted' to work so that I can distinguish between an aborted build and a truly failed build. I only want to send email notifications for the latter

Re: Creating Jenkins slaves using kubernetes-plugin that restart on node failures

2017-08-29 Thread Cooper99
Hi Carlos, Thanks for the prompt reply. What I have seen is that when the node is deleted the slave/pod doesn't crash, it is just deleted. Then the Jenkins master just sits there waiting for the slave to return with the following output: Cannot contact default-6b0e4a2d33a: java.io.IOException:

Re: jenkins docker image create first admin user

2017-08-29 Thread Jacob Larsen
Yes. Put this snippet into a .groovy file, e.g. usercreate.groovy: instance = Jenkins.getInstance() def hudsonRealm = new hudson.security.HudsonPrivateSecurityRealm(false) hudsonRealm.createAccount("admin","Password1234") instance.setSecurityRealm(hudsonRealm) def strategy =

FYI: Declarative 1.2 beta available in experimental update center

2017-08-29 Thread Andrew Bayer
Just a heads up - Declarative Pipelines has a beta for the upcoming 1.2 release available in the experimental update center now, 1.2-beta-4. You can learn about what's in this release at https://wiki.jenkins.io/display/JENKINS/Pipeline+Model+Definition+Plugin, but the main changes are the additiona

jenkins docker image create first admin user

2017-08-29 Thread Li Z
I am trying to build a Jenkins docker image from jenkins/jenkins:2.67. Is there a way to create the first admin user with dockerfile? Thanks -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emai

Re: Jenkins declarative pipeline dynamic paramters

2017-08-29 Thread Slide
Could you do something like this? ENVS="dev1|dev2|dev" pipeline { parameters { choice(choices: "${env.ENVS.replace('|', '\n')}", description: 'What Environment?', name: 'env') } } On Tue, Aug 29, 2017 at 9:07 AM Mike Zupan wrote: > I have a use case where we need to list environments

Jenkins declarative pipeline dynamic paramters

2017-08-29 Thread Mike Zupan
I have a use case where we need to list environments to run a pipeline over and we have multiple jenkins servers that handle different environments. jenkins1 handles dev1 dev2 dev3 jenkins2 handles prod1 prod2 prod3 I want to be able to setup a pipeline that sources different envs and shows th

Re: Creating Jenkins slaves using kubernetes-plugin that restart on node failures

2017-08-29 Thread Carlos Sanchez
It doesn't restart the agents because as soon as the agent crashes the build will fail. So there is no point in restarting them On Tue, Aug 29, 2017 at 5:30 PM, Cooper99 wrote: > I am new to Jenkins so this may be a simple question. I am using the > kubernetes-plugin to dynamically create Jenki

Re: Using CSS in html published on Jenkins build

2017-08-29 Thread Hung L.
Thanks for your reply. I have problems accessing this repository through git. When I clone it, it says I'm cloning an empty repository although I do see a readme.txt in it. Any ideas? On Tuesday, August 29, 2017 at 10:42:57 AM UTC-4, Reinhold Fuereder wrote: > > Hi Hung, > > > > You can use

Creating Jenkins slaves using kubernetes-plugin that restart on node failures

2017-08-29 Thread Cooper99
I am new to Jenkins so this may be a simple question. I am using the kubernetes-plugin to dynamically create Jenkins slaves. The one thing I have noticed is that when using the plugin to create the slaves is if a node gets deleted the slave pod is running on, the slave pod is not restarted. I

I need your help! Please tell me how you and/or your team uses Jenkins

2017-08-29 Thread Nicole [MSFT]
My name is Nicole and I work on the engineering team for Developer Tools at Microsoft. I'm working on improving our support for Jenkins in our tools and in Azure and I need your help! I'm trying to understand what are the most time-consuming and/or painful tasks when using Jenkins and whether or

Re: Scoverage reports

2017-08-29 Thread nviorres
Solved by using the following step definition on the respective step: step([$class: 'ScoveragePublisher', reportDir: 'target', reportFile: 'scoverage.xml']) Also, in scoverage maven configuration, i have set the following: org.scoverage scoverage-maven-plugin ${scoverage.plugin.ver

AW: Using CSS in html published on Jenkins build

2017-08-29 Thread Reinhold Fuereder
Hi Hung, You can use so-called Jenkins User Content: see https://wiki.jenkins-ci.org/display/JENKINS/User+Content for details. E.g. I am using that for web resources in HTML Emails sent from Jenkins: I am provisioning/deploying "file.png" via Ansible to "/userContent". It is then accessible via

Need REST API to fetch data from Jenkins Plugin

2017-08-29 Thread Gaurav Rai
I'm working on getting data from Jenkins using Remote Access API. I'm able to get Jenkins Build history using it. But in one of case, I need to get data from Jenkins Plugin "summary_report" Is there a way to get data from plugins in Jenkins using Rest? -- You received this message because you a

Using CSS in html published on Jenkins build

2017-08-29 Thread Hung L.
Hi, I have a question on using CSS styles in html file that is being published on Jenkins build. After each build, we publish a summary html file on Jenkins dashboard using the "Publish HTML Reports" plugin. Our HTML has reference to some CSS. Right now, we're using inline CSS but Jenkins doe

CVS Authentication failed: null

2017-08-29 Thread Ganesh MN
Hi, I am configuring jenkins job to checkout code from CVS using cvs-plugin. But, It is looking for private key locations. I can generate private key on my computer. But, I don't have control on CVS server. So, I cant store public key in server. So, Please let me know how we can checkout code fr

Re: [EXTERNAL] - Unable to get login page

2017-08-29 Thread phanikumar
I have tried removing the plugin and found that the resource is being holded by Java even after Jenkins is not in running state. I forcefully killed the process and restarted Jenkins which worked fine for me. Now, I am able to use my plugin. -- View this message in context: http://jenkins-ci.36

Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
Thank you both! On Tuesday, August 29, 2017 at 5:06:36 PM UTC+3, Mark Waite wrote: > > I use the groovy post-build plugin very often in my pipeline-based > regression testing. It works great in pipeline. > > You can read the details in my lts-with-plugins repository >

Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Mark Waite
I use the groovy post-build plugin very often in my pipeline-based regression testing. It works great in pipeline. You can read the details in my lts-with-plugins repository , including a "logContains" function

AW: AW: Blue Ocean Pipeline Activity View: empty column 'COMMIT'

2017-08-29 Thread Reinhold Fuereder
Thanks for your response, Baptiste! That sounds reasonably. => https://issues.jenkins-ci.org/browse/JENKINS-46521 Regards, Reinhold -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop recei

Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Daniel Beck
> On 29. Aug 2017, at 03:31, Shiran wrote: > > If not, than should I import any package for this? something? The plugin has supported Pipeline since 2.3 in 2015 (when it was still called "workflow"). The 'manager' variable exists there as well. -- You received this message because you are su

Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
As far as I understand, 'manager' is available only in groovy postbuild plugin. If not, than should I import any package for this? something? On Tuesday, August 29, 2017 at 12:48:22 PM UTC+3, Daniel Beck wrote: > > > > On 29. Aug 2017, at 01:20, Shiran > > wrote: > > > > when this plugin is no

Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Daniel Beck
> On 29. Aug 2017, at 01:20, Shiran wrote: > > when this plugin is not supported? Why would it not be? -- 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 jenki

Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
And another question- I use "manager" object in groovy post build plugin, how can I use it in pipeline when this plugin is not supported? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

Re: Multijob out of memory issues

2017-08-29 Thread Shashank Bhargav
We are not using GIT plugin, a custom SCM plugin has been written and thats used. On Tuesday, 29 August 2017 08:03:22 UTC+5:30, Mark Waite wrote: > > Git plugin has known issues with keeping and reading too much build data. > Limiting the amount of history had been my best work around to date.

Re: Scoverage reports

2017-08-29 Thread nviorres
Hi Gaston, Any luck with this? I am facing the same problem. Thank you. On Thursday, January 19, 2017 at 1:12:50 AM UTC+2, Gastón Tonietti wrote: > > Hi Daniel, > > Indeed I have plenty of security errors on the console when trying to load > the html report. > But TBH I'd be more interested in

Re: [EXTERNAL] - Unable to get login page

2017-08-29 Thread Dirk Heinrichs
Am 28.08.2017 um 15:11 schrieb phanikumar: > I have developed a custom plugin and uploaded it to my Jenkins server. Now I > am unable to get the login page for Jenkins server. I even restarted my > entire physical machine. But it didn't work. Can some one help me out on > this? Errh, remove the p

Re: Unable to get login page

2017-08-29 Thread Michael Pailloncy
Hey. Have you check Jenkins logs ? 2017-08-28 15:11 GMT+02:00 phanikumar : > Hello team, > > I have developed a custom plugin and uploaded it to my Jenkins server. Now > I > am unable to get the login page for Jenkins server. I even restarted my > entire physical machine. But it didn't work. Can

Re: How to fix this error " Fix this plugin first."

2017-08-29 Thread mortenricklodam
Thanks Daniel It works now :) /Morten On Monday, August 28, 2017 at 4:18:19 PM UTC+2, Daniel Beck wrote: > > > > On 27. Aug 2017, at 23:07, mortenr...@gmail.com wrote: > > > > After updating to 2.75 from 2.75 I got all this errors. > > All my plugins are up to date. > > How do I fix this >