Auto approve or dismiss input from pipeline script

2017-03-21 Thread Raja Chinnam
Hello I have a file input that pauses the build. The user may manually upload the file using the file input or make the file available on a network share. I am using the parallel construct to fork two branches - one for the input and one to look for the file on the share. Is there a way I can d

Re: FileNameFinder().getFileNames fails on one Jenkins node

2017-01-26 Thread Raja Chinnam
Thank you Daniel. On Thursday, January 26, 2017 at 4:09:57 AM UTC-8, Daniel Beck wrote: > > > > On 26.01.2017, at 13:09, Daniel Beck > > wrote: > > > > 1: > https://wiki.jenkins-ci.org/display/JENKINS/Making+your+plugin+behave+in+secured+Jenkins > > > Wrong link -- the correct wiki page wit

FileNameFinder().getFileNames fails on one Jenkins node

2017-01-24 Thread Raja Chinnam
Getting a list of files from jenkins workspace using groovy fails on one node but it works on another. How can I investigate it? There was a similar error when I tried "new File(pd).eachFile" method but "fileExists "$pd\\gol.bat" returned true. Pipeline code: def pd = pwd() bat "dir $pd" def

Re: Unmask credentials in pipeline

2016-12-09 Thread Raja Chinnam
lobally. Also for a > pipeline project there isn't the option of including the variables in the > build from the Configure page like you get from a freestyle project. > > On Tuesday, November 29, 2016 at 7:36:10 PM UTC, Raja Chinnam wrote: >> >> Hello >> >&g

Unmask credentials in pipeline

2016-11-29 Thread Raja Chinnam
Hello How can I pass the username and password to my a custom application in the pipeline? I have username and password added as credentials and am using this code: withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'usrid', passwordVariable: 'USR', usernameVariable: 'PWD'

runtime labels

2016-09-30 Thread Raja Chinnam
Hello All, Is it possible to manage labels dynamically on both agents and jobs at runtime? I am new to jenkins and am considering using it for running our builds. I have multiple compiler-versions on a machine that can run 2 or 3 builds at a time and only one build can be run with a compiler-ve