Re: Programmatically searching the artifacts from multiple jobs

2019-08-11 Thread niristotle okram
Short answer, you need something like splunk or elastic search to parse the logs and check for specific strings. On Sun, Aug 11, 2019 at 5:55 PM Tony C wrote: > Hi, > > I've been using Jenkins at work, for just over a year. I"m not the main > architect of our groovy infrastructure. I'm just a

Re: Figuring out what is causing a job failure

2019-05-07 Thread niristotle okram
If I remember correctly, the non 0 status of the command is enough to exit. Your exit 0, will not be executed. There is a workaround for that. On Tue, May 7, 2019 at 3:28 PM Alexandru Băluț wrote: > I set up a freestyle job which has a single "Execute shell" build step, > and is run on a remote

Re: Jenkins does not restart on restarting Windows machine

2019-04-20 Thread niristotle okram
I would look into the general settings for any windows service to start automatically. Jenkins will be no different. GoogLe it, if not share the screenshots of the service settings On Sat, Apr 20, 2019 at 8:17 AM ABostonGal ABostonGal wrote: > I have Jenkins installed as a Windows service and

Re: Jenkins space issue

2019-04-15 Thread niristotle okram
Ok. On Mon, Apr 15, 2019 at 1:18 AM Archana Srichandan < archana.srichan...@4tigo.com> wrote: > Hi Team, > > i am facing space issue in jenkins. > > [image: image.png] > Regards, > Archana Srichandan > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins

Re: remoting issue

2019-02-11 Thread niristotle okram
Okay going by the logs now, here are some of the possible things that you can look into: 1. jdk versions consistent across the master and slaves 2. https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-30561 3.

Re: remoting issue

2019-02-11 Thread niristotle okram
This thing caught my eye: Feb 11, 2019 8:15:03 AM hudson.remoting.ProxyOutputStream$Chunk$1 run WARNING: Failed to *ack *the stream That indicates a TCP issue over there. Try this [root@ip-172-31-2-59 ec2-user]# ethtool -K eth0 sg off Actual changes: scatter-gather: off tx-scatter-gather:

