Re: query regarding Jenkins plugin release

2021-10-08 Thread 'Björn Pedersen' via Jenkins Developers



> -- Forwarded message -
> From: Mohammad Jameel Uddin 
> Date: Thu, Oct 7, 2021 at 11:53 PM
> Subject: query regarding Jenkins plugin release
> To: 
>
>
> Hi Gavin,
>
> I want to release the Jenkins plugin through Github, In the prerequisites, 
> it says we have to create the Pull request in GitHub to the Jenkins core. 
> I  didn't understand what to do in this step, i would be thankful to you if 
> you could help me with this.
>
> link : 
> https://www.jenkins.io/doc/developer/plugin-development/incrementals/
>
>
>
This is only necessary if you develop a core api change that is  required 
by your plugin. If you just want to develop and release a plugin based on 
exisiting api's, then you can just skip that.

Björn
 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/4b48c5ab-ae3e-4bee-ad0b-dbc4bd4932a7n%40googlegroups.com.


Fwd: query regarding Jenkins plugin release

2021-10-08 Thread 'Gavin Mogan' via Jenkins Developers
-- Forwarded message -
From: Mohammad Jameel Uddin 
Date: Thu, Oct 7, 2021 at 11:53 PM
Subject: query regarding Jenkins plugin release
To: 


Hi Gavin,

I want to release the Jenkins plugin through Github, In the prerequisites,
it says we have to create the Pull request in GitHub to the Jenkins core.
I  didn't understand what to do in this step, i would be thankful to you if
you could help me with this.

link : https://www.jenkins.io/doc/developer/plugin-development/incrementals/



Thanks & Regards,
MD Jameel Uddin

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_Duu04aENT9fQzuD9VDrB5iJX5LQdRoYKMV_NEX1WKKh%2BnQ%40mail.gmail.com.


Credential Query Language (CQL) any docs or examples?

2020-08-02 Thread Michael Carter
Does anyone have an example or documentation on the Credential Query 
Language (CQL)?

I'm looking to filter credentials on the description field but I'm trying 
to figure out how or if I can do a fuzzy match.  Nice if I could just do a 
regular expression type thing "ENV[A-D]" or of thing on the start of the 
description.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/62f32007-3d6c-4a97-9315-d38a2d14a967o%40googlegroups.com.


Re: Repository Permissions Updater PR Query

2020-02-05 Thread 'Gavin Mogan' via Jenkins Developers
That should be enough. I think most of the people with approval rights are
still a little busy from fosdem, but should get to it soon.

Gavin

On Wed, Feb 5, 2020 at 4:35 PM Terry Moreland 
wrote:

> https://github.com/jenkins-infra/repository-permissions-updater/pull/1414
>
> Is there anything further I need to do on this?  I was under the
> impression it had been updated to allow me to submit this request from my
> work account tmoreland-r7, I can repeat submission using my personal
> account but would prefer the ownership/updates lie with my work account as
> this is a Rapid7 product hosting here.
>
> As an FYI I believe the plan is to retire the original repository
> currently under github.com/rapid7 in favour of this one.
>
> Terry
> terry.s.morel...@gmail.com
> terry_morel...@rapid7.com
>
> github: tsmoreland tmoreland-r7
> jenkins dev ci: tmoreland
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAM5UBjf_LhyYOe3Ta96h%2BRC0%3DuP8anaWJWqtp0YiHPH9qYayCg%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DusJDWBOQ6WwQ%3DDJWEiu9UrgCLngjeJthYfO39F2EutPYg%40mail.gmail.com.


Repository Permissions Updater PR Query

2020-02-05 Thread Terry Moreland
https://github.com/jenkins-infra/repository-permissions-updater/pull/1414

Is there anything further I need to do on this?  I was under the impression
it had been updated to allow me to submit this request from my work account
tmoreland-r7, I can repeat submission using my personal account but would
prefer the ownership/updates lie with my work account as this is a Rapid7
product hosting here.

As an FYI I believe the plan is to retire the original repository currently
under github.com/rapid7 in favour of this one.

Terry
terry.s.morel...@gmail.com
terry_morel...@rapid7.com

github: tsmoreland tmoreland-r7
jenkins dev ci: tmoreland

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAM5UBjf_LhyYOe3Ta96h%2BRC0%3DuP8anaWJWqtp0YiHPH9qYayCg%40mail.gmail.com.


Re: Query on Jenkins pipeline Stash/Unstash

2019-10-17 Thread Ullrich Hafner
Please use the users mailing list for such questions.

> Am 18.10.2019 um 04:23 schrieb alok kumar :
> 
> Hello everyone,
> Can someone please let me know where do the files get stored when we stash 
> them in Jenkins pipeline?
> 
> Thanks
> Alok
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-dev+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/CAOqqq4SLSxjY%3DeC9qzUonBOcokExkqAq4B67Ho6rn-8UPUn64g%40mail.gmail.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/066AE74A-8655-4047-A0CF-429530C3934E%40gmail.com.


Query on Jenkins pipeline Stash/Unstash

2019-10-17 Thread alok kumar
Hello everyone,
Can someone please let me know where do the files get stored when we stash
them in Jenkins pipeline?

Thanks
Alok

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAOqqq4SLSxjY%3DeC9qzUonBOcokExkqAq4B67Ho6rn-8UPUn64g%40mail.gmail.com.


Need Help on list API's available in Role+Strategy+Plugin and getting exception saying Required Query parameter roleName is missing

2019-08-19 Thread mohanraj vellingiri


Hi Team

 

I am in need of some help below.

 

I am working on a script to add Role and giving Permission for the new 
users.

 

We use Role Strategy Plugin do manual user add and giving permission.  

 

https://wiki.jenkins.io/display/JENKINS/Role+Strategy+Plugin

 

I could able to get few API’s under the above link for my script.

 

I would like to know list of API’s available for this plugin so that I can 
write a script and add the users and give the permission to different 
projects. ?

 

Also when I run POST command I get Required Query parameter roleName is 
missing Error always. (attached details of Error)

 

It will be good if you give some input on this ?

 

[techmuser@dockervm ~]$ curl -X POST 
http://localhost:8080/role-strategy/strategy/addRole --data 
"type=globalRoles&roleName=JENADM&permissionIds=hudson.model.Item.Discover,hudson.model.Item.ExtendedRead&overwrite=true"

 

  

 

Jenkins [Jenkins]https://jenkins.io/redirect/issue-tracker";>our bug 
tracker to see if a similar problem has already been reported.

If it is already reported, please vote and put a comment on it to 
let us gauge the impact of the problem.

If you think this is a new issue, please file a new issue.

When you file an issue, make sure to add the entire stack trace, 
along with the version of Jenkins and relevant plugins.

https://jenkins.io/redirect/users-mailing-list";>The users 
list might be also useful in understanding what has 
happened.Stack tracejavax.servlet.ServletException: Required Query parameter 
roleName is missing

at 
org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:71)

 

 

Regards

Mohanraj

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/d6d19ae3-8bc9-460e-96a0-2d55b7ea9967%40googlegroups.com.
[techmuser@dockervm ~]$ curl -X POST 
http://localhost:8080/role-strategy/strategy/addRole --data 
"type=globalRoles&roleName=JENADM&permissionIds=hudson.model.Item.Discover,hudson.model.Item.ExtendedRead&overwrite=true"


  


