Re: Error in build Grails

2017-03-29 Thread Роман Ловаков
build can stop on different file. i check stacktarce and have next error Error | Command [war] error: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-3.4-all.zip'. (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) org.gr

Jenkins kubernetes Client

2017-03-29 Thread Sudha Subramanian
Hi, I'm trying to run Jenkins in kubernetes with 'kubernetes-client' plugin for dynamic slaves. I get the following error: Caused by: java.text.ParseException: failed to load settings from > jar:file:/var/jenkins_home/war/WEB-INF/lib/groovy-all-2.4.7.jar!/groovy/grape/defaultGrapeConfig.xml: >

Re: Jenkins + PowerShell Script that takes screenshot of a remote folder

2017-03-29 Thread VikS
Got it and I have setup a Jenkins slave which is not running as service. I have tried multiple modification to my script but the screenshot does not work. In summary, this is what I'm trying to do with powerrshell: Jenkins Slave -> launch the remote path of the folder that needs to be screen ca

How to upload NPM to Nexus from Jenkins

2017-03-29 Thread Jayaswaroop Balla
Hi there, I have my html, css and js in my git repo. My task is to upload this as npm package to Nexus repo using Jenkins. I tried Nexus Artifact Uploader and Nexus Repository Manager Publisher plugins in Jenkins. But I was not successful. I'm new to Nexus and NPM. Can anybody help me on this?

Re: Jenkins Wildfly Plugin with Wildfly 9?

2017-03-29 Thread Steven Landry
When I removed the spaces from my Jenkins job name I was able to deploy successfully. -- 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.

Re: How can I mount a temporary volume associated with the workspace in a docker container with Declarative Pipeline?

2017-03-29 Thread Miyata Jumpei
I also posted to stackoverflow. http://stackoverflow.com/questions/43106896/jenkins-declarative-pipeline-how-can-i-mount-a-temporary-volume-associated-with On Wednesday, March 29, 2017 at 6:47:07 PM UTC+9, Miyata Jumpei wrote: > > I would like to mount a temporary volume associated with the worksp

Re: Error in build Grails

2017-03-29 Thread Richard Bywater
Does this work locally as it kind of looks like not a Jenkins issue but a Grails one. Looks like a problem when processing the style.css file - I'm assuming if you run with --stacktrace like it says you'll find out more. Richard. On Thu, 30 Mar 2017 at 12:53 Роман Ловаков wrote: > what am I do

Re: [ANNOUNCE] Jenkins Upgrades to Java 8

2017-03-29 Thread Baptiste Mathus
Quick reminder. This is upcoming. The first weekly requiring Java 8 to run is expected very soon, in April is the plan. Cheers Le 17 janv. 2017 2:48 PM, "Baptiste Mathus" a écrit : Hello, Please read the announcement on https://jenkins.io/blog/ 2017/01/17/Jenkins-is-upgrading-to-Java-8/, espe

Jenkins Wildfly Plugin with Wildfly 9?

2017-03-29 Thread Steven Landry
Has anyone had any luck using the Jenkins Wildfly plugin to deploy to Wildfly 9? I haven't been able to get it to work so I thought I'd ask here before trying another route. Thank you! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsu

Re: Issues with SSH Host Key Verification

2017-03-29 Thread Steven R. Loomis
Thank you! I added this workaround to https://issues.jenkins-ci.org/browse/JENKINS-42959 On Friday, March 24, 2017 at 1:31:34 AM UTC-7, Harald Wellmann wrote: > > Yes, I can ssh both ways. The problem seems to be that the SSH lib used by > Jenkins does not support newer ciphers like ecdsa-sha2-n

Re: How can I stop a Pipeline after unit tests?

2017-03-29 Thread Michael Holley
Thank you Abishek, that is what I needed. I didn’t know there was a env variable with the branch name. I added if blocks around various stages so they don’t run unless they are ‘master’ just like Richard suggested. Thanks! On March 29, 2017 at 9:24:34 AM, Abishek Manoharan (mailabis...@gmail.com)

Re: How can I stop a Pipeline after unit tests?

