Kubernetes slaves in parallel

2017-02-01 Thread Lionel Orellana
Hi I have a pipeline with a podTemaplate definition from the Kubernetes plugin to create slaves on Openshift. Something like this. podTemplate(name: 'jenkins-slave', label: 'kube-node', instanceCap: 4, containers: [ containerTemplate( name: 'maven', image:

Re: Maven configuration in pipeline job

2017-02-01 Thread Irfan Sayed
Hi, Can you please bit elaborate , what exactly you are looking for ? may be some example ? On Wed, Feb 1, 2017 at 11:51 PM, Tejinder Kaur Gill < tejinder.gill1...@gmail.com> wrote: > Hi, > > I am creating a pipeline job with some maven configurations in it. I want > module view in it ,the same

Maven configuration in pipeline job

2017-02-01 Thread Tejinder Kaur Gill
Hi, I am creating a pipeline job with some maven configurations in it. I want module view in it ,the same as we get in maven project job . Is it possible to get the same ? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

How to update URL of theme CSS in jenkins via groovy?

2017-02-01 Thread user_dev
down votefavorite I am trying to use custom css to change jenkins ui and have added the css file in userContent folder and installed

Re: slave 2.52, IBM JVM 1.8, Out of memory at end of build

2017-02-01 Thread Mark Waite
I'd recommend that you use the Oracle JVM instead of the IBM JVM to run the agent ("slave"). It is deeply tested with Jenkins, and runs very well. If you need to run individual jobs with the IBM JVM on that agent, you can configure it as a JVM installation (or with a JVM automatic installer).

slave 2.52, IBM JVM 1.8, Out of memory at end of build

2017-02-01 Thread Mikhail Ramendik
Hello, I am getting an out of memory error at the end of a build. I have changed the build itself to "echo hello world" and I still get the out of memory error. This seems to be connected with the slave host using IBM JVM 1.8 (64-bit), as when the Oracle JVM was used this did not happen. The

Re: Jenkins Email notification when build fails and include failed scenarios in the email body

2017-02-01 Thread Slide
Please don't double post. On Wed, Feb 1, 2017 at 3:20 PM siva varma Datla wrote: > I am kind of new to jenkins can someone help me please > > my Groovy syntax is > node { > echo 'Hello World' > } > node { > > notifyFailure() > /* ... existing build steps ... */ > } > >

Re: Jenkins email notificatiosn for failed build along with failed scenarios in the email body

2017-02-01 Thread Slide
Please don't double post. On Wed, Feb 1, 2017 at 3:23 PM Indra Gunawan (ingunawa) wrote: > Would you please post once and by the way your question has already been > answered by the author of the plugin. > > > > *From: * on behalf of siva

M2 Release Plugin https://wiki.jenkins-ci.org/display/JENKINS/M2+Release+Plugin

2017-02-01 Thread Jeff Gardner
Hi, I am trying to use the release plugin and after configuring everything there should be a link perform maven release. The link is not showing for my project. All the configuration stuff is showing but the link is not there. -- You received this message because you are subscribed to the

Re: Jenkins email notificatiosn for failed build along with failed scenarios in the email body

2017-02-01 Thread Indra Gunawan (ingunawa)
Would you please post once and by the way your question has already been answered by the author of the plugin. From: on behalf of siva varma Datla Reply-To: "jenkinsci-users@googlegroups.com" Date:

Re: $JENKINS_HOME vs. $WORKSPACE on a slave (agent) node vs master node

2017-02-01 Thread Indra Gunawan (ingunawa)
Yes, that is the expected behavior. JENKINS_HOME only matters on Jenkins master. JENKINS_HOME is the path where all metadata of Jenkins instance like plugins, jobs are stored. It is not a variable for slave. Are you the Jenkins admin such that you have administration permission on the Jenkins

Jenkins email notificatiosn for failed build along with failed scenarios in the email body

2017-02-01 Thread siva varma Datla
I am kind of new to jenkins can someone help me please my Groovy syntax is node { echo 'Hello World' } node { notifyFailure() /* ... existing build steps ... */ } def notifyFailure() { emailext ( subject: "FAILURE: Job '${JOB_NAME} [${BUILD_NUMBER}]'", body: '''FAILURE: Job

Jenkins Email notification when build fails and include failed scenarios in the email body

2017-02-01 Thread siva varma Datla
I am kind of new to jenkins can someone help me please my Groovy syntax is node { echo 'Hello World' } node { notifyFailure() /* ... existing build steps ... */ } def notifyFailure() { emailext ( subject: "FAILURE: Job '${JOB_NAME} [${BUILD_NUMBER}]'", body: '''FAILURE: Job

Re: Any pointers on docs for using Jenkins to control remote jobs on various machines, non-java.

2017-02-01 Thread tarocaravan
Pipelines really help in coordinating multiple tasks to be run on multiple hosts, sequentially and even concurrently. Have you considered this? The old Jenkins way of define multijobs would be cumbersome so I suggest looking into pipelines. Another option is something like ansible, though in

Jenkins Email notification when build fails and include failed scenarios in the email body

2017-02-01 Thread siva varma Datla
I am kind of new to jenkins can someone help me please my Groovy syntax is node { echo 'Hello World' } node { notifyFailure() /* ... existing build steps ... */ } def notifyFailure() { emailext ( subject: "FAILURE: Job '${JOB_NAME} [${BUILD_NUMBER}]'", body: '''FAILURE: Job

Re: Deploying a file on a remote location

2017-02-01 Thread Victor Martinez
Besides of that, there are some other threads about some permissions issues when using the same plugin: - https://groups.google.com/forum/#!searchin/jenkinsci-users/ArtifactDeployer%7Csort:relevance I hope it helps On Wednesday, 1 February 2017 21:51:39 UTC, Victor Martinez wrote: > > Can you

Re: Deploying a file on a remote location

2017-02-01 Thread Victor Martinez
Can you confirm whether the Jenkins user got write privileges where those files should be copied to? There are some limitations according to the wiki page: - https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin On Wednesday, 1 February 2017 12:03:45 UTC, gaurav lele wrote: > > I

$JENKINS_HOME vs. $WORKSPACE on a slave (agent) node vs master node

2017-02-01 Thread Bruce Epstein
Hi Everyone - I have one master and one slave node. I am trying to move some Jenkins jobs that currently run on the master to instead run on the slave. For various reasons, I need (or at least want) to use the $JENKINS_HOME env variable in my scripts, but it returns the value of the master

Re: Email notifications attach part of build log in email body

2017-02-01 Thread Slide
You could echo out something that isn't valuable, just a marker at the beginning and end and use those as the start/end parameter. On Wed, Feb 1, 2017 at 2:21 PM siva varma Datla wrote: > Is there any option that I can include that particular part of the build > in the

Re: Email notifications attach part of build log in email body

2017-02-01 Thread siva varma Datla
Is there any option that I can include that particular part of the build in the email body?? On Wednesday, February 1, 2017 at 4:04:15 PM UTC-5, slide wrote: > > That's how BUILD_LOG_EXCERPT works. It will include only what is between > the start and end. > > On Wed, Feb 1, 2017 at 1:50 PM siva

Re: Email notifications attach part of build log in email body

2017-02-01 Thread Slide
That's how BUILD_LOG_EXCERPT works. It will include only what is between the start and end. On Wed, Feb 1, 2017 at 1:50 PM siva varma Datla wrote: > I am running a jenkins build where I need an email notification whenever > the build fails I am using Groovy syntax to run

Email notifications attach part of build log in email body

2017-02-01 Thread siva varma Datla
I am running a jenkins build where I need an email notification whenever the build fails I am using Groovy syntax to run my jenkins build I want an email with the status of the build along with the some part of log in the body of the build. *Please find the syntax below and suggest me if have

Re: How do I configure redis server in jenkins?

2017-02-01 Thread Indra Gunawan (ingunawa)
Your question is too vague. If you are using pipeline, you use “sh” step to run the bash Shell script file to start and stop redis service or simply run the redis docker container. From: on behalf of Lavanya pujari Reply-To:

Re: Jenkins Email-ext help - accessing build log in email

2017-02-01 Thread Slide
body : """...""" You are using double quotes...use single quotes body : '''...''' On Wed, Feb 1, 2017 at 11:03 AM siva varma Datla wrote: > I am attaching the whole groovy Syntax I am using to get an email > notification when build is started I also want to include

Re: Jenkins Email-ext help - accessing build log in email

2017-02-01 Thread siva varma Datla
I am attaching the whole groovy Syntax I am using to get an email notification when build is started I also want to include some part of console log starting from Hello World to Finished Success. When I try with single quotes I end up this ERROR:

Re: Jenkins Email-ext help - accessing build log in email

2017-02-01 Thread Slide
Use single quotes instead of double quotes, I don't know how else to say it. On Wed, Feb 1, 2017 at 10:32 AM siva varma Datla wrote: > Can you provide me with an example please!! > I would appreciate it if you do so > > > On Wednesday, February 1, 2017 at 11:40:04 AM

How do I configure redis server in jenkins?

2017-02-01 Thread Lavanya pujari
I am trying to integrate Jenkins with node.js application where I need to add redis server in the job. Any help would be thankful.. -- 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: Jenkins Email-ext help - accessing build log in email

2017-02-01 Thread siva varma Datla
Can you provide me with an example please!! I would appreciate it if you do so On Wednesday, February 1, 2017 at 11:40:04 AM UTC-5, slide wrote: > > If you are including this in a pipeline script, you need to make sure and > use single quotes or escape the $. Groovy will try and evaluate that if

Re: Jenkins Email-ext help - accessing build log in email

2017-02-01 Thread Ghazi TRIKI
Can you please give an example of what we need to use? Le mercredi 1 février 2017 17:40:04 UTC+1, slide a écrit : > > If you are including this in a pipeline script, you need to make sure and > use single quotes or escape the $. Groovy will try and evaluate that if you > use double quotes. > >

Re: What is the proper name for "ghost" jobs and how are they controlled?

2017-02-01 Thread John Bobinyec
The apparent interference might have been due to other things. But does no one else have ghosts? jb On Thursday, January 26, 2017 at 3:27:12 PM UTC-5, John Bobinyec wrote: > > > We have a pool of slaves. When a job is dispatched to one of them it is > assigned to an executor on that machine.

Re: Email complete build report when build fails

2017-02-01 Thread jerome
You can set a variable global and set it during various step/stage. Then when you throw you could known what was the last thing done and append it to the email info with the error info too def my_last_seen_step = "start" try { stage('Checkout') { my_last_seen_step =

Re: Post build plugin's to run on slave

2017-02-01 Thread Richard Ginga
check out this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Any+Build+Step+Plugin On Wed, Feb 1, 2017 at 1:53 AM, Vikram Varma wrote: > > > I have a packer installed on my Slave machine. But I am having issue that > Packer Jenkins plugin is a post build action.

Re: Jenkins Email-ext help - accessing build log in email

2017-02-01 Thread Slide
If you are including this in a pipeline script, you need to make sure and use single quotes or escape the $. Groovy will try and evaluate that if you use double quotes. On Wed, Feb 1, 2017 at 9:20 AM Ghazi TRIKI wrote: > Hello, > > I am helping Siva on a Jenkins build

docker plugins

2017-02-01 Thread john
I have been using the docker-build-step plugin for creating an image and running various docker commands in a build. Unfortunately since docker has moved on, it has stopped working and is not being updated. Is there a preferred docker plugin? Or am I better off using shell commands? Regards --

Jenkins Email-ext help - accessing build log in email

2017-02-01 Thread Ghazi TRIKI
Hello, I am helping Siva on a Jenkins build task. We wrote a pipeline email function that get log and puts it to email. The issue we have is that we tried using BUILD_LOG_EXCERPT and BUILD_LOG variables but get the following exception. Can you help us please?

Re: Build pipeline plugin can't find downstream job for manual trigger

2017-02-01 Thread Peter Nelissen
What do you mean with the folder? The project name? Pipeline name? Thanks! Peter On Monday, 18 July 2016 21:38:58 UTC+2, Guy Knights wrote: > > For anyone else dealing with this issue, I found the solution. I recently > moved to using folders in Jenkins 2.x, and it's necessary to specify the >

Immediate need Sr. Database Developer (MySQL/SQL Server) -Direct Client

2017-02-01 Thread Ranadheer
Hello, Hope you are doing great. *Position ID – 7181 * *Position Title – Sr. Database Developer (MySQL/SQL Server)* *Worksite Address – Columbia, SC* *Required Skills (Rank In Order of Importance):* · Accounting & Financial knowledge & experience in connection with DB and application

Slow updates from the repository

2017-02-01 Thread Eliezer Croitoru
I am updating Jenkins regularly on both CentOS, Debian and Ubuntu and most of the time it's in the middle of the night(TimeZone +2) and I have used the instructions from: http://pkg.jenkins-ci.org/redhat/ But most of the time the download is lower the 1Mbit per second and some other times it's

Deploying a file on a remote location

2017-02-01 Thread gaurav lele
I am using the ArtifactDeployer plugin to deploy files onto a remote location. But I am getting these errors. [ArtifactDeployer] - [ERROR] - Failed to deploy. Can't create the directory '53' [ArtifactDeployer] - [ERROR] - Failed to mkdirs And also how do I create permissions in Jenkins to

Re: Attaching to QueueTaskDispatcher extension point without a plugin

2017-02-01 Thread Stephen Connolly
Writing a plugin would be easier than your suggested approach. Writing a plugin is not that hard. You'll just start with an empty plugin and add your extension class. On Wed 1 Feb 2017 at 03:55, Alexander Yustus wrote: > Hi all, > > I want to implement the feature to prevent