Jenkins [Jenkins]var isRunAsTest=false; var rootURL=""; 
var resURL="/static/55248898";crumb.init("", "");var Q=jQuery.noConflict()Skip to content log 
in https://jenkins.io/redirect/search-box";>createSearchBox("/search/");Jenkinshttps://jenkins.io/"; class="task-icon-link"> https://jenkins.io/"; class="task-link">Jenkins projecthttps://jenkins.io/redirect/report-an-issue"; 
class="task-icon-link"> https://jenkins.io/redirect/report-an-issue"; class="task-link">Bug 
trackerhttps://jenkins.io/redirect/mailing-lists"; class="task-icon-link"> https://jenkins.io/redirect/mailing-lists"; 
class="task-link">Mailing Listshttps://twitter.com/jenkinsci"; class="task-icon-link"> https://twitter.com/jenkinsci"; class="task-link">Twitter: 
@jenkinsci Oops!A problem occurred while processing the request.
Please check https://jenkins.io/redirect/issue-tracker";>our 
bug tracker to see if a similar problem has already been reported.
If it is already reported, please vote and put a comment on it to let 
us gauge the impact of the problem.
If you think this is a new issue, please file a new issue.
When you file an issue, make sure to add the entire stack trace, along 
with the version of Jenkins and relevant plugins.
https://jenkins.io/redirect/users-mailing-list";>The users 
list might be also useful in understanding what has happened.Stack 
tracejavax.servlet.ServletException: 
Required Query parameter roleName is missing
at 
org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:71)
at 
org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:62)
at 
org.kohsuke.stapler.AnnotationHandler.handle(AnnotationHandler.java:91)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:204)
at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:219)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stap

html publisher plugin with query parameters

2019-08-19 Thread abhishek gupta
Hi,
I want to know, while publishing html report, my generated 
index.html needs below query parameters :-
"?collapsed=Passed,XFailed,Skipped"
When I passed using configuration, then there is not effect.
output of 
report.html
and
report.html?collapsed=Passed,XFailed,Skipped

is same.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/87c1aca8-ff5a-46fd-8ab4-38c9c2ca871e%40googlegroups.com.


Form autocomplete does not pass expected query parameters

2019-02-15 Thread stephenshank via Jenkins Developers
I am attempting to use the text box auto completion feature based on the 
example provided in the ui-samples plugin here 
<https://github.com/jenkinsci/ui-samples-plugin/blob/7d0fe2b32204a7fe0ec6adb6815e65d48b0dd54e/src/main/java/jenkins/plugins/ui_samples/AutoCompleteTextBox.java#L52>
. 

In the jelly file one of the entries is this:






Then in the Descriptor there is a method with this header:

public AutoCompletionCandidates doAutoCompleteProjectId(
@AncestorInPath Jenkins context,
@QueryParameter("projectId") final String projectId,
@QueryParameter("credentialsId") final String credentialsId)


When I look at the requests generated in my plugin, I see requests like this:

http://.../descriptorByName//autoCompleteProjectId?value=asdf


However for the form validation doCheckProjectId which uses the same query 
parameters I see requests like this:

http://.../descriptorByName//checkProjectId?value=asdf&projectId=asdf&credentialsId=...


The behavior of doFillXXXItems is the same as doCheckXXX in that I can specify 
other query parameters which are

other entries in the same form, and update the contents of the drop down 
dynamically. I'd like to be able to determine

the autocomplete candidates in a similar way, but right now the end result is 
that the Stapler response body has an

empty list of suggestions because my method returns an and empty list when the 
credentialsId is null.


I'm trying to figure out what the source of this discrepancy is. I understand 
that this uses the YUI autocomplete feature 

and I have a hunch that this fact is a huge part of the answer. I searched the 
jenkinsci organization on github and it 

seems that almost no one has deviated from using the query parameter "value", 
and the one that I saw did not use more 

than one query parameter. When I look up "jenkins autocomplete" I find 
references in various forms to the ui-samples plugin

above, or to JIRA issues about preventing auto completion of secure fields. 


If anyone else has tried to dynamically update the autocomplete candidates 
based on other entries in a form that would be 

helpful. I'd also be happy to hear a definitive "no, this functionality is not 
supported at the moment", file a feature request, and 

go back to using a drop down but that isn't ideal. Taking a step back, it would 
be nice to have "doFillXXX" for textboxes based 

on other fields in a form but that is something I do know isn't supported.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/4ff10c97-542a-488e-84dc-11fb13c39b36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can only read one query parameter from StaplerRequest

2018-08-31 Thread Tomas Bjerre
Thanks =)

Den fredag 31 augusti 2018 kl. 19:33:56 UTC+2 skrev Daniel Beck:
>
>
>
> > On 31. Aug 2018, at 19:32, Tomas Bjerre  > wrote: 
> > 
> > curl -v 
> http://localhost:8080/jenkins/generic-webhook-trigger/invoke?param1=value1¶m2=value2
>  
> > 
>
> This has nothing to do with Jenkins. & is a shell meta character. 
> Single-quote the entire URL and it'll work. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a4c1ba44-04a4-4d1a-9a65-06631bd22f06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can only read one query parameter from StaplerRequest

2018-08-31 Thread Daniel Beck



> On 31. Aug 2018, at 19:32, Tomas Bjerre  wrote:
> 
> curl -v 
> http://localhost:8080/jenkins/generic-webhook-trigger/invoke?param1=value1¶m2=value2
> 

This has nothing to do with Jenkins. & is a shell meta character. Single-quote 
the entire URL and it'll work.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/B37FC719-9310-4428-A8E1-C30602BBE309%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Can only read one query parameter from StaplerRequest

2018-08-31 Thread Tomas Bjerre
I have a class like this:.