2017-03-29 Thread Abishek Manoharan
If you are using the Github Branch Source plugin, then you should find the branch name in environment variables in the job. You can check it in your Jenkinsfile pipeline script and make decisions. Something like, if (env.BRANCH_NAME == "master") { // Deploy to prod or staging. } On Wednesda

Re: How can I stop a Pipeline after unit tests?

2017-03-29 Thread Michael Holley
I agree I need to use logic to stop or allow a stage, but I don’t know how to target the git branch or what options I have for developing that logic so I can stop the chain if the branch being built isn’t the master branch. On March 29, 2017 at 6:06:14 AM, Richard Ginga (rgi...@disruptorbeam.com)

Re: Move location of build history, separate from config

2017-03-29 Thread Gastro Man
Excellent! Changing Build Record Root Directory in the system settings was exactly what I was hoping for. I never noticed that was there, assuming the setting has been there all along.. My jobs folder is now a very managable size, containing pretty much just the config.xml files, next build num

Re: Plugin for delete last month data.

2017-03-29 Thread Sandeep Grandham
Hi.. Is there any plugin is there for to show all the selected Projects *Build Time Trend* graphs in same /single page. help me please about this. On Wednesday, March 29, 2017 at 2:40:29 PM UTC+5:30, Sandeep Grandham wrote: > > Hi, > > I am trying to figureout the plugin for delete the old buil

Re: kubernetes-plugin: logging output

2017-03-29 Thread 'Sascha Vujevic' via Jenkins Users
Also the problem with this execution is that cd "/home/jenkins/workspace/slave-test-npm" makes a dir('') { // some block } not working. Am Freitag, 24. März 2017 12:45:00 UTC+1 schrieb Sascha Vujevic: > > Hello developers, > > we use the kubernetes-plugin to produce slaves in Jenkins. > >

Re: Plugin for delete last month data.

2017-03-29 Thread Sandeep Grandham
Thank you, On Wednesday, March 29, 2017 at 4:33:22 PM UTC+5:30, Mark Waite wrote: > > Look at the configuration slicing plugin. > > On Wed, Mar 29, 2017, 3:10 AM Sandeep Grandham > wrote: > >> Hi, >> >> I am trying to figureout the plugin for delete the old build history, >> trying to keep only

Re: Could not push to git from shell in Jenkins job

2017-03-29 Thread Alexey Lukin
The solution is to create id_rsa file manually in shell like this: cat > I need to use jen

Re: How can I stop a Pipeline after unit tests?

2017-03-29 Thread Richard Ginga
I do something similar in that I have conditional stages. Simply put logic "around" the stages you do or do not want to run. In order to keep the full list of stages in the job's dashboard, I actually put the logic "within" the stage that says "Skipping stage blablabla". I don't use Git so I don't

Re: Is it actually possible to trigger pipeline job without Jenkinsfile by notifyCommit http-query?

2017-03-29 Thread kodstark
Actually I got that working - when pipeline completes first time then it will be executed via notifyCommit?url service -- 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 em

Re: [EXTERNAL] - Job DSL and isDirectory does not work, any ideas?

2017-03-29 Thread Dirk Heinrichs
Am 29.03.2017 um 13:04 schrieb thomas.lehm...@teamaol.com: > I need a way to iterate files in a folder to load configuration > (multiple files) from it. > Following code does not work using *Job DSL*: > > a) you need WORKSPACE to build absolute path > The normal Groovy code *new File("config"

Job DSL and isDirectory does not work, any ideas?

2017-03-29 Thread thomas . lehmann
Hi, I have (locally) Jenkins 2.49 and Job DSL 1.58 and Groovy version 2.4.8 I need a way to iterate files in a folder to load configuration (multiple files) from it. Following code does not work using *Job DSL*: a) you need WORKSPACE to build absolute path The normal Groovy code *new File

Re: Plugin for delete last month data.

2017-03-29 Thread Mark Waite
Look at the configuration slicing plugin. On Wed, Mar 29, 2017, 3:10 AM Sandeep Grandham wrote: > Hi, > > I am trying to figureout the plugin for delete the old build history, > trying to keep only last 30 days data only, and i am trying to delete all > the projects from one location. > EX: In t

Re: Is it actually possible to trigger pipeline job without Jenkinsfile by notifyCommit http-query?

2017-03-29 Thread kodstark
I found this issue to when running Git Plugin 3.1.0, Pipeline Plugin 2.5 - I'm doing checkout inside shared library which runs checkout in a loop according to config. However link git/notifyCommit?url=... gives me response " No Git consumers using SCM API plugin for" On Monday, 16 January 201

How can i add extra columns in blueocean UI

2017-03-29 Thread Deenbandhu Agrawal
I want to add few more columns in Blue ocean UI like commit author, and some other evrionment variables how can i achieve that ? -- 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,

How can I mount a temporary volume associated with the workspace in a docker container with Declarative Pipeline?

2017-03-29 Thread Miyata Jumpei
I would like to mount a temporary volume associated with the workspace in a docker container for gradle caching. With Scripted Pipeline, It can be written like the following. - docker.image('my-gradle').inside("-v ${pwd(tmp: true)}:/home/jenki

Plugin for delete last month data.

2017-03-29 Thread Sandeep Grandham
Hi, I am trying to figureout the plugin for delete the old build history, trying to keep only last 30 days data only, and i am trying to delete all the projects from one location. EX: In teamcity from root project using clear rules we can clean all the data at a time for all the projects. Same

Could not push to git from shell in Jenkins job

2017-03-29 Thread Alexey Lukin
I need to use jenkins job to synchronize two repositories. So I have created a job, added two git repositories using Multiple SCMs plugin . And added shell commands, example: cd first_project sha=`cat last_commit_merged` cd .. cd se