Re: How do I include special characters like [,[ and . cURL POST data?

2019-01-23 Thread niristotle okram
The chances of geting As for your Qs is higher when you show the failing command and error. On Wed, Jan 23, 2019 at 12:57 PM Panneer wrote: > Hi All, > > How do i pass special characters [,[ and . and data thru cURL POST data? . > > Environment: Jenkins pipeline. > > > Thanks > Panneer > > --

Re: Jenkins-docker

2018-05-23 Thread niristotle okram
What did u tried? On Thu, May 17, 2018 at 3:15 AM wrote: > Hi All, > > Setting a new infrastructure please help me out how to setup jenkins with > docker .? Individaly i know how to handle > > > Thank you > kirti > > -- > You received this message because you

Re: I would like to downgrade the version of Python that Jenkins is using.

2018-05-20 Thread niristotle okram
Check out the global config in jenkins to find what version of python is used? If there is no python listed, check the default python that the instance on which the build is executed On Mon, May 14, 2018 at 11:41 AM Patricia Sandt wrote: > The Ubuntu 16.04 version

Re:

2018-05-10 Thread niristotle okram
What is your version of the plugins? On Thu, May 10, 2018 at 3:14 AM Victor Martinez < victormartinezru...@gmail.com> wrote: > I'm not sure if you can upgrade those plugins but you could give a go and > run a local jenkins instance with the latest version of those plugins and > see whether the

Re:

2018-05-09 Thread niristotle okram
this is what i have On Wed, May 9, 2018 at 4:04 PM, Victor Martinez < victormartinezru...@gmail.com> wrote: > As far as I see it's there > > >

Re:

2018-05-09 Thread niristotle okram
are trying to do, you can whitelist the > toTimestamp method of the java.util.Date class in the global configuration > area of Jenkins, or create the getTimeStamp function in a shared library. > > On Wed, May 9, 2018 at 9:46 AM niristotle okram <nirish.ok...@gmail.com> > wrote:

[no subject]

2018-05-09 Thread niristotle okram
i am getting a failure calling the below function in a pipeline def getTimeStamp(str) { d = new Date(str).toTimestamp(); return d } Exception Caught: org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use staticMethod

Re: how do I list all the pull request for the repo?

2018-05-01 Thread niristotle okram
which provider? On Tue, May 1, 2018 at 1:12 PM, swordfish wrote: > I want to write a script inside shared library which gives list of all > pull requests. Any sample example? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins

Re: [DISCUSS] Change Jenkins default logging format

2018-04-12 Thread niristotle okram
Definitely yes. On Thu, Apr 12, 2018 at 2:40 AM, Baptiste Mathus wrote: > Hello everyone, > > I am transferring this email I originally posted in the dev list a few > days ago to gather more feedback. > To sum up: I am proposing to change the current logging format to a more >

Re: Git Repo fetch Error-128

2018-02-23 Thread niristotle okram
I would login to the jenkins node, and would try to clone the repo manually. If you dont have access to the box. Try executing a build with the shell option to git pull with more verbosity set. This is an environment issue and can be due to anything hence difficult to say what exactly is the

Re: Jenkins motioning

2018-02-21 Thread niristotle okram
How about a hello world page as well? Is that okay On Mon, Feb 19, 2018 at 11:13 PM vikram reddy wrote: > display details the of below metrics > Pipeline capabilities usage (how many use sonar, how many use nexus, etc) > How many apps have a pipeline at all > > -- >

Re: List of git branches using Jenkinsfile parameters

2018-02-19 Thread niristotle okram
What kind of pipeline job is that? The one with jenkins groovy dsl or the declarative one? How r u listing remote git branches in the job parameters to be selected by a user before starting a build? I haven’t came accoss that feature. And for the multi branch job, wasnt it suppose to build any

Re: List of git branches using Jenkinsfile parameters

2018-02-18 Thread niristotle okram
I dont have much experience with multi branch job types. Nonetheless, The below requirement may not be possible unless there is some plugin to do so. The job / local workspace will not have any idea of remote branches before you trigger it. A workaround may be to start the job, create a stage

Re: List of git branches using Jenkinsfile parameters

2018-02-18 Thread niristotle okram
Not sure, if i am following this requirement. Am I understanding it right, if you want to list the remote branches of a repository on jenkins job as a parameters? On Mon, Feb 19, 2018 at 8:43 AM wrote: > What I want to be able to do - > > Have a Jenkinsfile that will

Re: new File is adding C: to the path of a linux container

2018-02-15 Thread niristotle okram
Files generated by jenkins during a build is created in the master. You have to use the "readFile" to use it in the compute environment of the slaves/agents On Thu, Feb 15, 2018 at 10:57 AM, red 888 wrote: > I have a windows master that executes a stage in a container

Re: Dollar sign in credentials broken for declarative pipelines

2018-02-13 Thread niristotle okram
I just had this a couple of days back in a shell script. I had to place the password string (which have the $) within a quote. But can we put the quotes in the password field of the jenkins credentials page, wont it not treat the quote as a part of the password string? I haven’t tested it though.

Re: Shared library groovy code not executing on slave

2018-02-10 Thread niristotle okram
I kind of remember this scenario... can you Share the sample snippet on what you are doing? On Sat, Feb 10, 2018 at 11:00 AM Jasmitha M wrote: > I've written shared library to check out code from git using git block and > echo ip address of node using shell command. It is

Re: How to keep a running docker container after a build fails?

2018-02-07 Thread niristotle okram
Pausing a build comes with an expense of a busy executor. Why not file a JIRA ticket to the plugin folks, might help someone someday. On Wed, Feb 7, 2018 at 1:47 PM, pisymbol . <pisym...@gmail.com> wrote: > > > On Wed, Feb 7, 2018 at 2:43 PM, niristotle okram <nirish.ok...@

Re: How to keep a running docker container after a build fails?

2018-02-07 Thread niristotle okram
for debugging, why not put some more echo/ls commands to check if the file you are looking is there or not from the container. The documentation says: *Takes an image ID or symbolic name which must already have been pulled locally and starts a container based on that image. Runs all nested sh

Re: Jenkins inside Tomcat

2018-02-06 Thread niristotle okram
i havent used tomcat for url redirects, but here is one resource in github which 5 people seems to have liked. Can try this out if you have a test setup. https://gist.github.com/jtgasper3/10501274 On Mon, Feb 5, 2018 at 2:07 PM, Zane Blalock wrote: > I've set up a

Re: gcloud ssh pass key file as an environment var?

2018-02-01 Thread niristotle okram
checkout your SO post https://stackoverflow.com/questions/48569560/read-the-output-of-a-secret-text-file/48572961#48572961 On Thu, Feb 1, 2018 at 3:58 PM, red 888 wrote: > I tried setting GOOGLE_APPLICATION_CREDENTIALS to the path of my json key > but it doesn't work:

Re: Cucumber-Gherkin Ruby Browser close

2018-01-31 Thread niristotle okram
How do you think, someone can possibly help with the below statement? Please have some common sense while asking for help. On Thu, Feb 1, 2018 at 12:05 AM Anitha P wrote: > When I do a build a Jenkins my browser window atutomatically closes before > the script . Can

Re: Linting Jenkinsfile

2018-01-15 Thread niristotle okram
Somethings that you need to add in your help request: 1. How are connecting to the server cli/curl? 2. What kind of jenkinsfile your are attempting to lint? Declarative or scripted pipeline? On Tue, Jan 16, 2018 at 1:34 AM Mayur Nagekar wrote: > Hello all, > > I have

Re: Jenkins overwriting config.xml on startup

2017-12-12 Thread niristotle okram
Can you elaborate the part: "I add a docker cloud" ? On Tue, Dec 12, 2017 at 2:10 PM, Wendell Beckwith wrote: > I've installed the jenkins 2.94 as both a war file and a docker container > with the jenkins_home mapped to a local directory and I can startup jenkins > fine. I

Re: Suggestions for a jenkins dashboard

2017-11-26 Thread niristotle okram
Thanks for the suggestion, i will definitely give a try on that! On Sun, Nov 26, 2017 at 7:17 AM Baptiste Mathus wrote: > Being the maintainer of Radiator View Plugin, I'm not very objective, but > I can at least confirm it seems like it would work very fine for your goal. > We

Re: After checkout from repositoy Jenkins will not start Windows batch command

2017-10-10 Thread niristotle okram
Without any logs, one cannot give you meaningful suggestions. What does the xcopy step says in the log? On Mon, Oct 9, 2017 at 4:48 AM 'S. G.' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > I am new to Jenkins. I started with one simple test: I created a > freestyle job on a

Re: Add Dhttps.protocols=SSLv3,TLSv1.1,TLSv1.2 in Jenkins

2017-09-12 Thread niristotle okram
that depends on how you enabled the https (apache/nginx...?) .. Understanding a little on SSL wont hurt, instead of posting non-jenkins questions in a jenkins users distro. On Tue, Sep 12, 2017 at 1:53 PM, Prasu S wrote: > We recently changed Jenkins from http to https .

Re: Pinning a node to a particular workspace in jenkins pipeline?

2017-09-05 Thread niristotle okram
i have ran into this in the past, but we manage to solve this by assigning a workspace for each build. there is a dsl - ws(). Another thing regarding the executor while waiting for user input, use the input(), outside of node{}.

Re: I need your help! Please tell me how you and/or your team uses Jenkins

2017-08-29 Thread niristotle okram
i think, first MS should roll out an official plugin to integrate TFS (on-prem) with jenkins. There are certain things that doesn't work with jenkins tfs plugin with on-prem tfs. * The major issue being: build status indicator on TFS (branch/PR ) * If using TFS to use build queuing on Jenkins,

Re: Scoping of a groovy variable inside a closure in try() to access from catch()

2017-08-28 Thread niristotle okram
t; is fine. I've used this in my pipeline and it works fine. Can you verify > that your pipeline is getting to the point where val_log is assigned, and > also verify it's not assigned anywhere else? > > On Mon, Aug 28, 2017 at 12:23 PM niristotle okram <nirish.ok...@gmail.com&g

Scoping of a groovy variable inside a closure in try() to access from catch()

2017-08-28 Thread niristotle okram
down votefavorite how do i access the value of a variable assigned inside a closure within a try() in the catch() statement. here is what i am trying to achieve but i keep

Re: Information requested to understand usage of Jenkins for Informatica || ETL tool

2017-08-02 Thread niristotle okram
Heard about shell script? On Tue, Aug 1, 2017 at 5:42 AM Neha Garg wrote: > > Hi Team, > > > > I was going through the link: > http://hopsas.com/products/informatica-powercenter-continuous-delivery-solution/ > > I am an Informatica developer and looking for some help

Re: parse out text from the console log, to be used in the letter stage of the build

2017-07-25 Thread niristotle okram
stop it from printing to the log I believe). > Then you could parse the returned contents for the value you are looking > for. See https://jenkins.io/doc/pipeline/steps/workflow- > durable-task-step/#code-sh-code-shell-script > > On Mon, Jul 24, 2017 at 4:03 PM niristotle okram <n

parse out text from the console log, to be used in the letter stage of the build

2017-07-19 Thread niristotle okram
i have the below entry in the console log [echo] Testing the deploy [sf:deploy] Request for a deploy submitted successfully. [sf:deploy] Request ID for the current deploy task: 0Afg00kyGxDCAU [sf:deploy] Waiting for server to finish processing the request... = i am trying to

Re: Jenkins Stickers

2017-07-14 Thread niristotle okram
On a lighter note: Does sticking a jenkins sticker, increases productivity or skill level???  On Fri, Jul 14, 2017 at 12:31 PM Aldrin Leal wrote: > Guys, > > (Brazilian living in Envigado here) > > If you want you can ship to my mailbox in US so I can get it here with

Tfs event payload

2017-06-29 Thread niristotle okram
Have anyone tried or used, the tfs payload from the service hook in jenkins? I am trying to get the branch name from the 'event' , so that i can use it in the pipeline script... Thanks !!! -- Sent from mobile device, excuse typos if any. -- You received this message because you are subscribed

Re: Jenkins IIS Reverse Proxy

2017-05-03 Thread niristotle okram
Does this means that your reverse proxy is not working? And not just the error on the jenkins page On Wed, May 3, 2017 at 12:28 PM Terry Lacy wrote: > For whatever it's worth, adding another "/" to that URL still results in a > 404. > > Terry > > On Wednesday, May 3, 2017

Re: using .each with closure in jenkins pipeline - @NonCPS method

2017-04-10 Thread niristotle okram
at 06:02, niristotle okram <nirish.ok...@gmail.com> > wrote: > > I have seen that mentioned somewhere in the past. But i am baffled as to > why things works in the master and fails in the slave/agent. > > Can anyone spot where i am faulting. this have owned me for days now :( >

Re: using .each with closure in jenkins pipeline - @NonCPS method

2017-04-09 Thread niristotle okram
eRepository": "DEV2",* * "folderNames": { "multifolder": "{{multifolder}}","agent1": "{{agentx}}" }* *}* *}* The current behaviour is that, the method just works fine in my groovyConsole but fails big time in jenkins, The fil

Re: using .each with closure in jenkins pipeline - @NonCPS method

2017-04-09 Thread niristotle okram
nyone done this successfully? On Fri, Apr 7, 2017 at 12:36 PM, niristotle okram <nirish.ok...@gmail.com> wrote: > Can anyone say, if the issue of using '.each{ }' , with the closure in > jenkins https://issues.jenkins-ci.org/browse/JENKINS-26481 > > also affect a NonCPS method?? > > I f

using .each with closure in jenkins pipeline - @NonCPS method

2017-04-07 Thread niristotle okram
Can anyone say, if the issue of using '.each{ }' , with the closure in jenkins https://issues.jenkins-ci.org/browse/JENKINS-26481 also affect a NonCPS method?? I find it works okay in a master only env. -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: Converting a string parameter to a List of Maps

2017-04-06 Thread niristotle okram
Hey Bill: yes, got things to work with the input being parsed from a json. BUT only in the master. Things get messy and dark, when its a distributed env (master-slave) problem: jenkins workflow script doesn't like java api's. So IO things like // def fileReader = new BufferedReader( //

Re: Trouble using MarkupBuilder DSL within Pipeline DSL

2017-04-06 Thread niristotle okram
Seems like there is more shit apart from the security!!! The if you are using the java file writer, in a distributed env it doesn't work. I can generate some nice xml's on the master but not in the slave. What a shame! On Tue, Mar 21, 2017 at 4:01 PM, André Lanouette wrote:

Converting a string parameter to a List of Maps

2017-03-26 Thread niristotle okram
hi, Can anyone let me know me, what is wrong here. I have the pipeline script, and i am trying to pass a string parameter when the job is triggered. The parameter will then be converted into a List of maps, so that i can iterate through it. Here is what i am trying: String input =

using nonCPS and xml builder

2017-03-20 Thread niristotle okram
Hi, i have forged the below pipeline workflow. The intent is to generate the XML file as a part of the pipeline and it will be used in the subsequent stages of the pipeline. I can invoke the pipeline successfully, but i dont find the XML generated in the workspace. I would expect the "file.XML"

Re: Automating Jenkins Installation Steps

2016-12-26 Thread niristotle okram
it really depends on the tool you are using to automate it. e.g: https://supermarket.chef.io/cookbooks/jenkins (if using chef). Unless you are coming up with your own way. Then it needs more info in your request On Mon, Dec 26, 2016 at 6:38 AM, 'Karthik Veeragoni' via Jenkins Users <

Re: Get-Content : Cannot find path

2016-11-30 Thread niristotle okram
More info needed. Is this executed as a powershell script via jenkins or via the pipeline script or executed as a batch command (but feeding a powershell code)? What does the console error look like? On Wed, Nov 30, 2016 at 6:39 PM, wrote: > $FilePath =

Re: Jenkins failed using Ant Copy Command

2016-11-14 Thread niristotle okram
Does your jenkins user, have write perm on those failing servers? On Monday, November 14, 2016, john rainier borden < johnrainierbor...@gmail.com> wrote: > Hi! > > I'm trying to create a simple freestyle project to build an executable. My > build is primarily composed of ant and batch script and

Re: Define the node in pipeline

2016-09-16 Thread niristotle okram
Can you try this: node('sles12') { stage name: 'checkout' git 'https://github.com/acme/makefiles.git' git url: 'https://github.com/acme/software.git', branch: env.BRANCH_NAME sh 'echo `hostname`' } On Wed, Sep 14, 2016 at 12:50 AM, Paul Chubatyy

Re: Local Jenkins server redirect to AWS Jenkins server

2016-08-24 Thread niristotle okram
How is your local jenkins installed? Do you have any proxy server like apache/nginx? If yes you might want to look into the conf file. * I point my browser to the local IP:8080 and I get the AWS Jenkins home page.* *> *check if the hosts file doesn't have a name resolution set to the old AWS

Re: New Pipeline Maven plugin

2016-08-11 Thread niristotle okram
Assuming maven was already installed in the node & have the files configured (settings.xml, local repo etc) from the TOOLS setting of jenkins.. Will this plugin override those settings? withMaven(mavenInstallation: 'M3', mavenLocalRepo: '.repository', mavenSettingsConfig:

Re: Jenkins CLI, trouble installing plugin from local hpi

2016-08-04 Thread niristotle okram
just curious - what is this* "local hpi" ?* On Thu, Aug 4, 2016 at 4:02 AM, Daniel Beck wrote: > > > On 28.07.2016, at 01:36, James Richard wrote: > > > > Manually uploading the files to the server works fine, I can > upgrade/downgrade and install

Re: is this a part of JENKINS-17587 bug impacting the pipeline job type?

2016-07-11 Thread niristotle okram
never mind, i got it fixed. On Mon, Jul 11, 2016 at 12:53 PM, niristotle okram <nirish.ok...@gmail.com> wrote: > Declaring the node section in the pipeline workflow script as below > > > node(‘"PHG123" || "PSJ456"’) { > > //some code block &g

is this a part of JENKINS-17587 bug impacting the pipeline job type?

2016-07-11 Thread niristotle okram
Declaring the node section in the pipeline workflow script as below node(‘"PHG123" || "PSJ456"’) { //some code block } Also like this node(‘PHG123 && PSJ456’ ) //some code block } Both failed to respect the logical operator. jenkins log says : There are no nodes with the

Re: using maven.config

2016-06-02 Thread niristotle okram
Navigate to manage jenkins - configure system & update the Maven Configuration On Thu, Jun 2, 2016 at 1:31 PM, Derek wrote: > I have been unable to get Jenkins to run maven in such a way that it > honors the .mvn/maven.config properties file (introduced in maven > 3.3). I

Re: Robocopy induced error in the pipeline

2016-04-17 Thread niristotle okram
folder2 file1 file2 ^& IF %ERRORLEVEL% LEQ 1 exit 0" On Sun, Apr 17, 2016 at 3:55 PM, Daniel Beck <m...@beckweb.net> wrote: > > > On 17.04.2016, at 21:13, niristotle okram <nirish.ok...@gmail.com> > wrote: > > > > When the job comes to portion where th

Robocopy induced error in the pipeline

2016-04-17 Thread niristotle okram
Hi, This is not directly a jenkins issue, but i am clueless on why this is failing. All i trying to do is use robocopy (since we are using the damn-it windows) to copy over 2 files from a jenkins dir to my nodes. The part of the jenkins pipeline where its failing looks like this bat "robocopy

jenkins pipeline with Ruby

2016-04-01 Thread niristotle okram
*Is there any plans for supporting Ruby, for writing the pipeline scripts? * -- Regards nirish okram -- 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

loading files with methods inside a workflow

2016-03-02 Thread niristotle okram
does Jenkins takes care of unloading files when the job finishes or do we need to unload the files to free up memory? We are loading files as a part of the workflow. These files contains functions/methods that will perform certain task. -- You received this message because you are subscribed to

Re: Send email based on script output

2016-02-25 Thread niristotle okram
i can't recall the exact name but there is a jenkins option to execute some groovy script. (if you are still using the old jenkins jobs NOT pipeline). So based on the flag, execute the script that triggers the mail On Thu, Feb 25, 2016 at 9:31 PM, varun umesh wrote: > I

Re: Getting started with jenkins CI. getting git to trigger build

2016-02-18 Thread niristotle okram
Interesting... Are you able to trigger the build manually? what is the SCM? On Thu, Feb 18, 2016 at 8:47 AM, Moshe wrote: > thank you but I saw this already. some tutorials say use poll scm and > others say use Build when a change is pushed to GitHub. > none of them are

Re: Getting started with jenkins CI. getting git to trigger build

2016-02-18 Thread niristotle okram
Open the jenkins job configuration page and look for build trigger. On Thursday, February 18, 2016, Moshe wrote: > Hey everyone. > After spending literally hours reading articles, watching videos and what > not, I'm officialy saying jenkins got the best of me. > My

Re: Scheduled maintenance notice: 2016-02-17 05:00 UTC

2016-02-16 Thread niristotle okram
Does this include the update center site as well? On Tuesday, February 16, 2016, R. Tyler Croy wrote: > > I will be rolling some reboots through the Jenkins infrastructure this > evening > (PST) in order to address CVE-2015-7547 / USN-2900-1 >

Re: Setup Problem

2016-02-10 Thread niristotle okram
Go to the jenkins home directory, and search for a config.xml file. Open that file, and set the security to false. This will revoke the security that you enabled. And redo the things, always use the mouse while assigning permissions. The enter key save the damn thing pre-maturely. HTH On Wed,

Re: Using checkpoint inside of node {} is unsupported and unreliable

2016-02-02 Thread niristotle okram
name 'two', concurrency: 2 node(XXX) { ws("C:\\abc\\workspace\\${env.BUILD_NUMBER}") { // codes // } } On Tuesday, February 2, 2016 at 10:35:09 AM UTC-6, niristotle okram wrote: > > Due to some requirements of confining the files in the workspace on an > instance of a jo

Re: Using checkpoint inside of node {} is unsupported and unreliable

2016-02-02 Thread niristotle okram
v.BUILD_NUMBER}") { > > // codes // > > } > > } > > checkpoint 'post1' > > stage name 'two', concurrency: 2 > node(XXX) { > ws("C:\\abc\\workspace\\${env.BUILD_NUMBER}") { > > // codes // > > } > > } > > > > On Tuesday, February 2, 2016 at

Using checkpoint inside of node {} is unsupported and unreliable

2016-02-02 Thread niristotle okram
Due to some requirements of confining the files in the workspace on an instance of a job, i am restricting instances of job to a particular node & specific workspace. The reason for clamping down the node is to avoid overwriting when the concurrent builds are executed. The workflow script

Re: create custom workspace for each execution of a job

2016-02-01 Thread niristotle okram
space before building, for instance with a git reset or > similar. Git scm step has flags for this. > > If you want to analyze the workspace upon failure, perhaps use a try/catch > block and put an archive step in the catch. > > On Mon, Feb 1, 2016 at 3:01 PM niristotle okram <nirish.ok.

Re: create custom workspace for each execution of a job

2016-02-01 Thread niristotle okram
Okay - i figured out the point of error. i should be using the " instead of ' . So it should be ws("/opt/mount1/jenkins/jobs/GoogleFlow/workspace/${env.BUILD_NUMBER}") On Monday, February 1, 2016 at 2:23:10 PM UTC-6, niristotle okram wrote: > > i am trying to create un

create custom workspace for each execution of a job

2016-02-01 Thread niristotle okram
i am trying to create unique workspace for my workflow/pipeline. The workspace will contain certain files that i don't want to mess up when the job runs concurrently. my workflow looks something like node("master") { stage name: 'sync', concurrency: 3

Re: create custom workspace for each execution of a job

2016-02-01 Thread niristotle okram
self in a cobweb now?? :) On Mon, Feb 1, 2016 at 2:48 PM, Ryan Campbell <ryan.campb...@gmail.com> wrote: > Workspaces should already be unique to a given concurrent build of > Jenkins. You shouldn't have to do anything special to enable this. > > On Mon, Feb 1, 2016, 2:38

Re: [workflow-plugin] stage concurrency not working outside of node scope?

2016-01-29 Thread niristotle okram
*Please Excuse & advise, if this is not appropriate to continue post in an old post. * We are using the cloudbees jenkins. And are optimizing the workflows (the new name: pipeline) to get some concurrency going. The way i understand concurrency is the simultaneous execution. So a value of

Re: [workflow-plugin] stage concurrency not working outside of node scope?

2016-01-29 Thread niristotle okram
" sh "sleep 10" echo "test 1/3" sh "sleep 10" echo "test 2/3" sh "sleep 10" echo "test 3/3" sh "date" } On Friday, January 29, 2016 at 11:06:20 AM UTC-6, niristotle okram wrote: > > *Please Exc

jenkinsCLI --- Exception in thread main java.net.SocketTimeoutException: connect timed out

2015-07-29 Thread niristotle okram
any suggestions/fixes for this jenkins-cli error? I have a deploy job, which is parametrized (test, stage, prod). So, whenever there is a deploy to the staging env, i am trying to make Jenkins *slaves* execute a groovy script. Trying to test the jenkins-cli.jar, i got this error:

Re: jenkinsCLI --- Exception in thread main java.net.SocketTimeoutException: connect timed out

2015-07-29 Thread niristotle okram
a new node by reading stdin as a XML configuration. create-view Creates a new view by reading stdin as a XML configuration. delete-builds So, the problem is likely the nginx in use ??? On Wednesday, July 29, 2015 at 2:32:29 PM UTC-7, niristotle okram wrote: any suggestions/fixes

Re: Using jenkins-cli.jar groovy . . . is there some cleaver way to pass parameters into the Groovy script?

2015-07-29 Thread niristotle okram
did you got the answer of this? \ On Friday, March 22, 2013 at 1:33:04 PM UTC-7, Merrow, Frank wrote: So I am using Jenkins-cli to execute a groovy script in my Jenkins servers . . . works great. Except now I want to pass that groovy script a parameter . . . Does someone have

parameterizing the branch name for build job its effect in SCM Polling process

2015-06-08 Thread niristotle okram
Some version info: Git Client Plugin : 1.10.1 Git Plugin : 2.2.5 jenkins : 1.589 I have a simple jenkins job to perform the maven deploy Or maven release plugins from *a branch like (master or release branch) . Now, i changed it, the branch name is parameterized.