...
@Extension
public class GenericWebHookRequestReceiver extends CrumbExclusion 
implements UnprotectedRootAction {

  private static final Logger LOGGER =
  Logger.getLogger(GenericWebHookRequestReceiver.class.getName());

  public HttpResponse doInvoke(final StaplerRequest request) {
LOGGER.info("URL: " + request.getRequestURLWithQueryString());
LOGGER.info("Keyset: " + request.getParameterMap().keySet())
...


When I invoke this with:

curl -v 
http://localhost:8080/jenkins/generic-webhook-trigger/invoke?param1=value1¶m2=value2


I can see in the log:

INFO: URL: 
http://localhost:8080/jenkins/generic-webhook-trigger/invoke?param1=value1
INFO: Keyset: [param1]


I was expecting param1 and param2 to be available in the keyset. Any hints 
on what I'm doing wrong here?

There is also an issue reported on 
GitHub: https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/74


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/ed687a02-4e5a-4979-85b0-eabf37396081%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-27 Thread Abhishek Gautam
Sure thing,
Thanks you everyone for your valuable feedback, specially Oleg and Martin.

I hope that I get to work with you guys.

Abhishek Gautam

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/c924febb-fbdd-48f4-b947-5c6a4a9142fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-27 Thread Oleg Nenashev
All my comments have been addressed.
Of course the proposal will need adjustement during the community bonding
if accepted.
So +1 from me.

Thanks for finalizing it!


On Tue, Mar 27, 2018 at 4:02 PM, Abhishek Gautam <
gautam.abhishe...@gmail.com> wrote:

> Hello everyone
>>
>
>
>> As you all know only 2 hours are remaining for submission of GSOC
>> proposal, hence I request all to look and comment on my proposal for the
>> last time.
>>
>
> Proposal link: https://docs.google.com/document/d/
> 1cuC0AvQG3e4GCjIoCwK3J0tcJVAz1eNDKV8d_zXxlO8/edit
>
>
> Thank you.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-dev/gdRXZ2OuOc8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/8d41048a-fb18-4e0e-ba23-6c1e2fd3b784%
> 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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAPfivLDYL_KmnBgn%3DW%3DLV%2B96HHc7_UGZ3mkb1aOS2JHGY-%3DjEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-27 Thread Abhishek Gautam

>
> Hello everyone
>
 

> As you all know only 2 hours are remaining for submission of GSOC 
> proposal, hence I request all to look and comment on my proposal for the 
> last time.
>

Proposal link: 
https://docs.google.com/document/d/1cuC0AvQG3e4GCjIoCwK3J0tcJVAz1eNDKV8d_zXxlO8/edit
 

Thank you. 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/8d41048a-fb18-4e0e-ba23-6c1e2fd3b784%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-19 Thread Jesse Glick
On Fri, Mar 16, 2018 at 9:11 PM, martinda  wrote:
> I have the impression that you are saying that this
> GSoC project idea is a bit too shallow on the quantity of code for GSoC.

Perhaps. Depends on what approach you want the feature to take—adding
a convenience veneer atop the existing Jenkins features, or writing
something with a very different design from scratch.

> do you have recommendations to make it more substantial?

Not offhand. There are hundreds of issues I follow in the general area
of multibranch, but I have no idea which you would consider important
in this context.

> some automatic detection of reports like JUnit XML reports, HTML reports,
> summary display reports, etc.

FYI the `pipeline-maven` plugin does some things like this—for Maven
builds only, of course.

> a default merge before build

Already a standard part of Jenkins branch sources.

> a default of having PR builds triggered by the user (rather
> than automatic)

There are some RFEs in this area.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1HF9ObXHq1PRhtsUJee5ZA7oeGdwQ7xXLbhbyDfnYapA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-18 Thread Abhishek Gautam
I have made changes according to your comments.
Thank you very much.

On Sunday, March 18, 2018 at 9:55:44 PM UTC+5:30, martinda wrote:
>
> Hello Abhishek,
>
> Thank you for sharing the proposal. I have added some comments for your 
> consideration.
>
> Best,
> Martin
>
> On Sunday, March 18, 2018 at 12:14:52 AM UTC-4, Abhishek Gautam wrote:
>>
>> Hello Everyone,
>> @martinda, I have prepared my proposal for the project Simple 
>> Pull-Request Job Plugin and shared it on the official GSOC website.
>> The link to the project proposal: 
>> https://docs.google.com/document/d/1cuC0AvQG3e4GCjIoCwK3J0tcJVAz1eNDKV8d_zXxlO8/edit?usp=sharing
>>
>> Please let me know if there is something that needs more clarification or 
>> if I have missed something.
>>
>> Thank you.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/76aec912-36ea-47c3-9a4f-ab4d2e8ec640%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-18 Thread martinda
Hi Abhishek,

This is the other thread Jesse is referring to: 
https://groups.google.com/forum/#!topic/jenkinsci-dev/Y6OB3q1SPeI

Martin

On Saturday, March 17, 2018 at 4:35:05 AM UTC-4, Abhishek Gautam wrote:
>
> Hello Jesse,
>
> Thank you for your reply. Can you please provide the link to the thread 
> where you have discussed the thing you mentioned.
>
> On Friday, March 16, 2018 at 8:47:02 PM UTC+5:30, Jesse Glick wrote:
>>
>> On Thu, Mar 15, 2018 at 10:22 PM, martinda  wrote: 
>> > there there is another model which is to have a job that handles all 
>> the pull requests of a git repo to a given branch. For example say there is 
>> a git repository called jupiter/juno.git (jupiter is the name of the github 
>> org or of the bitbucket project). Then the pull requests destined to the 
>> master branch of the juno git repository could have a correspondig job 
>> called jupiter/juno/master. 
>>
>> Which is already a standard part of Jenkins 2, including GitHub and 
>> Bitbucket support. The only thing distinct from the proposal as it 
>> stands is that using the default set of plugins, the jobs are 
>> configured from a `Jenkinsfile` whereas you are proposing some YAML 
>> format—easily handled by an existing pair of extension points in 
>> `workflow-multibranch`. I have discussed this is another thread. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/920de1d8-976b-4dd0-af0e-d100cba8d50e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-18 Thread martinda
Hello Abhishek,

Thank you for sharing the proposal. I have added some comments for your 
consideration.

Best,
Martin

On Sunday, March 18, 2018 at 12:14:52 AM UTC-4, Abhishek Gautam wrote:
>
> Hello Everyone,
> @martinda, I have prepared my proposal for the project Simple Pull-Request 
> Job Plugin and shared it on the official GSOC website.
> The link to the project proposal: 
> https://docs.google.com/document/d/1cuC0AvQG3e4GCjIoCwK3J0tcJVAz1eNDKV8d_zXxlO8/edit?usp=sharing
>
> Please let me know if there is something that needs more clarification or 
> if I have missed something.
>
> Thank you.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9b69116d-833b-47ac-b9d1-d5b90d32b295%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-17 Thread Abhishek Gautam
Hello Everyone,
@martinda, I have prepared my proposal for the project Simple Pull-Request 
Job Plugin and shared it on the official GSOC website.
The link to the project proposal: 
https://docs.google.com/document/d/1cuC0AvQG3e4GCjIoCwK3J0tcJVAz1eNDKV8d_zXxlO8/edit?usp=sharing

Please let me know if there is something that needs more clarification or 
if I have missed something.

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/be44fb36-633a-4ef8-ac86-ee9b68abce8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-17 Thread Abhishek Gautam
Hello Jesse,

Thank you for your reply. Can you please provide the link to the thread 
where you have discussed the thing you mentioned.

On Friday, March 16, 2018 at 8:47:02 PM UTC+5:30, Jesse Glick wrote:
>
> On Thu, Mar 15, 2018 at 10:22 PM, martinda  > wrote: 
> > there there is another model which is to have a job that handles all the 
> pull requests of a git repo to a given branch. For example say there is a 
> git repository called jupiter/juno.git (jupiter is the name of the github 
> org or of the bitbucket project). Then the pull requests destined to the 
> master branch of the juno git repository could have a correspondig job 
> called jupiter/juno/master. 
>
> Which is already a standard part of Jenkins 2, including GitHub and 
> Bitbucket support. The only thing distinct from the proposal as it 
> stands is that using the default set of plugins, the jobs are 
> configured from a `Jenkinsfile` whereas you are proposing some YAML 
> format—easily handled by an existing pair of extension points in 
> `workflow-multibranch`. I have discussed this is another thread. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/b73501a6-64d3-480a-9b32-a3eb36523dc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-16 Thread martinda
Hello Abhishek,

I forgot to mention that we have office hours and all students are invited 
to participate and ask questions.
See https://jenkins.io/projects/gsoc/#office-hours for specific times.

Martin

On Friday, March 16, 2018 at 8:55:52 PM UTC-4, martinda wrote:
>
> On Friday, March 16, 2018 at 5:39:09 PM UTC-4, Abhishek Gautam wrote:
>>
>>
>> *@martinda *
>> While my research I came across something called EnvironmentContributor in 
>> Jenkins. Do you think that we can use this to pass required variables to 
>> the build processes?
>>
>
> Hi Abhishek,
>
> I have never used the EnvironmentContributor, but it would be one of the 
> possibilities. Injecting environment variables is convenient as all 
> sub-commands would inherit them (no explicit argument passing required), it 
> is an implementation detail which can be decided later.
>
> I suggest that you try the existing functionality (see Jesse's reply), and 
> this will help you to write your own project proposal. The existing plugins 
> that I think Jesse is referring to are 
> https://jenkins.io/doc/book/pipeline/multibranch/ and 
> https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#bitbucket.
>  
> The example projects that seem to go along with these plugins are 
> https://github.com/cloudbeers/multibranch-demo and 
> https://github.com/cloudbeers/multibranch-demo-lib
>
> Like Oleg said, the project idea description is not a specification, it 
> does not have to be followed to the letter.
>
> BR,
> Martin
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/d6f2918e-8e82-4fe9-a0b9-67c41cf72bb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-16 Thread martinda
On Friday, March 16, 2018 at 11:17:02 AM UTC-4, Jesse Glick wrote:
>
> you are proposing some YAML 
> format—easily handled by an existing pair of extension points in 
> `workflow-multibranch`. I have discussed this is another thread.
>

Hi Jesse,

I could be wrong but I have the impression that you are saying that this 
GSoC project idea is a bit too shallow on the quantity of code for GSoC. If 
that is the case, do you have recommendations to make it more substantial? 
Maybe some enhancements to the existing PR plugins?

Note that in addition to building the PR, the proposed plugin would have 
some automatic detection of reports like JUnit XML reports, HTML reports, 
summary display reports, etc. I also though about adding a default merge 
before build, a default of having PR builds triggered by the user (rather 
than automatic), some default way to set the build description, etc.

Thanks,
Martin

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/836a943a-ad4a-4044-bb1a-4053cfafa1a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-16 Thread martinda
On Friday, March 16, 2018 at 5:39:09 PM UTC-4, Abhishek Gautam wrote:
>
>
> *@martinda *
> While my research I came across something called EnvironmentContributor in 
> Jenkins. Do you think that we can use this to pass required variables to 
> the build processes?
>

Hi Abhishek,

I have never used the EnvironmentContributor, but it would be one of the 
possibilities. Injecting environment variables is convenient as all 
sub-commands would inherit them (no explicit argument passing required), it 
is an implementation detail which can be decided later.

I suggest that you try the existing functionality (see Jesse's reply), and 
this will help you to write your own project proposal. The existing plugins 
that I think Jesse is referring to are 
https://jenkins.io/doc/book/pipeline/multibranch/ and 
https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#bitbucket.
 
The example projects that seem to go along with these plugins are 
https://github.com/cloudbeers/multibranch-demo and 
https://github.com/cloudbeers/multibranch-demo-lib

Like Oleg said, the project idea description is not a specification, it 
does not have to be followed to the letter.

BR,
Martin

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9e0fec3a-9cfa-454e-9ce9-aa18e7d94bb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-16 Thread Abhishek Gautam
Hello Everyone,

Thank you for the clarifications.

Oleg Nenashev and James Nord thank you for the recommendation of *"Snake 
YAML".*

*@martinda *
While my research I came across something called EnvironmentContributor in 
Jenkins. Do you think that we can use this to pass required variables to 
the build processes?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/f1ec0dbc-7383-4af0-b321-6b15ae56b350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-16 Thread Jesse Glick
On Thu, Mar 15, 2018 at 10:22 PM, martinda  wrote:
> there there is another model which is to have a job that handles all the pull 
> requests of a git repo to a given branch. For example say there is a git 
> repository called jupiter/juno.git (jupiter is the name of the github org or 
> of the bitbucket project). Then the pull requests destined to the master 
> branch of the juno git repository could have a correspondig job called 
> jupiter/juno/master.

Which is already a standard part of Jenkins 2, including GitHub and
Bitbucket support. The only thing distinct from the proposal as it
stands is that using the default set of plugins, the jobs are
configured from a `Jenkinsfile` whereas you are proposing some YAML
format—easily handled by an existing pair of extension points in
`workflow-multibranch`. I have discussed this is another thread.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1_hTLxt8gJWdSi7%3Dto%2Bs0C19%3DQkMf5Y%3Dk8MeiXSohVLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-16 Thread James Nord
On Friday, March 16, 2018 at 10:12:33 AM UTC, Oleg Nenashev wrote:
>
>
> We just need to get input from YAML file and do things according to that.
>>
>> There is a java lib available to parse YAML file: 
>> https://github.com/FasterXML/jackson-dataformats-text/tree/master/yaml
>>
>
> According to my experience, I would rather recommend Snake YAML. Actually 
> we use FasterXML as well in many plugins... Generally we tend to package 
> such libs as API plugins, like this one: 
> https://github.com/jenkinsci/jackson2-api-plugin/blob/master/pom.xml . 
> Any library can be used.
>
>
I have been using snakeyaml in a few plugins - and It would probably 
benefit from being in a library plugin rather than pulled in - (but at the 
same time plugin dependency hell and well)

As for Jackson and YAML - I raised 2 JIRAs yesterday for that plugin 
JENKINS-50202  is the 
one for the YAML parser in dataformats and the related JENKINS-50201 
 for using jax-b 
annotations with jackson.

/James

>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/2601dc97-62c6-4801-8478-093b9da172b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-16 Thread Oleg Nenashev
Hi Abhishek,

+1 to what you say. Any comments about the project proposal will be 
appreciated. Actually we expect students to make their own proposals, so do 
not consider the project idea description as a specification.

We just need to get input from YAML file and do things according to that.
>
> There is a java lib available to parse YAML file: 
> https://github.com/FasterXML/jackson-dataformats-text/tree/master/yaml
>

According to my experience, I would rather recommend Snake YAML. Actually 
we use FasterXML as well in many plugins... Generally we tend to package 
such libs as API plugins, like this one: 
https://github.com/jenkinsci/jackson2-api-plugin/blob/master/pom.xml . Any 
library can be used.

Best regards,
Oleg

On Friday, March 16, 2018 at 3:22:31 AM UTC+1, martinda wrote:
>
> Hello Abhishek,
>
> Thanks for your interest in the Jenkins GSoC projects.
>
> > But then for every pull request administrator of the project needs to 
> create a job and then trigger a build. I think this will be cumbersome.
>
> Yes that is a model that I have seen. But there there is another model 
> which is to have a job that handles all the pull requests of a git repo to 
> a given branch. For example say there is a git repository called 
> jupiter/juno.git (jupiter is the name of the github org or of the bitbucket 
> project). Then the pull requests destined to the master branch of the juno 
> git repository could have a correspondig job called jupiter/juno/master. 
> There could be other models too.
>
> > pull request payloads have all of the above things, so we can extract 
> them from the pull request payload itself.
>
> I did not know this. How do the PR coordinates (source and destination 
> branches and repositories) get into the variables of a build if they are 
> not input parameters? Does this require the installation of plugins in 
> other systems?
>
> I would suggest that you consider preparing an application with your ideas 
> and suggestions in a google doc document.
>
> Best Regards,
> Martin d'Anjou
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/887ad6fc-63aa-4a1b-a655-2eefaa0a78a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-15 Thread martinda
Hello Abhishek,

Thanks for your interest in the Jenkins GSoC projects.

> But then for every pull request administrator of the project needs to create 
> a job and then trigger a build. I think this will be cumbersome.

Yes that is a model that I have seen. But there there is another model which is 
to have a job that handles all the pull requests of a git repo to a given 
branch. For example say there is a git repository called jupiter/juno.git 
(jupiter is the name of the github org or of the bitbucket project). Then the 
pull requests destined to the master branch of the juno git repository could 
have a correspondig job called jupiter/juno/master. There could be other models 
too.

> pull request payloads have all of the above things, so we can extract them 
> from the pull request payload itself.

I did not know this. How do the PR coordinates (source and destination branches 
and repositories) get into the variables of a build if they are not input 
parameters? Does this require the installation of plugins in other systems?

I would suggest that you consider preparing an application with your ideas and 
suggestions in a google doc document.

Best Regards,
Martin d'Anjou

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/ec0a2c5e-aa1b-4fd9-9ef2-8c06a8142267%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[GSOC 2018] [Student Introduction & query] Simple Pull-Request Job Plugin

2018-03-15 Thread Abhishek Gautam


Hello Everyone,


I am a 3rd-year Computer Science student from India. I found GSOC project 
Simple Pull-Request Job Plugin very interesting and want to work on it. 


But I have some concerns.


1. In project description, it's been stated as following


"Specifically, this plugin does not create jobs and does not detect 
branches automatically. The users are responsible for creating the jobs 
they need. This type of jobs have to be triggered via the existing methods 
(e.g. an http post to the Jenkins REST API, or via the UI)."


But then for every pull request administrator of the project needs to 
create a job and then trigger a build. I think this will be cumbersome.


Please let me know if I am wrong.


2. In project description, it's been stated that the pull-request job types 
have these input parameters:


   - 
   
   PR Number
   - 
   
   From Repository URL
   - 
   
   From Branch
   - 
   
   Target Repository URL
   - 
   
   Target Branch
   

But I think this should not be the case. I have done some research on 
payload GitHub sends through webhooks, and I found that pull request 
payloads have all of the above things, so we can extract them from the pull 
request payload itself.


I have gone through the code of below two plugins and I think they are 
pretty simple.


https://github.com/jenkinsci/bitbucket-plugin/tree/master/src/main/java/com/cloudbees/jenkins/plugins

and

https://github.com/jenkinsci/generic-webhook-trigger-plugin


We just need to get input from YAML file and do things according to that.

There is a java lib available to parse YAML file: 
https://github.com/FasterXML/jackson-dataformats-text/tree/master/yaml

Tutorial for above lib: 
https://dzone.com/articles/read-yaml-in-java-with-jackson


Please let me know what do you think.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/59ad2795-397e-4aaa-847f-8204c4daa289%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Query

2018-03-08 Thread Oleg Nenashev
I need more information to respond.
If you provide a link to the code, it would help a lot.

   - We provide hosting for open-source plugins, even if they integrate 
   with Enterprise tools
   - We do not host private-source plugins, at all
   - We do not host open-source plugins if they bundle proprietary 
   dependencies with incompatible licenses

BR, Oleg

On Thursday, March 8, 2018 at 11:49:23 AM UTC+1, Baptiste Mathus wrote:
>
> Hello,
>
> I _think_ not. We require plugins to be open-source, and that dependencies 
> are also available (free of charge) for contributors to work on it.
>
> We can be more specific if you provide additional details I guess.
>
> Cheers
>
>
> 2018-03-08 7:05 GMT+01:00 Rahul Pure >:
>
>> Hi,
>> i want to host my plugin but i used Data table ,i was purchase it so can 
>> i host my plugin ?
>>
>> Thanks
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/6d9e4205-a8ee-4388-942c-dd1fc6573e02%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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/771f5905-3524-4031-a6af-3075b43feef2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Query

2018-03-08 Thread Baptiste Mathus
Hello,

I _think_ not. We require plugins to be open-source, and that dependencies
are also available (free of charge) for contributors to work on it.

We can be more specific if you provide additional details I guess.

Cheers


2018-03-08 7:05 GMT+01:00 Rahul Pure :

> Hi,
> i want to host my plugin but i used Data table ,i was purchase it so can i
> host my plugin ?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/jenkinsci-dev/6d9e4205-a8ee-4388-942c-dd1fc6573e02%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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6yaAWy8Tw0m1W3ioBdOJAxP4ACM7dNPObJ_ZkUK_QSvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Query

2018-03-07 Thread Rahul Pure
Hi,
i want to host my plugin but i used Data table ,i was purchase it so can i 
host my plugin ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/6d9e4205-a8ee-4388-942c-dd1fc6573e02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Sending which radioBlock is selected as query param in validate request

2017-01-13 Thread vsejdini
Hi All,

I also have the exact same question as above.

Any help much appreciated.


Thanks.

Valon

On Monday, July 25, 2016 at 3:47:12 PM UTC-6, Jigar Mehta wrote:
>
> Hi All,
>
> I have posted a question here,
>
>
> http://stackoverflow.com/questions/38491324/what-need-to-be-passed-as-query-param-for-jenkins-jelly-fradioblock
>
> Basically, I need to have my Java Validate function to know which radio 
> block is selected. 
>
> Any help will be greatly appreciated.
>
> Thanks
> Jigar
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/d1c1221f-6053-424d-bb5e-815c2016cbd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Sending which radioBlock is selected as query param in validate request

2016-07-25 Thread Jigar Mehta
Hi All,

I have posted a question here,

http://stackoverflow.com/questions/38491324/what-need-to-be-passed-as-query-param-for-jenkins-jelly-fradioblock

Basically, I need to have my Java Validate function to know which radio 
block is selected. 

Any help will be greatly appreciated.

Thanks
Jigar

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a87e9d92-7a01-449a-be47-880664a3e2bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass a query parameter to the repeatable element's doFillXYZItems method.

2016-05-31 Thread aman poonia
Thanks Jesse. I didn't knew about @RelativePath before. It worked for me.

-- 
*With Regards:-*
*Aman Poonia*

+91-9952519644
+91-7838347444

On Wed, Jun 1, 2016 at 6:06 AM, Jesse Glick  wrote:

> On Mon, May 30, 2016 at 4:39 AM, mnpoonia 
> wrote:
> > the parameter is not part
> > of Repeatable property class but other class. ANy idea how to pass the
> > parameter from a form to the doFill of repeatable element.
>
> Did you try `@RelativePath`?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/FMGEtukT224/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr22u-MuVufEC1MELdygvtXQSE6e1ZfiGOM%2BxYzLuLKGvg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAAXGiWTAcwmuR%2BkYeqTX2-5ExWUxS2Dq2du6C8K06ctNRUpQ%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass a query parameter to the repeatable element's doFillXYZItems method.

2016-05-31 Thread Jesse Glick
On Mon, May 30, 2016 at 4:39 AM, mnpoonia  wrote:
> the parameter is not part
> of Repeatable property class but other class. ANy idea how to pass the
> parameter from a form to the doFill of repeatable element.

Did you try `@RelativePath`?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr22u-MuVufEC1MELdygvtXQSE6e1ZfiGOM%2BxYzLuLKGvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Pass a query parameter to the repeatable element's doFillXYZItems method.

2016-05-30 Thread mnpoonia
I am working on a plugin and trying to pass a queryparameter to the 
doFillXYZItems method of repeatable element. But the parameter is not part 
of Repeatable property class but other class. ANy idea how to pass the 
parameter from a form to the doFill of repeatable element.


Thanks,
Aman Poonia

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/d870ffa3-0da6-47d1-aeef-69522de2c0d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Query on Jenkins..URGENT!!!

2015-03-30 Thread Glenn J. Mason
Gawd, sorry everyone — that was supposed to be an off-list post to this dude. 
Teach me for replying to mail at midnight. Embarrass.

> On 30 Mar 2015, at 11:59 pm, Glenn J. Mason  wrote:
> 
> Hey Sarabjeet,
> 
> This mailing list is for the Jenkins developers — your question really should 
> go to the Jenkins mailing list. Don’t be surprised if you get an 
> angry/frustrated response from one of the devs here, especially as a really 
> quick Google finds this:
> 
> https://checkmarx.atlassian.net/wiki/display/KC/CxSuite+Jenkins+Plugin 
> 
> 
> You really need to do your research. It is especially unhelpful to mark this 
> email as “URGENT!” when you haven’t even started looking yourself.
> 
> For your future reference, the Jenkins mailing lists are here: 
> https://jenkins-ci.org/content/mailing-lists 
> 
> 
>> On 30 Mar 2015, at 11:18 pm, Sarabjeet Singh > > wrote:
>> 
>> Hello Team,
>>  
>> I have looking to use Jenkins for my project. Need some information which am 
>> not getting :
>>  
>>  
>> 1)  Is it possible to integrate Jenkins with CheckMarx(Secure Code 
>> review tool)?
>>  
>> 2)  If ,yes then how we can achieve it and how easy it is?
>>  
>> Will appreciate your quick reply.
>>  
>> Thanks in advance for your response.
>>  
>> Regards,
>> Sarabjeet Singh
>>  
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-dev+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/2f0f24f3-2bec-4543-ac06-09f1a6de3611%40googlegroups.com
>>  
>> .
>> For more options, visit https://groups.google.com/d/optout 
>> .
> 
> Glenn J. Mason
> gl...@glennji.com  | +61 428 973 111
> blog: http://goo.gl/2GPauW  | twitter: glennji
> 
> 
> 

Glenn J. Mason
gl...@glennji.com  | +61 428 973 111
blog: http://goo.gl/2GPauW  | twitter: glennji



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/C532BA42-061E-4E5E-9BF5-14F4063BEFFB%40glennji.com.
For more options, visit https://groups.google.com/d/optout.


Re: Query on Jenkins..URGENT!!!

2015-03-30 Thread Glenn J. Mason
Hey Sarabjeet,

This mailing list is for the Jenkins developers — your question really should 
go to the Jenkins mailing list. Don’t be surprised if you get an 
angry/frustrated response from one of the devs here, especially as a really 
quick Google finds this:

https://checkmarx.atlassian.net/wiki/display/KC/CxSuite+Jenkins+Plugin 


You really need to do your research. It is especially unhelpful to mark this 
email as “URGENT!” when you haven’t even started looking yourself.

For your future reference, the Jenkins mailing lists are here: 
https://jenkins-ci.org/content/mailing-lists 


> On 30 Mar 2015, at 11:18 pm, Sarabjeet Singh  wrote:
> 
> Hello Team,
>  
> I have looking to use Jenkins for my project. Need some information which am 
> not getting :
>  
>  
> 1)  Is it possible to integrate Jenkins with CheckMarx(Secure Code review 
> tool)?
>  
> 2)  If ,yes then how we can achieve it and how easy it is?
>  
> Will appreciate your quick reply.
>  
> Thanks in advance for your response.
>  
> Regards,
> Sarabjeet Singh
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-dev+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/2f0f24f3-2bec-4543-ac06-09f1a6de3611%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

