Re: Pipeline: How to cache downloaded (gradle) dependencies using Docker SSH Slave

2016-06-22 Thread Craig Rodrigues
In 2011, this discussion thread talked about this topic: https://discuss.gradle.org/t/cache-dependencies-into-local-maven-repository-from-gradle/7525 and it didn't seem possible. However, I advise you to post your question to https://discuss.gradle.org/ , because there may be new information that

Jenkins Permission denied

2016-06-22 Thread 33
Hi all, Setting up an ubuntu server to build android roms using jenkins. Whenever i run a job from jenkins, it shows Permission denied Chmod and chown is not helping me coz the newly created folders have permission issues, i've tried with chown the entire directory to jenkins and creating a user

Re: Jenkins is hanging with no errors during startup

2016-06-22 Thread Dustin Nielsen
So, when I setup Jenkins the instructions I was following made no note that there is a difference between running Jenkins on its own server and running Jenkins on a web server that was also running Apache. After figuring out that there is indeed a difference I went a slightly different route

Jenkins is hanging with no errors during startup

2016-06-22 Thread Dustin Nielsen
So, I've tried doing my research on this issue but it's gotten to the point where I'm no longer understanding what I'm reading. I've installed Jenkins and Java on my server, running CentOS 6.8 and Apache 2.4. I had a few problems initially with just starting the service but have since ironed

Re: Need help on usage of Jenkins console data

2016-06-22 Thread AJITH K.R
Any more help in this please. On Tuesday, June 14, 2016 at 4:04:47 PM UTC+5:30, AJITH K.R wrote: > > Hi All, > > How can I get the console output information of Jenkins build under the > workspace. I need to use it as an input for reporting purpose. > > Thanks, > Ajith > -- You received this m

Does Role-based Authorization Strategy has users limit?

2016-06-22 Thread Raj Meghraj
Hi All, I am using Role-based Authorization Strategy in my organization for managing and assigning roles to users. In my Manage and Assign Roles -> Assign roles tab, I have 160 users for Global Roles and 160 users for Project R

How to automate software using AWS codepipeline with jenkins

2016-06-22 Thread Iftikhar Hossain
I am novice at Jenkins. My demo project built in github and with AWS codedeploy I can run my project succesfully. If I use AWS codepipeline without Jenkins, whatever changed in github its automatically integrated and run the project. So I want to use Jenkins, if codes have successfully built th

Installing Pulseway across multiple windows vm

2016-06-22 Thread aaron . trujillo
I have search the internet over and am also in contact with a pulseway rep (but it is taking long periods of time for him to respond, yes i realize he is probably busy). I would appreciate some help form the group on a matter i am having. When I install Pulseway on the local (windows) machine

Re: What are the rules for Jenkins Pipeline to allocate workspaces, are ephemeral workspaces possible?

2016-06-22 Thread Baptiste Mathus
Also, it would be very easy to define a function like cleanNode that would be a node calling by default deleteDir before running the passed closure. Possibly this could even be done as a PR on the node step itself, adding a boolean param to ask for that (?). Le 22 juin 2016 4:17 PM, "'Björn Peders

Re: Multi branch pipeline: How to read global environment variables?

2016-06-22 Thread shan
There is a typo: env.DATABASE = props.DATABASE -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discus

Multi branch pipeline: How to read global environment variables?

