Re: Stage View in Parallel Exectution

2017-04-27 Thread vishad alekh
Can some please assist on this . Also it will be of great help if anyone can tell whether this is possible even ? On Monday, April 24, 2017 at 7:29:48 PM UTC-5, vishad alekh wrote: > > Hi All, > > > I am looking to implement stage view for parallel execute jobs . Let > suppose i have five

DISK USAGE Pipeline Job

2017-04-27 Thread vishad alekh
Hi All, I have a pipeline job in which i am not able to see the size of jenkins build. whereas the same is coming in freestyle job . I have disk usage plugin installed . Can someone please help me with this I need to get the size of jenkins build for a pipeline job. Thanks and Regards

LDAP Plugin stops working after change in secrets files

2017-04-27 Thread Thiago Carvalho Davila
Hi, ​I am making a migration for a new server, and I tried copying the credentials.xml, secrets/hudson.util.Secret and secrets/master.key files. But now, I can't log in using LDAP anymore. How do I copy the users from the other server? Thanks, Thiago - "Esta mensagem do SERVIÇO FEDERAL DE

Re: Request for simple pipeline example to do checkout, run shell script, email result

2017-04-27 Thread David Karr
On Thu, Apr 27, 2017 at 3:05 AM, David Aldrich wrote: > Hi > > > > Please can anyone point me to, or provide, a simple and complete pipeline > script example to do a checkout, run a shell script and email the result? > > > > I am using svn, but a git example would be

automate the transfer of files from G.Storage to G.Drive

2017-04-27 Thread Talha Iqbal
Is there a way to to automate the process of transferring & deleting files from G.Storage to G.Drive, as well as be able to manage authentication (gstorage & gdrive) in a completely automated fashion? -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: email-ext no mor resolve template absolute path

2017-04-27 Thread jerome
this security non sense is getting annoying, anyway I can workaround by writing the file on the master anyway. But since you can run almost anything into a python/perl/bash/batch... scripts, the security should be at the scripts trust not what it's content in the end, if you trust the source

Re: groovy commands and description.

2017-04-27 Thread Mark Waite
On Thu, Apr 27, 2017 at 9:36 AM Kenneth Johansson < kenneth.johans...@inteno.se> wrote: > On 2017-04-27 17:22, Mark Waite wrote: > > Refer to > https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#code-sh-code-shell-script > for > the details. > > How did you find that ? > > I used

org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified

2017-04-27 Thread Jason
There is lots of info out there on the security sandbox, but I still can't seem to find the answer to this. I have a pipeline setup in Jenkins. I have it accessing a folder pipeline library ( not global ) and loading from source. I am trying to test my logic but I can't get past the

Re: groovy commands and description.

2017-04-27 Thread Kenneth Johansson
On 2017-04-27 17:22, Mark Waite wrote: Refer to https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#code-sh-code-shell-script for the details. How did you find that ? The specific question you're asking is answered by an example at

Re: email-ext no mor resolve template absolute path

2017-04-27 Thread Slide
This is probably due to the fact that reading a template from the workspace or absolute path is a security risk. On Thu, Apr 27, 2017 at 6:38 AM wrote: > I opened a ticket about it: > https://issues.jenkins-ci.org/browse/JENKINS-43903 > > -- > You received this message

Re: groovy commands and description.

2017-04-27 Thread Mark Waite
Refer to https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#code-sh-code-shell-script for the details. The specific question you're asking is answered by an example at https://jenkins.io/doc/pipeline/examples/#gitcommit . You need " returnStdout: true". Mark Waite On Thu, Apr

groovy commands and description.

2017-04-27 Thread Kenneth Johansson
How do I find out what functions exist that can be used from a groovy script and how to use them ?? like how to get the shell script output from a shell command into a variable. so the sh command is in basically all examples written as "sh 'command'" but there is another way also so that

Re: Windows Slave / LinuxMaster hang

2017-04-27 Thread jerome
I open a tickets: https://issues.jenkins-ci.org/browse/JENKINS-42988 -- 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

Re: email-ext no mor resolve template absolute path