Glenn J. Mason
gl...@glennji.com  | +61 428 973 111
blog: http://goo.gl/2GPauW  | twitter: glennji



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/C28685D9-55DC-40B5-BCA3-0941639099DC%40glennji.com.
For more options, visit https://groups.google.com/d/optout.


Query on Jenkins..URGENT!!!

2015-03-30 Thread Sarabjeet Singh


Hello Team,

 

I have looking to use Jenkins for my project. Need some information which 
am not getting :

 

 

1)  Is it possible to integrate Jenkins with CheckMarx(Secure Code 
review tool)?

 

2)  If ,yes then how we can achieve it and how easy it is?

 

Will appreciate your quick reply.

 

Thanks in advance for your response.

 

Regards,

Sarabjeet Singh

 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/2f0f24f3-2bec-4543-ac06-09f1a6de3611%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Query about jenkins source code

2014-06-17 Thread Kohsuke Kawaguchi
In the future, please direct questions like this to the jenkinsci-dev list.

As to your question, see
https://wiki.jenkins-ci.org/display/JENKINS/Action+and+its+family+of+subtypes
and hopefully this gets you to the right place.


2014-06-17 16:13 GMT-07:00 Shantaraman, Karthik :

>  Hi Kohsuke,
>
>  I am looking to extend the Jenkins Source code and adding an extra link
> to the side nav that contains the following set of links
>
>    Back to Dashboard 
>   *Status*
> 
>    Changes
> 
>   Workspace
> 
>   Build Now
> 
>   Delete Maven project
> 
>   Configure
> 
>   Modules
> 
>
>  Since the source code is very vast, I am unsure of where to look in the
> source code to find the existing code for these links. Is it possible for
> you to help me with it and provide a guidance on how to proceed?
>
>  Thanks,
>  Karthik
>



