Re: NodeJS Plugin - unable to install global NPM packages for node 6.x

2016-06-09 Thread Adriano Raiano
my temporary workaround: Add Installer -> Run Shell Command: NODE_VERSION="v6.2.1" NPM_PACKAGES="mocha@2.x.x grunt-cli@0.1.x bower@1.x.x gulp@3.x.x pm2@1.x.x" if [ ! -f ./${NODE_VERSION} ]; then rm -rf ./* # dl & install wget

Is pipelining right for me?

2016-06-09 Thread Chris Pflieger
I have a pretty complex setup right now and I think pipelining might simplify it, but I'm not sure. It's a combination of embedded C and C# were layers get bundled together and culminate in a Windows program that contains data for embedded devices. What happens is that all of the embedded

Re: Issue getting Docker Pipeline plugin to build an image

2016-06-09 Thread Michael Neale
Right - I haven't used upstart for some time, but if it is like systemd, it may be placing constraints on child processes (like app armour) that prevent certain things from working. In the log for the build you should see the actual command used to build the image, might be worth noting if it

Re: Multibranch pipeline and github integration

2016-06-09 Thread Michael Neale
Great to hear Warren! Yes I forgot to mention personal access token. I use 2 factor with github so I automatically do that knowing that there is no point putting my github password into anything else. I wonder if it is worth documenting those steps here:

Re: Multibranch pipeline and github integration

2016-06-09 Thread Warren Strange
Thanks Michael - I got this working. For those that might run into this problem, here is what you need to do: - Go to your github profile and create a new personal access token: https://github.com/settings/tokens. It needs to have a few scopes checked off to be able to read the repo, make

anonymous user can cancel job

2016-06-09 Thread Hector Magnanao
I have a matrix user setup on Jenkins. I have disabled the permission for anonymous to be able to cancel a job. But when I see the jobs as anonymous, I'm still able to cancel a running job. Is there a way to prevent the anonymous user to be able to cancel a job ? -- You received this

Re: java.lang.NoSuchMethodError: No such DSL method 'git' found

2016-06-09 Thread John McC
That worked -- thank you! On Thursday, June 9, 2016 at 2:19:55 AM UTC-7, Daniel Beck wrote: > > Restart Jenkins. There's a known issue with plugin load order. > > > On 09.06.2016, at 07:13, John McC > wrote: > > > > I have: > > > > Git client plugin 1.19.6 > > Git

Re: Problems running a job with rake

2016-06-09 Thread ziffification
thanks Bjorn! can I ask how I specify the path ? it looks like in the pull down you can just select a version of rake -- 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

Multiple SCM plugin CANNOT track multiple revisions (i.e. branches or tags) on one repository?

2016-06-09 Thread Chastina Li
I've been trying to get the Multiple SCM plugin to manage multiple repositories, each with default, qa and prod branches, on Mercurial. But there doesn't seem to be a way of tracking multiple branches from a single repository using one Multiple SCM task. I've read through the official doc here

Standard Maven Build fails when using artifactory plugin only in job chaing

2016-06-09 Thread 'Jürgen Späder' via Jenkins Users
Jenkins 2.0-1.1 (installed via yum) maven integration plugin 2.13 artifactory plugin 2.4.7 artifactory 4.5.2 We hve a job chain with default dependenvy managment over maven integraton managed (automatic dependency resolution over pom). artifacts resolved and deployed to artifactory when i start

Code completion in IDE (intellij or eclipse) for Jenkins when editing groovy scripts

2016-06-09 Thread cchapman
I'm assuming there's a way to get code completion (intellisense) for jenkins when editing a groovy script in an IDE like Intellij or eclipse but I haven't been able to find any resources explaining how to do that. I'm a .NET developer and not super familiar with java. I'm guessing this is an

Re: Antwort: Jenkins 2: where did "Restrict where this job can be run" go?

2016-06-09 Thread Daniel Beck
> On 09.06.2016, at 13:18, lars.meynb...@edict.de wrote: > > However, in my new freestyle job’s configuration, I can’t seem to find the > node/label restriction setter (). If you have no agents configured, this part of the configuration is hidden. -- You received this message because you

Antwort: Jenkins 2: where did "Restrict where this job can be run" go?

2016-06-09 Thread Lars . Meynberg
This is now handled in each node step: https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#node-allocate-node label Computer name, label name, or any other label expression like linux && 64bit to restrict where this step builds. May be left blank, in which case any available

Jenkins 2: where did "Restrict where this job can be run" go?

2016-06-09 Thread Jennifer Hofmeister
Hello, I'm setting up a new Jenkins 2.8, having formerly worked with 1.651. However, in my new freestyle job's configuration, I can't seem to find the node/label restriction setter (). I installed the Node and Label parameter plugin, restarted Jenkins, but still, nothing to see in my job

Re: JUnit tests reported twice after upgrading to 2.8

2016-06-09 Thread RDR
I don't know if this helps, but... * I've gone through the config.xml file and compared it to an old backup that worked as expected - I can't see any differences that I can not explain. * I've also compared the config.xml files for a project that reports the right number of tests and one that

Re: Moving a job to a Folder

2016-06-09 Thread kumar naresh
HI Sverre, thanks for reply where I'm actually trying to execute groovy script from manage jenkins->manage nodes->master->script console and cloning new jobs using existing jenkins jobs using groovy script and also I wanted to add extra one step to execute shell to new jobs i.e for example

Re: java.lang.NoSuchMethodError: No such DSL method 'git' found

2016-06-09 Thread Daniel Beck
Restart Jenkins. There's a known issue with plugin load order. > On 09.06.2016, at 07:13, John McC wrote: > > I have: > > Git client plugin 1.19.6 > Git plugin 2.4.4 > Git server plugin 1.6 > Github API plugin 1.75 > [a few other github plugins] > > On Wednesday, June 8,

NodeJS Plugin - unable to install global NPM packages for node 6.x

2016-06-09 Thread Adriano Raiano
Does someone have an update for this issue? https://issues.jenkins-ci.org/browse/JENKINS-34815 I really need to update to node 6.x on our CI/CD pipeline... -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Re: Jenkins + Git exception

2016-06-09 Thread Aviad Sharfshtein
this is odd since running the same commands from command line (on the same machine) works like a charm. is there a way to test the connection? On Sunday, June 5, 2016 at 2:51:24 PM UTC+3, Mark Waite wrote: > > That message (timeout from http or https access to a repository) usually > means

Re: How to *properly* switch from Maven-style jobs to Freestyle jobs?

2016-06-09 Thread Jorg Heymans
Just want to add to this - freestyle does not have "deploy artifacts" post build step - freestyle does not have way to use a local maven repository per executor - freestyle does not have an easy way to use the maven release plugin So yeah maybe it's evil and has issues, but the maven job type is

Re-2: Run Jenkins as a service and NOT headless

2016-06-09 Thread Jovan Jevric
Hi, We're using squish for some basic GUI testing. As our gui has been developed with QT, this is no problem. For Browser Testing you'll have to find a similiar tool which you'll have to deploy via script/CMD line then. Greetz Original Message Subject: Re: Run Jenkins as a

Re: ImportError No module named Image in Jenkins

2016-06-09 Thread Cherry Tsai
Hi Mark, I found the other solution. First, I install "Python Plugin " in Jenkins platform. And I can write the script in Jenkins configuration -> Execute Python script.

Re: Pipeline holds executor while waiting for Input

2016-06-09 Thread Irfan Sayed
Hi, Have you created some custom scripts which waits for some input to process further ? which holds the job from completing successfully and hence executor is not free. executor wont be free for next pipeline unless first one completes. Are you using rundeck ? for promotion workflow ? you can

Pipeline holds executor while waiting for Input

2016-06-09 Thread Vishal Biyani
Hi, We have built a pipeline which builds and deploys to Dev environment and after tests deployed to QA. Beyond QA the promotions waits for input for deployment to UAT and Pre-Prod. Now here is the problem, after artifact has been deployed to QA - promotion to UAT might happen a day or two

Re: Issue getting Docker Pipeline plugin to build an image

2016-06-09 Thread Lyle Dietz
I've made progress, it only happens when I get Upstart to start Jenkins. If I start Jenkins from within a byobu session it works fine. I'm guessing it has something to do with the environment. Now I just have to track down what that difference is. -- You received this message because you are

Matrix-project-plugin with CloudBees Docker Custom Build Environment Plugin to run specific configuration to specific docker image.

2016-06-09 Thread ashiq
Hello everybody, Is it possible to execute specific configuration on specific docker image using matrix-project-plugin and CloudBees Docker Custom Build Environment Plugin. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: Moving a job to a Folder

2016-06-09 Thread Sverre Moe
Try the Groovy Postbuild Plugin You could also use the build step "Execute system Groovy script" torsdag 9. juni 2016 08.05.39 UTC+2 skrev kumar naresh følgende: > > > Hi Sverre Moe, > > > thanks that works really good. > > I'm actually trying to add build step to execute shell existing jenkins

Re: Moving a job to a Folder

2016-06-09 Thread kumar naresh
Hi Sverre Moe, thanks that works really good. I'm actually trying to add build step to execute shell existing jenkins job using groovy script, let me know if there any steps to do so. Regareds, kumar. On Monday, June 6, 2016 at 7:02:47 PM UTC+5:30, Sverre Moe wrote: > > import