Re: Proposal: add pull request message info to GitChangeSet

2017-09-18 Thread Jesse Glick
On Mon, Sep 18, 2017 at 12:35 PM, Joan Friedman
 wrote:
> We have a use case for adding a comment to Atlassian Pull Requests when
> Jenkins starts a build including one.

Automatic when using an appropriate branch source, such as for BitBucket.

-- 
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/CANfRfr31OvCGoNBQR-EMk3Do6VtU%3DHC%2BFAjEZSds0tCt9v5F6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Proposal: add pull request message info to GitChangeSet

2017-09-18 Thread Joan Friedman
We have a use case for adding a comment to Atlassian Pull Requests when 
Jenkins starts a build including one. To do this, we would like to use 
jenkins' changesets, rather than drop into the commandline using git and 
awk. Currently, this information is ignored when GitChangeSet parses a 
commit. Since there is no extension point available for GitChangeSet, my 
idea is to add fields to GitChangeSet for the pull request id and 
from-branch, and add a few lines of parsing to find this information when 
it exists and set the fields; then submit the proposes changes. Is that the 
best way to go about it, or is there a better way? It would be more generic 
to soak in any intermediate lines with text, but that could add a lot of 
weight. 

There was a discussion of a related question in topic ChangeLog as list of 
Pull Requests 
, 
but it didn't seem to go anywhere that would help with this use case.

thanks in advance



-- 
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/7ca0d3de-97d2-4830-9331-2ad1cd39268e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can a nested Jelly config figure out whether it's in a Build or Post Build?

2017-09-18 Thread Jesse Glick
On Fri, Sep 15, 2017 at 5:55 PM, 'Alexandra Goultiaeva' via Jenkins
Developers  wrote:
> I guess to make it backward compatible I could still keep the old field

The developer docs includes a page on using `readResolve` and the
like, incl. testing with `@LocalData`.

> Do you know, apart from the overall download count, if there is any way to
> check if features are being used?

I am afraid not.

-- 
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/CANfRfr2ccc7RZa91eeiKomAXrusJ7%2BbKTozrrmRhpvBuHpFWTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Start in creating a new plugin

2017-09-18 Thread Amr Osama

Thanks alot now i want to debugs the hello world plugin to jenkins using 
eclipse
i run this command as in documentation mvnDebug hpi:run this error message 
appear in the command line
Listening for transport dt_socket at address: 8000
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - 
expect
ed >JDWP-Handshake<
i read that i must set debugger option in eclipse to port 8000 but i do not 
know how to do that , so please help.
thank you again.
On Sunday, September 17, 2017 at 5:17:12 PM UTC+2, slide wrote:
>
> If you haven't executed maven before, then the .m2 directory probably 
> won't exist. You can create the .m2 directory in the %USERPROFILE% 
> directory, %USERPROFILE% is a variable, you can put it into Windows 
> Explorer or the command line and it will resolve to the correct location 
> (e.g., in the command line you can run dir %USERPROFILE% and it will list 
> the contents of the actual directory where the user profile is located). 
>
> For the second item, it looks like you aren't inside the directory where 
> your plugin resides. You need to cd to that directory and then run the 
> command.
>
> On Sun, Sep 17, 2017 at 8:10 AM Amr Osama  > wrote:
>
>> First of all i want to create a jenkins plugin using eclipse having mvn 
>> 3.5 installed and jenkins 1.651.3 , and i just went throw you documentation 
>> , i cant find the first step which says 
>> to put some code in this path (Windows users will find them in 
>> %USERPROFILE%\.m2\settings.xml), 
>> i cant find this path , secondly the step after is to write this command $ 
>> mvn -DdownloadSources=true -DdownloadJavadocs=true 
>> -DoutputDirectory=target/eclipse-classes 
>> -Declipse.workspace=/path/to/workspace eclipse:eclipse 
>> eclipse:configure-workspace it gives me error which i will copy now
>>
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-eclipse-plugin:2.1
>> 0:eclipse (default-cli): Goal requires a project to execute but there is 
>> no POM
>> in this directory (C:\Users\aelmetwa). Please verify you invoked Maven 
>> from the
>> correct directory. -> [Help 1]
>> so please if any body know the solution for this issue please answer.
>> P.S i am new to windows OS.
>> 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-de...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/63164a7d-b4f6-4150-a683-8c1b6afa7c51%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/45dbcf85-b5be-475b-9c37-046e14d53e12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: access jenkins from remote nginx

2017-09-18 Thread Daniel Beck
Please don't ask user questions on the developers list.

> On 18. Sep 2017, at 10:14, pritha ghosh  wrote:
> 
> Hi, 
> 
> My Jenkins server and nginx server is in 2 different machine in the same 
> intranet. the nginx web server is exposed to the internet via a domain name. 
> to access Jenkins from /internet I need to add the Jenkins url as proxy pass 
> in the nginx host config file
> but it is not working
> 
> If I give proxy passvalue as ip of Jenkins server:8080/login?from=%2F
> the I can see the login page without any stylesheet
> any idea why?
> 
> Thanks,
> Pritha
> 
> 
> -- 
> 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/434a6687-d43d-4b3c-995d-3c1525819df5%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/2C0B6581-E992-439B-B43B-7CD649953D48%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


access jenkins from remote nginx

2017-09-18 Thread pritha ghosh
Hi, 

My Jenkins server and nginx server is in 2 different machine in the same 
intranet. the nginx web server is exposed to the internet via a domain 
name. to access Jenkins from /internet I need to add the Jenkins url as 
proxy pass in the nginx host config file
but it is not working

If I give proxy passvalue as ip of Jenkins server:8080/login?from=%2F
the I can see the login page without any stylesheet
any idea why?

Thanks,
Pritha

-- 
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/434a6687-d43d-4b3c-995d-3c1525819df5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.