-- 
Kohsuke Kawaguchi

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Quick query re publishers

2013-08-12 Thread Richard Bywater
Doh! I thought I looked through all the available methods but must have
missed that one...

Yours sheepishly,
Richard :)


On Mon, Aug 12, 2013 at 9:02 PM, Sandell, Robert <
robert.sand...@sonymobile.com> wrote:

> build.getProject()
>
> ** **
>
> * *
>
> *Robert Sandell*
>
> Software Tools Engineer - SW Environment and Product Configuration
>
> Sony Mobile Communications
>
> ** **
>
> *From:* jenkinsci-dev@googlegroups.com [mailto:
> jenkinsci-dev@googlegroups.com] *On Behalf Of *Richard Bywater
> *Sent:* den 12 augusti 2013 10:55
> *To:* jenkinsci-dev@googlegroups.com
> *Subject:* Quick query re publishers
>
> ** **
>
> Hopefully a quick question - from a publisher's perform method, can you
> get access to the job that the build relates to?
>
> ** **
>
> Thanks
>
> Richard.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>  
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




RE: Quick query re publishers

2013-08-12 Thread Sandell, Robert
build.getProject()


Robert Sandell
Software Tools Engineer - SW Environment and Product Configuration
Sony Mobile Communications

From: jenkinsci-dev@googlegroups.com [mailto:jenkinsci-dev@googlegroups.com] On 
Behalf Of Richard Bywater
Sent: den 12 augusti 2013 10:55
To: jenkinsci-dev@googlegroups.com
Subject: Quick query re publishers

Hopefully a quick question - from a publisher's perform method, can you get 
access to the job that the build relates to?

Thanks
Richard.
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-dev+unsubscr...@googlegroups.com<mailto:jenkinsci-dev+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Quick query re publishers

2013-08-12 Thread Richard Bywater
Hopefully a quick question - from a publisher's perform method, can you get
access to the job that the build relates to?

Thanks
Richard.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Query about running different job steps on different slaves

2012-11-27 Thread Jason Swager
This SEEMS to be a pretty cool component, allowing for some features that 
I've been dying to have in Jenkins.  Unfortunately, I'm encountering a 
number of errors as I try to use the plugin.  I'll send those along 
directly rather than clutter up the group.

Also - I would strongly recommend publishing this component like other 
Jenkins components.  It would be a great component to have if it works like 
it seems to work.

On Sunday, November 25, 2012 2:08:21 PM UTC-8, Ivan Kalinin wrote:
>
> Sure, here it is:
> http://db.tt/reV8CziX
>
> On Sunday, November 25, 2012 8:07:15 PM UTC+4, Jason Swager wrote:
>>
>> Having troubles getting a build environment built up.  Could you publish 
>> the jpi so that it could be loaded directly into Jenkins?
>>
>> On Sunday, November 25, 2012 6:19:09 AM UTC-8, Ivan Kalinin wrote:
>>>
>>> Hi there! 
>>>
>>> So have u tried that thing? 
>>> If its broken or something is missing I can try 2 fix that.
>>>
>>> On Thursday, November 22, 2012 5:31:17 PM UTC+4, alok kumar wrote:

 Hey there,
 That would be great!! Can you please share it with me?
 Also, please let me know how to get it from github as I am new to this.

 Thanks a lot for the help.

 Alok

 On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin wrote:

> Hi!
>
> Actually, I've managed to develop a plugin for my own needs that 
> implements what you want. It allows to 'connect' a group of slaves to 
> form 
> a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() 
> (or wassitsname) to a different subslave of the group. It adds a build 
> step 
> 'run something on a sub-node' to delegate particular build step to a 
> sub-slave. The plugin even can create 'compound' slaves on-the-fly as a 
> cloud provider from real slaves provisioned in some other cloud.
>
> If that sounds promising to you, I can share it on github (currently 
> is privately-hosted) and you can try to tweak it up to you needs.
>
> Cheers,
> pupssman.
>
>
> On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote:
>>
>> Hi,
>> Can anyone let me know if it is possible to execute different build 
>> steps on different slaves from within a single job?
>> Is there any plugin that supports that? If not, what can be the 
>> workaround to achieve the same?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>> Alok
>>
>


Re: Query about running different job steps on different slaves

2012-11-25 Thread Ivan Kalinin
Sure, here it is:
http://db.tt/reV8CziX

On Sunday, November 25, 2012 8:07:15 PM UTC+4, Jason Swager wrote:
>
> Having troubles getting a build environment built up.  Could you publish 
> the jpi so that it could be loaded directly into Jenkins?
>
> On Sunday, November 25, 2012 6:19:09 AM UTC-8, Ivan Kalinin wrote:
>>
>> Hi there! 
>>
>> So have u tried that thing? 
>> If its broken or something is missing I can try 2 fix that.
>>
>> On Thursday, November 22, 2012 5:31:17 PM UTC+4, alok kumar wrote:
>>>
>>> Hey there,
>>> That would be great!! Can you please share it with me?
>>> Also, please let me know how to get it from github as I am new to this.
>>>
>>> Thanks a lot for the help.
>>>
>>> Alok
>>>
>>> On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin wrote:
>>>
 Hi!

 Actually, I've managed to develop a plugin for my own needs that 
 implements what you want. It allows to 'connect' a group of slaves to form 
 a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() 
 (or wassitsname) to a different subslave of the group. It adds a build 
 step 
 'run something on a sub-node' to delegate particular build step to a 
 sub-slave. The plugin even can create 'compound' slaves on-the-fly as a 
 cloud provider from real slaves provisioned in some other cloud.

 If that sounds promising to you, I can share it on github (currently is 
 privately-hosted) and you can try to tweak it up to you needs.

 Cheers,
 pupssman.


 On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote:
>
> Hi,
> Can anyone let me know if it is possible to execute different build 
> steps on different slaves from within a single job?
> Is there any plugin that supports that? If not, what can be the 
> workaround to achieve the same?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Alok
>

>>>

Re: Query about running different job steps on different slaves

2012-11-25 Thread Jason Swager
Having troubles getting a build environment built up.  Could you publish 
the jpi so that it could be loaded directly into Jenkins?

On Sunday, November 25, 2012 6:19:09 AM UTC-8, Ivan Kalinin wrote:
>
> Hi there! 
>
> So have u tried that thing? 
> If its broken or something is missing I can try 2 fix that.
>
> On Thursday, November 22, 2012 5:31:17 PM UTC+4, alok kumar wrote:
>>
>> Hey there,
>> That would be great!! Can you please share it with me?
>> Also, please let me know how to get it from github as I am new to this.
>>
>> Thanks a lot for the help.
>>
>> Alok
>>
>> On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin  wrote:
>>
>>> Hi!
>>>
>>> Actually, I've managed to develop a plugin for my own needs that 
>>> implements what you want. It allows to 'connect' a group of slaves to form 
>>> a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() 
>>> (or wassitsname) to a different subslave of the group. It adds a build step 
>>> 'run something on a sub-node' to delegate particular build step to a 
>>> sub-slave. The plugin even can create 'compound' slaves on-the-fly as a 
>>> cloud provider from real slaves provisioned in some other cloud.
>>>
>>> If that sounds promising to you, I can share it on github (currently is 
>>> privately-hosted) and you can try to tweak it up to you needs.
>>>
>>> Cheers,
>>> pupssman.
>>>
>>>
>>> On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote:

 Hi,
 Can anyone let me know if it is possible to execute different build 
 steps on different slaves from within a single job?
 Is there any plugin that supports that? If not, what can be the 
 workaround to achieve the same?

 Any help would be greatly appreciated.

 Thanks,
 Alok

>>>
>>

Re: Query about running different job steps on different slaves

2012-11-25 Thread Ivan Kalinin
Hi there! 

So have u tried that thing? 
If its broken or something is missing I can try 2 fix that.

On Thursday, November 22, 2012 5:31:17 PM UTC+4, alok kumar wrote:
>
> Hey there,
> That would be great!! Can you please share it with me?
> Also, please let me know how to get it from github as I am new to this.
>
> Thanks a lot for the help.
>
> Alok
>
> On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin 
> > wrote:
>
>> Hi!
>>
>> Actually, I've managed to develop a plugin for my own needs that 
>> implements what you want. It allows to 'connect' a group of slaves to form 
>> a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() 
>> (or wassitsname) to a different subslave of the group. It adds a build step 
>> 'run something on a sub-node' to delegate particular build step to a 
>> sub-slave. The plugin even can create 'compound' slaves on-the-fly as a 
>> cloud provider from real slaves provisioned in some other cloud.
>>
>> If that sounds promising to you, I can share it on github (currently is 
>> privately-hosted) and you can try to tweak it up to you needs.
>>
>> Cheers,
>> pupssman.
>>
>>
>> On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote:
>>>
>>> Hi,
>>> Can anyone let me know if it is possible to execute different build 
>>> steps on different slaves from within a single job?
>>> Is there any plugin that supports that? If not, what can be the 
>>> workaround to achieve the same?
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Thanks,
>>> Alok
>>>
>>
>

Re: Query about running different job steps on different slaves

2012-11-23 Thread Ivan Kalinin
Hi there again!

I managed to publish most of the plugin (without couple of still private 
plugin references) to the github over here:
https://github.com/pupssman/compound-slaves

If that builds and installs correctly, following stuff should happen:

   - there should be added Compound Slaves section to global config, 
   containing a configurable list of sub-slave roles
   - there should be a new slave creation option - Multi-node slave
   - and a new builder - Run something on a sub-node
   - and also a new cloud - CompoundCloud
   
All these configuration should be pretty self-explanatory (atleast, I hope 
so).

Any feedback and questions are greatly appreciated!

If the plugin is missing some features - start an issue in the tracker or 
create a pull request.

Best regards,
Ivan Kalinin.

On Thursday, November 22, 2012 5:31:17 PM UTC+4, alok kumar wrote:
>
> Hey there,
> That would be great!! Can you please share it with me?
> Also, please let me know how to get it from github as I am new to this.
>
> Thanks a lot for the help.
>
> Alok
>
> On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin 
> > wrote:
>
>> Hi!
>>
>> Actually, I've managed to develop a plugin for my own needs that 
>> implements what you want. It allows to 'connect' a group of slaves to form 
>> a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() 
>> (or wassitsname) to a different subslave of the group. It adds a build step 
>> 'run something on a sub-node' to delegate particular build step to a 
>> sub-slave. The plugin even can create 'compound' slaves on-the-fly as a 
>> cloud provider from real slaves provisioned in some other cloud.
>>
>> If that sounds promising to you, I can share it on github (currently is 
>> privately-hosted) and you can try to tweak it up to you needs.
>>
>> Cheers,
>> pupssman.
>>
>>
>> On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote:
>>>
>>> Hi,
>>> Can anyone let me know if it is possible to execute different build 
>>> steps on different slaves from within a single job?
>>> Is there any plugin that supports that? If not, what can be the 
>>> workaround to achieve the same?
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Thanks,
>>> Alok
>>>
>>
>

Re: Query about running different job steps on different slaves

2012-11-22 Thread Jason Swager
I would LOVE to see a plugin like this.  If you could send me github 
information after you make it available, I would be very grateful!
Thanks,
Jason

On Wednesday, November 21, 2012 10:40:36 PM UTC-8, Ivan Kalinin wrote:
>
> Hi!
>
> Actually, I've managed to develop a plugin for my own needs that 
> implements what you want. It allows to 'connect' a group of slaves to form 
> a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild() 
> (or wassitsname) to a different subslave of the group. It adds a build step 
> 'run something on a sub-node' to delegate particular build step to a 
> sub-slave. The plugin even can create 'compound' slaves on-the-fly as a 
> cloud provider from real slaves provisioned in some other cloud.
>
> If that sounds promising to you, I can share it on github (currently is 
> privately-hosted) and you can try to tweak it up to you needs.
>
> Cheers,
> pupssman.
>
> On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote:
>>
>> Hi,
>> Can anyone let me know if it is possible to execute different build steps 
>> on different slaves from within a single job?
>> Is there any plugin that supports that? If not, what can be the 
>> workaround to achieve the same?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>> Alok
>>
>

Re: Query about running different job steps on different slaves

2012-11-22 Thread alok kumar
Hey there,
That would be great!! Can you please share it with me?
Also, please let me know how to get it from github as I am new to this.

Thanks a lot for the help.

Alok

On Thu, Nov 22, 2012 at 12:10 PM, Ivan Kalinin  wrote:

> Hi!
>
> Actually, I've managed to develop a plugin for my own needs that
> implements what you want. It allows to 'connect' a group of slaves to form
> a so-called 'compound slave' - a virtual entity, proxying Slave.doBuild()
> (or wassitsname) to a different subslave of the group. It adds a build step
> 'run something on a sub-node' to delegate particular build step to a
> sub-slave. The plugin even can create 'compound' slaves on-the-fly as a
> cloud provider from real slaves provisioned in some other cloud.
>
> If that sounds promising to you, I can share it on github (currently is
> privately-hosted) and you can try to tweak it up to you needs.
>
> Cheers,
> pupssman.
>
>
> On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote:
>>
>> Hi,
>> Can anyone let me know if it is possible to execute different build steps
>> on different slaves from within a single job?
>> Is there any plugin that supports that? If not, what can be the
>> workaround to achieve the same?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>> Alok
>>
>


Re: Query about running different job steps on different slaves

2012-11-21 Thread Ivan Kalinin
Hi!

Actually, I've managed to develop a plugin for my own needs that implements 
what you want. It allows to 'connect' a group of slaves to form a so-called 
'compound slave' - a virtual entity, proxying Slave.doBuild() (or 
wassitsname) to a different subslave of the group. It adds a build step 
'run something on a sub-node' to delegate particular build step to a 
sub-slave. The plugin even can create 'compound' slaves on-the-fly as a 
cloud provider from real slaves provisioned in some other cloud.

If that sounds promising to you, I can share it on github (currently is 
privately-hosted) and you can try to tweak it up to you needs.

Cheers,
pupssman.

On Wednesday, November 21, 2012 6:18:29 PM UTC+4, alok kumar wrote:
>
> Hi,
> Can anyone let me know if it is possible to execute different build steps 
> on different slaves from within a single job?
> Is there any plugin that supports that? If not, what can be the workaround 
> to achieve the same?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Alok
>


Re: Query about running different job steps on different slaves

2012-11-21 Thread Jerry
In addition to Jason's suggestion, you might be able to use the Join Plugin 
(https://wiki.jenkins-ci.org/display/JENKINS/Join+Plugin) to achieve what 
you want.

StartingJob triggers Slave1Job and Slave2Job, then runs FinishingJob when 
both are complete.

-- Jerry


On Wednesday, November 21, 2012 9:18:40 AM UTC-5, alok kumar wrote:
>
> Hi,
> Can anyone let me know if it is possible to execute different build steps 
> on different slaves from within a single job?
> Is there any plugin that supports that? If not, what can be the workaround 
> to achieve the same?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Alok
>


Re: Query about running different job steps on different slaves

2012-11-21 Thread Linards Liepiņš
You are welcome to follow-up / vote for these JIRA issues :)

JENKINS-15397

2012/11/21 Jason Swager 

> As far as I know, there is no plugin that lets you run individual build
> steps on a different slave than the one that job originally started on.
>  But there ways to mimic this behavior.
>
> We do something like this in our own tests.  One job starts up; it has a
> parameter that indicates another slave on which to run parts of the test.
>  The original job (we call it the master job), then uses the Parameterized
> Trigger Plugin's build step plus the NodeLabel Plugin parameter to start
> another job (called a slave job) on the slave in question.  The ParamTrig
> build step can be set to wait until the slave job is finished running -
> that gives us sequential behavior: steps run on the master, then on the
> slave, then on the master.
>
> Sometimes, we have to have steps running in parallel on the master and
> slave.  In that case, the ParamTrig build step can also start the job on
> the slave then immediately return to its own steps.  Synching the two
> executions can be difficult and tricky
>
>
> On Wednesday, November 21, 2012 6:18:29 AM UTC-8, alok kumar wrote:
>>
>> Hi,
>> Can anyone let me know if it is possible to execute different build steps
>> on different slaves from within a single job?
>> Is there any plugin that supports that? If not, what can be the
>> workaround to achieve the same?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks,
>> Alok
>>
>


-- 
A.C. Linards L.


Re: Query about running different job steps on different slaves

2012-11-21 Thread Jason Swager
As far as I know, there is no plugin that lets you run individual build 
steps on a different slave than the one that job originally started on. 
 But there ways to mimic this behavior.

We do something like this in our own tests.  One job starts up; it has a 
parameter that indicates another slave on which to run parts of the test. 
 The original job (we call it the master job), then uses the Parameterized 
Trigger Plugin's build step plus the NodeLabel Plugin parameter to start 
another job (called a slave job) on the slave in question.  The ParamTrig 
build step can be set to wait until the slave job is finished running - 
that gives us sequential behavior: steps run on the master, then on the 
slave, then on the master.

Sometimes, we have to have steps running in parallel on the master and 
slave.  In that case, the ParamTrig build step can also start the job on 
the slave then immediately return to its own steps.  Synching the two 
executions can be difficult and tricky

On Wednesday, November 21, 2012 6:18:29 AM UTC-8, alok kumar wrote:
>
> Hi,
> Can anyone let me know if it is possible to execute different build steps 
> on different slaves from within a single job?
> Is there any plugin that supports that? If not, what can be the workaround 
> to achieve the same?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Alok
>


Query about running different job steps on different slaves

2012-11-21 Thread alok kumar
Hi,
Can anyone let me know if it is possible to execute different build steps
on different slaves from within a single job?
Is there any plugin that supports that? If not, what can be the workaround
to achieve the same?

Any help would be greatly appreciated.

Thanks,
Alok


Re: Query on Jenkins version - Jenkins ver. 1.427

2012-10-05 Thread Stephen Connolly
[CloudBees hat]

You might be after the RBAC plugin available in Jenkins Enterprise and
described at
http://jenkins-enterprise.cloudbees.com/docs/user-guide-bundle/rbac.html

It allows defining groups local to jenkins and even local to specific
folders within jenkins. Additionally roles can be assigned at specific
levels too.

[/CloudBees hat]

In general Jenkins assumes that groups and group information is provided by
the authentication provider (e.g. Unix auth / ActiveDirectory / LDAP / etc)

All the open source Authorization strategies that I am aware of assume that
the group information comes from the authentication provider. (see my
employer's hat for the non-open source exceptions)

-Stephen

On 5 October 2012 11:28, Manjunath D G  wrote:

> Hi All,**
>
> I have quick Query on Jenkins version - *Jenkins ver. 
> 1.427*<http://jenkins-ci.org/>which I’m using at my origination. Want to know 
> if we have a feasibility of
> add groups and enable permissions to groups like what we have in
> BuildForge? We would like to restrict normal users from doing admin jobs
> like, creating new project, deleting projects, stopping running projects,
> slave configuring …etc, but I see we have Project-based Matrix
> Authorization Strategy/ Matrix-based security/ Enabling UNIX
> Authentication. But looking like similar to what we have in Buildforge
> were you can create group and assign list of users to that specific group.
> 
>
> ** **
>
> ** **
> Is this feature is available in new version of Jenkins where I can
> download and install?
>
> Regards,
> Manju
>


Query on Jenkins version - Jenkins ver. 1.427

2012-10-05 Thread Manjunath D G


Hi All,

I have quick Query on Jenkins version - *Jenkins ver. 
1.427*<http://jenkins-ci.org/>which I’m using at my origination. Want to know 
if we have a feasibility of 
add groups and enable permissions to groups like what we have in 
BuildForge? We would like to restrict normal users from doing admin jobs 
like, creating new project, deleting projects, stopping running projects, 
slave configuring …etc, but I see we have Project-based Matrix 
Authorization Strategy/ Matrix-based security/ Enabling UNIX Authentication. 
But looking like similar to what we have in Buildforge were you can create 
group and assign list of users to that specific group.

 

 
Is this feature is available in new version of Jenkins where I can download 
and install?
 
Regards,
Manju


Re: Plugin dev query - upgrading parent pom woes

2012-03-20 Thread Wannes Sels
Just a guess: you're now using JUnit 4 instead of 3, and you need to use
@Test annotations instead of relying on testX method names.

On Tue, Mar 20, 2012 at 21:30, Simon Westcott  wrote:

> Hi,
>
> I'm the author the the Bulk Builder plugin and I'm trying to upgrade the
> parent pom version from 1.388 to at least version 1.409. So far I've
> increased the version number and changed the groupid to
> org.jenkins-ci.plugins.
>
> However when I run 'maven test' it can't find my unit tests anymore,
>
> ---
>  T E S T S
> ---
> Concurrency config is parallel='methods', perCoreThreadCount=true,
> threadCount=4, useUnlimitedThreads=false
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> Are there any other changes I need to make? I've checked a few other
> plugins, but nothing stands out for me.
>
> My pom file -
> https://github.com/swestcott/bulk-builder-plugin/blob/master/pom.xml
>
> Thanks,
> Simon
>


Plugin dev query - upgrading parent pom woes

2012-03-20 Thread Simon Westcott
Hi,

I'm the author the the Bulk Builder plugin and I'm trying to upgrade the
parent pom version from 1.388 to at least version 1.409. So far I've
increased the version number and changed the groupid to
org.jenkins-ci.plugins.

However when I run 'maven test' it can't find my unit tests anymore,

---
 T E S T S
---
Concurrency config is parallel='methods', perCoreThreadCount=true,
threadCount=4, useUnlimitedThreads=false
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

Are there any other changes I need to make? I've checked a few other
plugins, but nothing stands out for me.

My pom file -
https://github.com/swestcott/bulk-builder-plugin/blob/master/pom.xml

Thanks,
Simon