Error in Jenkins pipeline when running the script from SVN

2017-12-28 Thread bsurajit
Hi Team, I am getting the following error when running a pipeline script from SVN. DSM-WCM-Automation - This folder location I have newly added in SVN through SVN client and uploaded the required script

Re: Example of a working pod with the kubernetes-ci plugin

2017-12-28 Thread Vamsi krishna
@carlos i checked the logs but there is nothing showing in the logs jenkins is running outside of the cluster.. so i cant use the jenkins if i run outside the cluster. On Monday, November 21, 2016 at 12:43:08 AM UTC-8, Sébastien Douche wrote: > > Hi folks, > I try with the kubernetes-ci

Kubernetes plugin ( want to run slave as pod )

2017-12-28 Thread Vamsi krishna
Hello Team, I am using kubernetes plugin 1.1 My cluster is running in local Host.. Jenkins is running in outside cluster.. I want to run my Jenkins build jobs with slave pod in containers..after build job is done my slave pod has to kill automatically.. Pod is killing automatically when build j

Re: How to get folder name of job if know only CHANGE_TARGET?

2017-12-28 Thread Viacheslav Dubrovskyi
Found the answer: import jenkins.branch.NameMangler NameMangler.apply('maintenance/2.4') Result: maintenance-2-4.c4g2o8 28.12.2017 15:59, Viacheslav Dubrovskyi пишет: Hi. I use multibranch pipeline job. In pipeline for PR I see env.CHANGE_TARGET variable. For example: CHANGE_TARGET=mainten

Re: HowTo set pipeline step description

2017-12-28 Thread Viacheslav Dubrovskyi
Hi Is it possible to disable this feature? 04.12.2017 21:09, Victor Martinez пишет: As far as I know you don't need to do anything since the pipeline does it automatically: For instance, the below pipeline will be shown as the attached screenshot | node('docker') {     sh 'docker --version'

Groovy code in Pipeline and CPS trouble

2017-12-28 Thread Ramanathan Muthaiah
Hello All, I have tested the below snippet of code in myjenkinsurl/script and it works fine. However, same code (embedded or loaded via external Groovy code) in Pipeline workflow script fails, inspite of CPS annotation (with the stacktrace that's given after this code snippet) ? NOTE: First p

How to get folder name of job if know only CHANGE_TARGET?

2017-12-28 Thread Viacheslav Dubrovskyi
Hi. I use multibranch pipeline job. In pipeline for PR I see env.CHANGE_TARGET variable. For example: CHANGE_TARGET=maintenance/2.4 But in folder branches of job, it transformed in maintenance-2-4.c4g2o8 Ho can I get name of folder if know only env.CHANGE_TARGET? What function used for encod

Re: Jenkins on AIX

2017-12-28 Thread Mark Waite
You'll be much better served by installing the Jenkins server on a Linux computer or a Windows computer, then configure a Jenkins agent to run on the AIX machine. That will allow you to run jobs that are specific to AIX, without having to be on the "bleeding edge" of discovering all the interestin

Re: Prevent using machine when Jenkins is running job

2017-12-28 Thread Mark Waite
Would it reduce the risk of use if you locked the screen of the computer while it is being used with a Jenkins job? I believe there are programs and scripts which will allow you to lock the screen and unlock it. Mark Waite On Thu, Dec 28, 2017 at 6:08 AM Long Tran wrote: > Hi all, > > I have a

Re: Exclude files and/or path in the build

2017-12-28 Thread Long Tran
You can edit the description of the build. -- 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 discussion

Prevent using machine when Jenkins is running job

2017-12-28 Thread Long Tran
Hi all, I have a Jenkins slave that will run some jobs, this machine must not be used manually by people when it's running Jenkins job ( because it may affect some metrics of the build ) Is there any solution that I can achieve this requirement ? My current solution: I created a job that show

Jenkins on AIX

2017-12-28 Thread Fancy Yendrembam
I am looking for a download package for AIX, can someone help me with the information. Thanks. -- 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-user

Re: How do I purge/clobber stashed files?

2017-12-28 Thread red 888
The problem was I wasn't cleaning up the workspaces of the streams. I thought their workspaces were destroyed automatically but they persist. On Wednesday, December 27, 2017 at 1:04:30 PM UTC-5, Mark Waite wrote: > > That seems like a bug to me if I've understood your phrasing correctly. > > I do