2017-04-27 Thread jerome
I opened a ticket about it: https://issues.jenkins-ci.org/browse/JENKINS-43903 -- 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

Re: jenkins pipeline dsl - executing a list/map of nodes

2017-04-27 Thread dpreilan
Anybody familiar with internals of 'parallel' or can point me to in source it is implemented? Thanks, Doug On Wednesday, April 26, 2017 at 6:30:10 PM UTC-4, dpreilan wrote: > > > Hey, I am building a map of nodes to run in parallel. > This works fine: > > parallel unit.build_nodes > > >

Running docker.withserver within docker.inside

2017-04-27 Thread Johan Abelsson
I want to connect to another docker daemon from within a docker container but it's not working from within jenkins. The error I get is: [restart_portal] Running shell script Error response from daemon: No such container: 5a0fce9025ba1d047d8da9718ab830222d3fdc9f2a38773efd1e9d117f7e1e79 Is

Request for simple pipeline example to do checkout, run shell script, email result

2017-04-27 Thread David Aldrich
Hi Please can anyone point me to, or provide, a simple and complete pipeline script example to do a checkout, run a shell script and email the result? I am using svn, but a git example would be ok. Best regards David -- You received this message because you are subscribed to the Google

Re: java.io.IOException: Could not copy slave.jar into '/homes/bldmgr' on slave

2017-04-27 Thread Victor Martinez
Just a quick one: does /homes/bldmgr exist? Has bldmgr user got granted privileges to write in that folder? Cheers > > -- 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

Re: SAML Authentication - also need normal http auth

2017-04-27 Thread James Masson
Thanks for the reminder about API keys - I'd forgotten about them - works perfectly. However How does the API key for a SAML authed user get persisted?is it just in memory? If I restart Jenkins, does it get reset? I notice there are no user config.xml files created by Jenkins for SAML

Re: Scripts not permitted to use a method already approve in In-process Script Approval GUI

2017-04-27 Thread Romaric Crailox
For information, I open a ticket here . Best regards Romaric Crailox -- 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

Re: Declarative Syntax: agent scope

2017-04-27 Thread Bert
I have a related agent scope request. Today, the agent is defined inside a stage. If multiple stages use the same agent and the agent has just one executor, then concurrent builds alternate stage-by-stage. To prevent that, I'd like to set an agent for a couple of stages. Regards, Bert On

Blue Ocean and selecting Git as where I store my code

2017-04-27 Thread James Dumay
This happens if you do not have security enabled. There will be a change in Blue Ocean 1.1 next week that shows a message asking you to enable security. Sorry about that :( -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Testing Pipeline Shared Library

2017-04-27 Thread raja.nasrallah
Hi, I'm looking on a way to have a unit test for my pipeline shared library. I thought to try the approach of dsl code testing which is using gradle build and the Jenkins harness test framework. I managed to setup project and write the first unit test for my library, but I faced a

Re: Amazon EC2 Container Service Plugin Waiting for Executor

2017-04-27 Thread 'Mariusz' via Jenkins Users
Did you ever find out what the issue was here? I've been experiencing the exact same problem. Only when the first job finishes will a new ECS task start, thus, starting the job. On Monday, 18 July 2016 14:46:41 UTC+10, Tez Macca wrote: > > Hi, > > I have configured the "Amazon EC2 Container

Re: Chaining freestyle with a Pipeline on the same Git hash?

2017-04-27 Thread Dan Tran
I meant the jenkins library must NOT be influenced by external upstream job git params On Wednesday, April 26, 2017 at 5:48:45 PM UTC-7, Dan Tran wrote: > > It turns out my pipeline uses another internal jenkins pipeline library > via @Library('@0.0.1') _ > > this is why it bails. > > I

Re: Help me to figure out Plug in for change repository url and credentials for all the projects from central level

2017-04-27 Thread Sandeep Grandham
Thank you Victor.. On Thursday, April 27, 2017 at 3:38:35 AM UTC+5:30, Victor Martinez wrote: > > Hi there, > > I don't know if the below plugins support exactly your use case: > - https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin > > -