I am also facing the same issue, using `findFiles` does not solve the
problem as it only searches for the file in the current directory and does
not search for it recursively inside other directories. I have posted the
same question on stackoverflow
https://stackoverflow.com/questions/41720831/
Do not give global view.read permission. Just give permission per job.
Regards,
Rupali
On 10-Dec-2014 12:14 pm, "Chris Withers" wrote:
> Hi,
>
> I'm afraid I don't follow...
>
> I don't want the view to be visible at all, how do I do that?
>
&g
Hi,
I used workflow to trigger other already existing jobs as below:
stage "BUILD"
node('master') {
build 'test-build'
}
Though I have selected node as 'master' for this step, the build job
"test-build" gets triggered on some other slave
Hi Kohsuke,
I am new to Groovy. So I guess I couldn't figure out the issue.
But setting env.MYDIR and accessing it as %MYDIR% in batch script worked.
Thanks for quick response.
Regards,
Rupali
On Monday, December 8, 2014 9:35:29 PM UTC+5:30, Kohsuke Kawaguchi wrote:
>
> I'
ent directory is: ${myDir}*
node('windows') {
def myDir = pwd()
bat '''echo "Current directory is:"
echo ${myDir}'''
}
Am I missing some syntax in multiple line batch script?
Regards,
Rupali
--
You received this message because you are subscribed
Hi James,
That worked. Thanks.
Regards,
Rupali
On Friday, December 5, 2014 9:58:52 PM UTC+5:30, James Nord wrote:
>
> try
>
> node('windows') {
> def myDir = pwd*()*
> bat "echo ${myDir}"
> }
>
> /James
>
> On 05/12/2014 14:30, Rupali
Hi James,
Thanks for quick reply. I tried this. But I get same exception.
Regards,
Rupali
On Friday, December 5, 2014 7:25:51 PM UTC+5:30, James Nord wrote:
>
> Hi Rupali
>
> The following should work
>
> node('windows') {
> def myDir = pwd
> bat "ech
someone advise on how to read current directory path into a variable
which I can use in my bat script?
Regards,
Rupali
--
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 i
I added a Linux slave today and ran the step to execute shell script on
Linux slave.
That worked well.
So I am concluding that Shell script in in *workflow step* is not working
on Windows slave.
Let me know if anyone thinks / knows otherwise.
Regards,
Rupali
On Thursday, December 4, 2014 11:41
yes, how to fix that? I have path to Cygwin setup on master and slave
nodes thorugh which initial execution gets triggered.
Any inputs on this will be highly appreciated.
Regards,
Rupali
On Tuesday, December 2, 2014 6:25:57 PM UTC+5:30, Rupali wrote:
>
> Hi,
>
> I tried number of opti
Hi,
I tried number of options but this is not working.
Does Shell script in workflow steps works only on Linux/Unix slaves?
Regards,
Rupali
On Monday, December 1, 2014 5:38:50 PM UTC+5:30, Rupali wrote:
>
> HI Ninad,
>
> Thank for the reply. But it doesn't work.
> Thing
shell script execution.
Regards,
Rupali
On Friday, November 28, 2014 3:09:05 PM UTC+5:30, Rupali wrote:
>
> Hi,
>
> I tried a simple command in shell script as below:
> sh 'echo Hello'
>
> It gives below error:
>
> [D:\Jenkins-Slave\workspace\Setup-WF] Running
-Slave\workspace\Setup-WF\.fb8e6a28\script.sh: command not
found
Can you please advise what could be wrong here?
Regards,
Rupali
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails f
Hi,
Use the parameter name as is.
e.g. if parameter name is NAME, then try echo NAME. It should work.
Also there are other posts related to parameter reading from job and
between work-flow steps already posted.
Do refer to them.
Regards,
Rupali
On Thursday, November 27, 2014 9:54:40 PM UTC+5
Thanks James.
That worked.
Regards,
Rupali
On Thursday, November 27, 2014 5:40:16 PM UTC+5:30, Rupali wrote:
>
> Hi,
>
> I tried reading file from workspace using *readFile* and then echo the
> results. That works just fine. But I was unable to parse it and retrieve
> s
.
Regards,
Rupali
--
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 on the web vi
D:\Jenkins\jobs\BUILD-DEPLOY-TEST-CERTIFY-WF\workspace\.dddf1bf9\script.sh:
command not found
I am not calling script.sh.Also I am not sure how this .dddf1bf9 folder is
getting created.
Can you advise on this?
Regards,
Rupali
On Wednesday, November 26, 2014 5:53:49 PM UTC+5:30, Rupali wrote:
well for nested views.
If you give global VIEW.READ permission, then user will be able to see all
views including nested views but the views not having user's jobs will
appear empty.
Hope this helps.
Regards,
Rupali
On Thursday, November 27, 2014 1:05:54 PM UTC+5:30, Chris Withers wrote:
>
Thanks. Both of you are right.
I missed checking configuration on Slave.
Corrected it now and its working fine.
Regards,
Rupali
On Wednesday, November 26, 2014 5:53:49 PM UTC+5:30, Rupali wrote:
>
> I am trying to run a shell script on Windows Server.
> Usually we set start line in she
e on how do I setup path to cygwin here so that it can find
the required shell script commands?
Note: cygwin is already included in system path variable.
Regards,
Rupali
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscrib
Great. Thanks for the explanation.
Regards,
Rupali
On 26-Nov-2014 1:15 am, "Kohsuke Kawaguchi" wrote:
> Right, this needs to be documented better (and Jesse is working on it.)
>
> The input step returns a map that contains the values as a Map. So in your
> case
>
Hi,
Another instance of Jenkins hanging. Thread dump attached.
We are using Jenkins version 1.565
Can you advise what could be happening here?
Does Jenkins has any pause times where it becomes inaccessible?
Regards,
Rupali
On Monday, October 20, 2014 5:16:29 PM UTC+5:30, Rupali wrote:
>
&
#x27;, description: '', name: 'projName'], [$class:
'TextParameterDefinition', defaultValue: '1234', description: '', name:
'projID']]
How do I read values of the parameters projName and projID in my next steps
in work-flow?
Regards,
?bug_id=7130796
Could you advise on what could be causing the issue?
Regards,
Rupali
On Wednesday, October 29, 2014 2:02:28 AM UTC+5:30, Cohen, Isaac S wrote:
>
> David - Thanks for the quick reply. How did you come to this conclusion?
> Sorry, I am still new to thread dumps!
>
>
selected as part of one step into another step of same workflow.
Can you advise how to do that?
Regards,
Rupali
--
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
Hi James,
Thanks for your reply.
We are using Windows server.
I will try jstack as you suggested and will post my findings.
Thanks,
Rupali
On Tuesday, October 21, 2014 4:05:31 PM UTC+5:30, James Nord (jnord) wrote:
>
> Are you on Linux and are you using the embedded container?
>
>
Hi Terrence,
Thanks for reply.
Problem we are facing is when Jenkins becomes unresponsive, everything that
needs Jenkins URL, becomes inaccessible. So we decided to use Jconsole. But
we didn't find abnormalities in CPU and memory usage when monitored using
jconsole.
Regards,
Rupali
On 2
by Jenkins Java process also was around 1.7 GB which is the case
usually. We have Master-Slave setup containing 8 slave machines of which 2
slaves have dedicated jobs to run.
Can you advise on how to analyze this issue to find out the root cause of
Jenkins becoming inaccessible?
Regards,
Rupali
28 matches
Mail list logo