Project-based security doesn't seem to be working for folders

2017-03-14 Thread 'Claudiu Guiman' via Jenkins Users
Hi,
I'm trying to hide some folder unless you're logged in, but the Project-based 
security section in the folder configuration is different from the ones in the 
job - The 'Block inheritance of global authorization matrix'  checkbox is 
missing.
Is there some workaround to get the same results as for jobs?

Thanks,
Claudiu Guiman

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/MWHPR21MB05117013780178B1C2664AF0D7240%40MWHPR21MB0511.namprd21.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.


rouble with calling a groovy function from a Jenkinsfile

2017-03-14 Thread Idan Adar
Hey all,
Seeking some advise on my question, here:  

http://stackoverflow.com/questions/42790966/how-to-call-a-groovy-function-from-a-jenkinsfile
 
Essentially, I have a declarative pipeline that I am trying to load a 
.groovy file and call a function defined in it.
The function makes a node call (that uses mustache to replace some 
placeholder values with actual values and generate a file based on it).
 
This however fails. Even an echo call from the function fails, with 
"java.lang.NullPointerException: 
Cannot invoke method generateManifest() on null object".
 
Any tips are more than welcome!

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/d2164078-9230-4f1c-b876-69c8d4b8f3d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help required with arguments for Amazon EC2 plugin

2017-03-14 Thread prabha KR
Thanks Michael. Its working now with above said changes.

-Prabha

On Mon, Mar 13, 2017 at 1:32 PM, Michael Barrientos  wrote:

> There is a place inside the Advanced settings for an AMI where you can
> specific a subnet ID for a VPC. Give it the subnet ID for a specific
> already-created subnet inside your VPC, and the instance should show up in
> the VPC. The VPC ID itself is not required; it is implied by the subnet ID.
>
> On Monday, March 13, 2017 at 1:04:01 PM UTC-7, krcp3917 wrote:
>>
>> Second attempt,  any views?
>>
>> >>>
>> We are using Amazon EC2 plugin to create Ubuntu host on aws.
>> EC2 plugin creates Ubuntu host always in default VPC and I don't see an
>> option to provide vpc id as an input to plugin.
>> Our requirement is to create a Ubuntu host in vpc which is already
>> created in aws.
>> please someone help me with more details on how to provide VPC id for
>> amazon ec2 plugin as a argument.
>> 
>>
>>
>> Thanks,
>> Prabha
>>
>> On Thu, Mar 9, 2017 at 1:09 PM, prabha KR  wrote:
>>
>>> Hi,
>>>
>>> We are using Amazon EC2 plugin to create Ubuntu host on aws.
>>> EC2 plugin creates Ubuntu host always in default VPC and I don't see an
>>> option to provide vpc id as an input to plugin.
>>> Our requirement is to create a Ubuntu host in vpc which is already
>>> created in aws.
>>> please someone help me with more details on how to provide VPC id for
>>> amazon ec2 plugin as a argument.
>>>
>>> Thanks,
>>> KRCP
>>>
>>
>> --
> 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 visit https://groups.google.com/d/
> msgid/jenkinsci-users/0244eaac-935a-4f75-966a-c0499a8b523a%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMUCfgR5nYehff0LMT%2BTA4wBupkB7_Rc9RTjBz9Jn61oNXN7Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: disabling pinging

2017-03-14 Thread Richard Ginga
thank you very much


On Tue, Mar 14, 2017 at 1:51 PM, Victor Martinez <
victormartinezru...@gmail.com> wrote:

> You can set that system property temporarily if you use the jenkins Script
> Console ( https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+
> Script+Console)
>
> System.setProperty("hudson.slaves.ChannelPinger.pingInterval", "0")
>
>
> 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 an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/85c8eafc-4e74-4fbd-b25f-bd6875b7529c%40googlegroups.
> com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Dick Ginga
Build Engineer
rgi...@disruptorbeam.com

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAL3PpaVvir3kHiXQUAqdru%2B5PsgKwpbuYBdGNQa9giE3M1K%3DvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


disabling pinging

2017-03-14 Thread Victor Martinez
You can set that system property temporarily if you use the jenkins Script 
Console ( https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console)

System.setProperty("hudson.slaves.ChannelPinger.pingInterval", "0")


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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/85c8eafc-4e74-4fbd-b25f-bd6875b7529c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


JClouds Plugin

2017-03-14 Thread Ali Bazlamit
Hi,

I have a question about the list of available providers, i was trying to 
choose a provider from the list of the available providers, looking for 
profitbricks-rest 
 