2016-06-22 Thread shan
What is a proper way to read environment variables for multi branch pipeline? Right now, I am reading an env.properties file kept in jenkins workspace, and then populating my global env. def readEnvVars(envFile) { def props = new Properties() def fis = new FileInputStream(envFile) p

Re: What are the rules for Jenkins Pipeline to allocate workspaces, are ephemeral workspaces possible?

2016-06-22 Thread 'Björn Pedersen' via Jenkins Users
Hi, the pipeline tutorial explains workspace quite well: https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#allocating-workspaces The default workspace created by 'node' is 'locked' to a single run of the appropriate node part. It is not cleared by default. If you need more th

Re: artifactory plugin maven job : Unable to determine Maven version

2016-06-22 Thread Matthieu Simonin
Hi, Jenkins 2.9 Artifactory Plugin: 2.4.6 is better for me. Can we conclude that this issue is more related to the artifactory plugin ? Best, Matt Le mercredi 22 juin 2016 11:10:53 UTC+2, Stephan Leicht Vogt a écrit : > > Hi again > > Following combination works for me: > > Jenkins: 2.10 >

Re: What are the rules for Jenkins Pipeline to allocate workspaces, are ephemeral workspaces possible?

2016-06-22 Thread Antonio Muñiz
> every workspace assigned is allowed to contain anything - from other jobs No, only for the same job. > Is there a way to request a empty workspace No, you have to use deleteDir() to be sure. > that is also deleted after the node{} block completes No, again, use deleteDir() as the last step i

Re: What are the rules for Jenkins Pipeline to allocate workspaces, are ephemeral workspaces possible?

2016-06-22 Thread James Read
Hi Antonio, So what I think you're saying, is that every workspace assigned is allowed to contain anything - from other jobs, and always deleteDir() should be used if a clean environment is needed? Is there a way to request a empty workspace, that is also deleted after the node{} block comple

Pipeline: How to cache downloaded (gradle) dependencies using Docker SSH Slave

2016-06-22 Thread Marco Pas
Now that we have a first successful build using a Jenkinsfile Pipeline we are looking on how to cache downloaded dependencies. Currently when we build our Gradle applications the dependencies are downloaded each time the Docker Slave is executed on a remote host. Is there a way to cache the down

Re: Pipeline: Defined parameters are not available in the build

2016-06-22 Thread Sverre Moe
Yes it is in the job configuration for the multibranch pipeline job Running the following in the script (Jenkinsfile) should add the parameter to the branch projects configuration. properties([[$class: 'ParametersDefinitionProperty', parameterDefinitions: [[$class: 'BooleanParameterDefinition',d

Re: Pipeline: Defined parameters are not available in the build

2016-06-22 Thread 'Björn Pedersen' via Jenkins Users
Is '../projectA/master' configured to accept parameter PROP_VERIFY (In the job definition, not in the Jenkinsfile)? Else I guess due to SEC-170 fixes, the parameter is not propagetd to the environment. Actually that would be a chicken-and-egg type problem. You need to get and execute the current

Re: Pipeline: Defined parameters are not available in the build

2016-06-22 Thread Sverre Moe
Seems there is an issue for this https://issues.jenkins-ci.org/browse/JENKINS-30206 I hope for a fix soon. I am stuck without this. onsdag 22. juni 2016 13.13.48 UTC+2 skrev Sverre Moe følgende: > > Have defined parameter for my pipeline projects in the main pipeline > script: > properties([[$cl

Pipeline: Defined parameters are not available in the build

2016-06-22 Thread Sverre Moe
Have defined parameter for my pipeline projects in the main pipeline script: properties([[$class: 'ParametersDefinitionProperty', parameterDefinitions: [[$class: 'BooleanParameterDefinition', defaultValue: false, description: 'Description', name: 'PROP_VERIFY') After building the first time

Re: Jenkins fails to deliver e-mails

2016-06-22 Thread S. S.
Some more things i have tried: Different users (service users, normal users, etc) - all failed newer version of mailer plugin - no change Am Montag, 20. Juni 2016 09:24:51 UTC+2 schrieb S. S.: > > This might be a tough thing to figure out but i have to give it a try. > > With no changes i am awa

Re: artifactory plugin maven job : Unable to determine Maven version

2016-06-22 Thread Stephan Leicht Vogt
Hi again Following combination works for me: Jenkins: 2.10 Artifactory Plugin: 2.4.6 Greetings Stephan On Wednesday, June 22, 2016 at 11:05:47 AM UTC+2, Stephan Leicht Vogt wrote: > > Hi > > I have the same issue even after downgrading artifactory plugin to 2.4.7. > > Any solution/workaround wo

Re: artifactory plugin maven job : Unable to determine Maven version

2016-06-22 Thread Stephan Leicht Vogt
Hi I have the same issue even after downgrading artifactory plugin to 2.4.7. Any solution/workaround would be most appreciated. Greetings Stephan On Tuesday, June 21, 2016 at 10:02:51 PM UTC+2, Matthieu Simonin wrote: > > Hello, > > In a maven job : > When enabling artifactory plugin to deploy

Re: Multibranch Pipeline: How to parameterize?

2016-06-22 Thread Sverre Moe
It seems there is no point with Envinject-plugin with Pipeline There is an issue for removing it in the configuration screen. https://issues.jenkins-ci.org/browse/JENKINS-26569 Then this is no longer an issue for me. Using the properties context in the script I was able to add parameters to my mu

Re: New Free Monitoring & Alerting tool for Jenkins

2016-06-22 Thread Mike Bayliss
And less than a day after watching the video I get a LinkedIn contact request from somebody I don't know at ALMtoolbox. Mike On Tue, Jun 21, 2016 at 1:48 PM, David Cohen wrote: > Hello to all Jenkins folks, > > I'd like to inform you that for the first time, we now provide a Free > Community Ed

Jenkins Debian origin has changed since 2.9

2016-06-22 Thread Pieter-Jan Busschaert
Just FYI, I had unattended-upgrades updating my Jenkins install on Debian automatically from pkg.jenkins-ci.org. This had been running fine for a long time, however I noticed the upgrades were stuck on version 2.8 and didn't continue. Apparently the "origin" parameter of the package has chang