which was built by me and  i could not find it.

I am interested by the process of adding those completed providers such as 
profitbricks-rest, do we have to wait for a specific release?

Regards,

Ali Bazlamit

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/35c01f4d-61d8-488c-8fed-178a2d96cf7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


disabling pinging

2017-03-14 Thread Richard Ginga
I have a virtualbox vm running on my macbook pro that has been repeated
losing connection. I finally found this in the log:

Ping failed. Terminating the channel MAC-VM-Test-Node.

java.util.concurrent.TimeoutException: Ping started at 1489504487718 hasn't
completed by 1489504727718

at hudson.remoting.PingThread.ping(PingThread.java:130)

at hudson.remoting.PingThread.run(PingThread.java:86)
and this workaround in the Jenkins defect tracker (24926)

-Dhudson.slaves.ChannelPinger.pingInterval=0

how can I temporarily set this in my live Jenkins using the system console?
don't really want to restart it now.

Thanks
-- 
Dick Ginga
Build Engineer
rgi...@disruptorbeam.com

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAL3PpaV6G5e1aN4qeLs1UQ_%3DNA0NMzgNTDjMbDDRPx0aBtPh7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: When Connecting to GitLab from Jenkins it is failing

2017-03-14 Thread Slide
It would be helpful to have some error messages or log output or something
similar.

On Tue, Mar 14, 2017, 07:32 Asmita Mitra 
wrote:

> Did you figure out how to fix it? I am getting same error.
>
> --
> 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 visit
> https://groups.google.com/d/msgid/jenkinsci-users/5fda8f68-359d-4c55-80f7-5ca84c6b6781%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcYg1JmWArD34RaRDhF4GQmsbqKe-JSE920OWnzr5ZuVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: When Connecting to GitLab from Jenkins it is failing

2017-03-14 Thread Asmita Mitra
Did you figure out how to fix it? I am getting same error.

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/5fda8f68-359d-4c55-80f7-5ca84c6b6781%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


GitHub Webhooks and JSON

2017-03-14 Thread Matthew Cummings
What is the best way to configure per-push webhooks with GitHub?

It appears that you can use the GitHub integration or generic webhooks. 
 Also, I'm looking to conditionalize my job based on the payload content 
e.g. run one set of actions if the commit is pushed to master vs. staging

I'd like to configure this with a pipeline but I'm trying to get everything 
to work with a specific job first.  I did 
see https://issues.jenkins-ci.org/browse/JENKINS-35132 but I haven't gotten 
that far yet.

Thanks in advance,
Matt

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/82886b5f-b52d-4956-b56f-dcde7563249a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to reference the node parameter from the active choices reactive parameter

2017-03-14 Thread Tim Henderson


I basically want to drive a set of choice parameters based on the slave 
node parameter choice. I tried to use the active choices reactive plugin to 
point to the node choice like this:

if (Node.contains("name_of_slave_node")) {
return ["you_chose_slave_node"]  } else {
return ["master"]  }


Nothing I do seems to work. I can use this type of logic and point to any 
other type of parameter and it works. Im just a bit stumped as to where to 
go with this. Could it be a limitation with the plugin or am I missing 
something with how the groovy is addressing the node parameter. I really 
appreciate any advice.

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/298d75ce-f21d-4286-b654-32154e0d541f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Console output at stage level

2017-03-14 Thread Herve Guerin
Hi,
I use quite complex pipeline scripts in jenkins.

If I launch projects (or jobs), I get a very convenient "pipeline steps" 
with very nice red and blue bullet to flag fail or success "step by step" 
and an other icon "console output" for each sub-job. This view is also 
presented in a hierachical way following structure of my pipeline script 
and there is no further details of the inner execution of the sub-jobs on 
this view.
I find this "pipeline steps" view very convenient but it obliges me to 
create sub-jobs in the jenkins interface and split my gsh scripts in 
several pieces which is not always appropriate.

On the other hand, I can define "stage" in my pipelines and no sub-jobs but 
by this way the "pipeline steps" view becomes very messy because each step 
of the script turn into a line of the view with each own red/blue bullet 
and :
- I found no possibility to group the detailled line at stage level
- I have no "console output" icon to display the output of all the 
detailled steps of the stage in a row

So, I'am searching a way to get a view like "pipeline steps" where the 
finest item would be a stage (or another pipeline kind of grouping steps) 
with a status flag and a "console output" button to get details of this 
line of treatment.
Is there any possibility to do that ? (except by creating cumbersome and 
almost useless sub-jobs)
Thanks in advance, Herve

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/a0a22b74-cb4b-4b28-81a7-a1bf13d0ccf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multi-configuration has n+1 checkouts

2017-03-14 Thread Simon Richter
Hi,

On 14.03.2017 12:20, Daniel Becroft wrote:

> Thanks. I guess I expected the headline job to work like a normal job,
> where changes are detected based on changes between the revision of the
> previous build.

The headline job is the normal job. It determines whether a build is
required, does a checkout and copies the new log entries to the change
log for the build, as any other job would do.

The individual builds ignore the branch configuration and just check out
the version that the headline job selected, then generate the change log
as a regular job would do (which should have the same entries as for the
headline job). If you have artifacts, changes in artifacts are only
recorded in sub-jobs, because these are detected during the build steps
(which are ignored in the headline job).

   Simon


-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/94a33c78-f6ab-8b25-e877-1ea858899c37%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: Multi-configuration has n+1 checkouts

2017-03-14 Thread Daniel Becroft
Thanks. I guess I expected the headline job to work like a normal job,
where changes are detected based on changes between the revision of the
previous build.

On Tue., 14 Mar. 2017, 02:14 Simon Richter, 
wrote:

> Hi,
>
> On 13.03.2017 08:41, Daniel Becroft wrote:
>
> > 1. There is a checkout performed on the headline job; then
> > 2. A checkout is performed for each individual job
>
> > Is there a way to remove the headline checkout as well, or a way to stop
> > it being checked out to start with?
>
> That is normal.
>
> The headline job is responsible for deciding which version to build, and
> it also maintains a list of changes for each build. The individual
> builds don't check out the head revision, but rather the one that was
> selected in the headline job -- that way, you get a consistent version
> across all configurations.
>
>Simon
>
> --
> 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 visit
> https://groups.google.com/d/msgid/jenkinsci-users/c72138f6-431b-8820-907f-dc8e88133ddf%40hogyros.de
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAJM0iSSDzAjCCEZX%3D3cDN%3DPYs_rYOShvS5i3HgmazYrzeFQ6Zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: SVN Merge Plugin - quick question

2017-03-14 Thread Hemanth Nalluri
Hi... 
I am also looking for solution for the same..Did you get any info on it?


Regards
Hemanth

On Saturday, April 13, 2013 at 1:47:52 AM UTC+5:30, mpc8250 wrote:
>
> Hi All
>
> We like to learn to use SVN Merge Plugin in Jenkins.
> We have Trunk A, branches B and C.
> We like to merge changes in B, C to A continuously
>
> Would someone share some notes how we can configure in Jenkins for it ?
>
> Thanks all.
> Sincerely
>

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/c859c3d2-8110-4219-a516-5cb5a25bc444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


SVN Merge in jenkins

2017-03-14 Thread Hemanth Nalluri

Hi...

How can i integrate SVN merge in Jenkins?. 

Thanks in advance. 


Regards
Hemanth

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/4eb6c4a1-65c8-4011-afe7-e14f5ec99959%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Trigger secondjob after some delay of first job execution

2017-03-14 Thread Hemanth Reddy
Hi All,

I have a requirement some thing like, my first job will run test cases on 
the machine.

I need to configure another job in such a way that after 1 hour of first 
job triggered, my second job should run to collect the logs.

Regards,
Hemanth

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/86588417-451b-4fbb-a01f-375fc403a854%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pretested Integration Plugin

2017-03-14 Thread masaru tsuchiyama
sorry for late reply
why does the plugin support only free style project?

Regards
Masaru


2017年3月11日(土) 11:48 Christopher Orr :

> On Thu, 9 Mar 2017, at 14:00, Masaru Tsuchiyama wrote:
> > Hi.
> >
> > A Free Style Project' has 'Use Pretested Integration' option in Build
> > Environment section.
> >
> > But a Multi-configuration multi-branch project doesn't have the option.
> >
> > Doesn't it support the option?
>
> Apparently not:
>
> https://github.com/jenkinsci/pretested-integration-plugin/blob/pretested-integration-2.4.1/src/main/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationBuildWrapper.java#L144-L146
>
> --
> 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 visit
> https://groups.google.com/d/msgid/jenkinsci-users/1489200529.4089009.907661200.29EC2706%40webmail.messagingengine.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAKQP9ecWvzQHWHMACgeAM4f%3DXB_Uj9R4XaUUVcsRj5LcDzA6MA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.