Re: Releasing plugin problem

2013-08-09 Thread Kannan Manickam
From your log I see that you only uploaded a snapshot and that is available
here:
http://repo.jenkins-ci.org/snapshots/org/jenkins-ci/plugins/shared-workspace/

Are you missing a step in the release?


On Thu, Aug 8, 2013 at 9:55 PM, Sapone mylniko...@gmail.com wrote:

 For a few days, trying to release my plugin, but it does not appears in:
 http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/

 Maven release log in attachement, it looks fine to me.
 What am I doing wrong?

 (Plugin repo: https://github.com/jenkinsci/shared-workspace-plugin)

 --
 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: build.getLog(int) from the end of the file?

2013-08-09 Thread Baptiste Mathus
OK, forget it. Should have read the doc a bit better:

@param maxLines The maximum number of log lines to return.  If the log
 * is bigger than this, only the most recent lines are returned.




2013/8/9 Baptiste MATHUS m...@batmat.net

 Hi all,

 I'm trying to retrieve the end of the build log. Basically through
 something like build.getLogFromTheEnd(int maxLines).

 Through build.getLog*() I can't see to find the right one to do it easily.
 As Jenkins already does it when displaying the console log and skipping
 its beginning, I thought I would be able to reuse something existing.

 So, two questions:

- Is there a better way than doing a getLogFile() and doing myself the
file manipulation for this use case?
- If I end up doing it, would there be any interest of considering a
PR to add this feature directly in hudson.model.Run along other getLog*
methods? Or is it already considered a bad idea?

 Thanks for you feedback

 --
 Baptiste




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

-- 
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.




s3-plugin

2013-08-09 Thread David Beer
Hi Guys 

I am trying to find out how to update the s3-plugin. I have submitted a 
pull request #17 on github for an update to support Region selection which 
solves JENKINS-18839 https://issues.jenkins-ci.org/browse/JENKINS-18839. 
This is an important update for us as we deploy various product artifacts 
to s3 to be used by cloudfront. Can I get either comiter access or can some 
cut a new release please.

Thanks 

David

-- 
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: s3-plugin

2013-08-09 Thread Francis Upton
Hi David, you are now a committer. Enjoy!


On Fri, Aug 9, 2013 at 5:37 AM, David Beer david.m.b...@gmail.com wrote:

 Hi Guys

 I am trying to find out how to update the s3-plugin. I have submitted a
 pull request #17 on github for an update to support Region selection which
 solves JENKINS-18839 https://issues.jenkins-ci.org/browse/JENKINS-18839.
 This is an important update for us as we deploy various product artifacts
 to s3 to be used by cloudfront. Can I get either comiter access or can some
 cut a new release please.

 Thanks

 David

 --
 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.






-- 
Cell 510 432 1589

-- 
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.




[kiuwan plugin] My plugin is not showing up in the update center

2013-08-09 Thread Juan Pablo Tejela
Hi!

I've checked http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/ 
and my plugin is there but update-center.json is not update. Do you think I 
need Kohsuke help??


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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [CPPTest] Compilation failed

2013-08-09 Thread Olivier Dagenais
Bonjour Adrien,

I just tried it and although I couldn't compile with JRE 1.7.0-11 (due to 
java.lang.NoClassDefFoundError: 
com/sun/mirror/apt/AnnotationProcessorFactory, which I think is fixed in 
later versions of the parent project), I was able to build cpptest-plugin 
with JDK 1.6.39-x64.  This is with Maven 3.0.4 on Windows 7 SP1.

I noticed that analysis-core version 1.50 was released less than a month 
ago, maybe you could try upgrading that?

HTH,
- Olivier

On Thursday, August 8, 2013 12:12:16 PM UTC-4, Adrien Lecharpentier wrote:

 Hello,

 I'm trying to give an improvement to cpptest-plugin but I can't compiled 
 it out of the box due to :

 Version of org.jvnet.hudson.main:maven-plugin:jar:1.395 is inconsistent 
 with org.jenkins-ci.main:maven-plugin:jar:1.410


 I've tried maven 2.2.1 and 3.0.5 as well as jdk 1.6 and 1.7.

 From a `dependency:tree`, I saw that 
 `org.jvnet.hudson.plugins:analysis-core:jar:1.21` try to use 
 `org.jvnet.hudson.main:maven-plugin:jar:1.395` and 
 `org.jenkins-ci.main:maven-plugin:jar:1.410`. Can't figure out how to fix 
 it. Exclusions has no effect on this issue. 

 Thanks for your help.

 -- 
 Adrien Lecharpentier 


-- 
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: Releasing plugin problem

2013-08-09 Thread Olivier Dagenais
Your log contains:

[INFO] Not generating release POMs


...and that is confirmed with no preparing release commit in GitHub and 
also the shared-workspace-1.0.1 tag still shows a POM that's not indicative 
of a release.  It also makes sense that Kannan noticed only a SNAPSHOT 
version was uploaded.

I don't know why Maven would say it's not generating the release POM, but 
that would be a good place to start investigating.

HTH,
- Oli

On Friday, August 9, 2013 12:55:24 AM UTC-4, Sapone wrote:

 For a few days, trying to release my plugin, but it does not appears in:
 http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/

 Maven release log in attachement, it looks fine to me.
 What am I doing wrong?

 (Plugin repo: https://github.com/jenkinsci/shared-workspace-plugin)


-- 
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: [CPPTest] Compilation failed

2013-08-09 Thread Adrien Lecharpentier
Hello Olivier,

thanks for the reply. My problem wasn't about the compilation, but with
hpi:run. My bad for the ad explanation.

I made a pull-request this morning. The analysis-core and analysis-test,
via the analysis-pom, were using org.jvnet.hudson.main:maven-plugin:1.395
until the version 1.33 of the analysis-pom. I upgraded those versions to
remove this dependency and it works. I didn't upgrade to the latest as the
plugin is made to be built against jenkins 1.410.

Thanks!
-- Adrien


2013/8/9 Olivier Dagenais olivier.dagen...@gmail.com

 Bonjour Adrien,

 I just tried it and although I couldn't compile with JRE 1.7.0-11 (due to 
 java.lang.NoClassDefFoundError:
 com/sun/mirror/apt/AnnotationProcessorFactory, which I think is fixed in
 later versions of the parent project), I was able to build cpptest-plugin
 with JDK 1.6.39-x64.  This is with Maven 3.0.4 on Windows 7 SP1.

 I noticed that analysis-core version 1.50 was released less than a month
 ago, maybe you could try upgrading that?

 HTH,
 - Olivier

 On Thursday, August 8, 2013 12:12:16 PM UTC-4, Adrien Lecharpentier wrote:

 Hello,

 I'm trying to give an improvement to cpptest-plugin but I can't compiled
 it out of the box due to :

 Version of org.jvnet.hudson.main:maven-**plugin:jar:1.395 is
 inconsistent with org.jenkins-ci.main:maven-**plugin:jar:1.410


 I've tried maven 2.2.1 and 3.0.5 as well as jdk 1.6 and 1.7.

 From a `dependency:tree`, I saw that 
 `org.jvnet.hudson.plugins:**analysis-core:jar:1.21`
 try to use `org.jvnet.hudson.main:maven-**plugin:jar:1.395` and
 `org.jenkins-ci.main:maven-**plugin:jar:1.410`. Can't figure out how to
 fix it. Exclusions has no effect on this issue.

 Thanks for your help.

 --
 Adrien Lecharpentier

  --
 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.






-- 
Adrien Lecharpentier

-- 
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.




Aw: Re: Releasing plugin problem

2013-08-09 Thread Christoph Kutzinski
Thats a normal log entry - I can also see it in successful releases. (I guess its related to the generateReleasePomsoption of the release plugin)



I would definitely pursue the path with the non-englishlocale, because its exactly the same sympton as I got, when trying to release in a German locale.

Run git status locally and see, if the output is english or not. If it isnt, this is most likely your problem.



Gesendet:Freitag, 09. August 2013 um 16:58 Uhr
Von:Olivier Dagenais olivier.dagen...@gmail.com
An:jenkinsci-dev@googlegroups.com
Betreff:Re: Releasing plugin problem


Your log contains:



[INFO] Not generating release POMs


...and that is confirmed with no preparing release commit in GitHub and also the shared-workspace-1.0.1 tag still shows a POM thats not indicative of a release. It also makes sense that Kannan noticed only a SNAPSHOT version was uploaded.



I dont know why Maven would say its not generating the release POM, but that would be a good place to start investigating.



HTH,

- Oli


On Friday, August 9, 2013 12:55:24 AM UTC-4, Sapone wrote:

For a few days, trying to release my plugin, but it does not appears in:
http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/

Maven release log in attachement, it looks fine to me.
What am I doing wrong?

(Plugin repo: https://github.com/jenkinsci/shared-workspace-plugin)





--
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: s3-plugin

2013-08-09 Thread David Beer
Have merged the pull request and marked the JIRA issue as fixed. How do I 
ask for or create release of the module?

On Friday, 9 August 2013 13:37:18 UTC+1, David Beer wrote:

 Hi Guys 

 I am trying to find out how to update the s3-plugin. I have submitted a 
 pull request #17 on github for an update to support Region selection which 
 solves JENKINS-18839 https://issues.jenkins-ci.org/browse/JENKINS-18839. 
 This is an important update for us as we deploy various product artifacts 
 to s3 to be used by cloudfront. Can I get either comiter access or can some 
 cut a new release please.

 Thanks 

 David


-- 
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.


makeStaplerProxy() returning 404

2013-08-09 Thread Ron Jenkins, Jr.
Anyone have any idea why makeStaplerProxy() would return 404 even though 
st:bind is pointing to a valid object? st:bind's output looks like this 
(where my @JavaScriptMethod is called print):

makeStaplerProxy('/$stapler/bound/e055be94-25cb-482a-80f4-c4ffa83feace','d1fb6d44-de41-490e-8d11-6a28bc0017ca',['print']);

-- 
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: Backporting for 1.509.3 started

2013-08-09 Thread Jesse Glick
On Fri, Aug 2, 2013 at 6:05 PM, Daniel Beck m...@beckweb.net wrote:
 Please note that JENKINS-8856 isn't closed, but Kohsuke's diagnostic addition 
 qualifies for LTS.

Any thoughts on whether
https://issues.jenkins-ci.org/browse/JENKINS-8856 can go into 1.509.3?

The proposed fixes would I guess be what I already included in
1.509.2.JENKINS-8856-diag builds:

https://github.com/jenkinsci/remoting/commit/68be3b1741d8e9e2da8e31491b1b558a8cdbd33b
https://github.com/jenkinsci/remoting/commit/a468502cf6eb6692fed23884464203d3c2e40305

There are some newer commits in this area which do not need to be in
LTS I think, but just FYI:

https://github.com/jenkinsci/remoting/commit/d0334ba25b503038e17488cdbd5dd9bb5cb8121c
https://github.com/jenkinsci/remoting/commit/aae9b457c15f88b7a8607978177f1673db2ec2ff

(As with the Stapler issue, we would need to decide whether to use the
latest remoting release, or create a remoting backport-only release.)

-- 
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: Backporting for 1.509.3 started

2013-08-09 Thread Jesse Glick
On Tue, Aug 6, 2013 at 5:37 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
 My vote though is to try and get the 3.1 support into the 1.509.3 LTS... or
 worst case 1.509.4.

Consensus on the meeting seemed to be to push this out to 1.509.4. I
committed a small change to the stable branch that at least produces a
meaningful error message if you try to run 3.1.0, rather than a
mysterious linkage error.

-- 
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: s3-plugin

2013-08-09 Thread David Beer
Thanks for this and your help. This must be one wiki page i missed.

On Friday, 9 August 2013 16:39:29 UTC+1, Francis UPTON IV wrote:

 This will tell you how to do it; it's something you as the committer have 
 to do. Also update the s3 wiki page with the release information (see the 
 version information section).

 https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins




 On Fri, Aug 9, 2013 at 8:26 AM, David Beer david@gmail.comjavascript:
  wrote:

 Have merged the pull request and marked the JIRA issue as fixed. How do I 
 ask for or create release of the module?


 On Friday, 9 August 2013 13:37:18 UTC+1, David Beer wrote:

 Hi Guys 

 I am trying to find out how to update the s3-plugin. I have submitted a 
 pull request #17 on github for an update to support Region selection which 
 solves JENKINS-18839https://issues.jenkins-ci.org/browse/JENKINS-18839. 
 This is an important update for us as we deploy various product artifacts 
 to s3 to be used by cloudfront. Can I get either comiter access or can some 
 cut a new release please.

 Thanks 

 David

  -- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Cell 510 432 1589 


-- 
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: makeStaplerProxy() returning 404

2013-08-09 Thread Ron Jenkins, Jr.
Not really sure why this was happening but I seem to have fixed it. It was 
working in IE9 but not in Chrome 30.0.1588.0 dev-m. Reinstalling Jenkins 
and/or running Chrome without extensions (and then with extensions again) 
caused this problem to go away.

On Friday, August 9, 2013 1:34:49 PM UTC-4, Ron Jenkins, Jr. wrote:

 Anyone have any idea why makeStaplerProxy() would return 404 even though 
 st:bind is pointing to a valid object? st:bind's output looks like this 
 (where my @JavaScriptMethod is called print):


 makeStaplerProxy('/$stapler/bound/e055be94-25cb-482a-80f4-c4ffa83feace','d1fb6d44-de41-490e-8d11-6a28bc0017ca',['print']);


-- 
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: Interest in implementing OSLC automation in Jenkins?

2013-08-09 Thread Kohsuke Kawaguchi


I am bit overwhelmed at the wall of text in that spec, but I suppose 
this is about making Jenkins implement a set of REST APIs so that 
Eclipse can talk to different servers without individually implementing 
an adapter?


If someone (you?) is interested in driving the implementation but need 
help for Jenkins expertise, we'd be happy to help.



On 08/06/2013 08:27 AM, Samuel Padgett wrote:

Is there any community interest in an Open Services for Lifecycle Collaboration
(OSLC) Automation plugin for Jenkins? Would anyone be interested in helping to
develop one?

_http://open-services.net/wiki/automation/_

Some of the scenarios for OSLC Automation are described here.

_http://open-services.net/wiki/automation/Automation-Scenarios/_

I work on the Eclipse Lyo project, and we have talked about doing something with
Jenkins. We already have an SDK and some samples that might help put together
something quickly.

_http://wiki.eclipse.org/Lyo/BuildingOSLC4J#Run_the_Automation_sample_provider_

Thanks,
Sam


--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/
Try Jenkins Enterprise, our professional version of Jenkins

--
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: Interest in implementing OSLC automation in Jenkins?

2013-08-09 Thread Samuel Padgett
On Friday, August 9, 2013 4:12:34 PM UTC-4, Kohsuke Kawaguchi wrote:


 I am bit overwhelmed at the wall of text in that spec, but I suppose 
 this is about making Jenkins implement a set of REST APIs so that 
 Eclipse can talk to different servers without individually implementing 
 an adapter? 


Yes, that's it. Eclipse or any OSLC Automation consumer. Here's a more 
accessible introduction, although it's still a draft:

http://open-services.net/wiki/automation/OSLC-Automation-Primer-2.0/
 
I see a few interesting scenarios:

(1) Jenkins as an automation provider

Automation consumers make requests to kick off builds in Jenkins and see 
status. For instance, I'm in my IDE and want to request a build.

(2) Jenkins as an automation consumer

Jenkins makes an automation request when a build completes, for instance, 
to kick off automated tests in another tool.

If someone (you?) is interested in driving the implementation but need 
 help for Jenkins expertise, we'd be happy to help. 


Thanks, I might be taking you up on that.

- Sam

-- 
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.




makeStaplerProxy() returns 404?

2013-08-09 Thread Ron Jenkins, Jr.
Anyone have any idea as to why makeStaplerProxy() would return 404 even 
though st:bind is pointing to a valid object? Running Jenkins 1.524 with 
no plugins (except the one I'm developing), my Jelly...

script type=text/javascript
var myProxyObject = st:bind value=${instance.proxyObject} /;
myProxyObject.print(this is a test, function(result) {
 document.getElementById(myProxyDiv).innerHTML = result.responseObject(); 
 
});
/script

...is generating this JS...

var myProxyObject = 
makeStaplerProxy('/$stapler/bound/e055be94-25cb-482a-80f4-c4ffa83feace','d1fb6d44-de41-490e-8d11-6a28bc0017ca',['print']);
myProxyObject.print(this is a test, function(result) {
document.getElementById(myProxyDiv).innerHTML = result.responseObject();  
});

...and Chrome is reporting the following three errors...

POST 
http://localhost:8080/$stapler/bound/e055be94-25cb-482a-80f4-c4ffa83feace/print 
404 (Not Found) prototype.js:1585
POST 
http://localhost:8080/$stapler/bound/2959dda4-38b9-4b4e-aa9b-44485626c20d/render
 
404 (Not Found) prototype.js:1585
POST 
http://localhost:8080/$stapler/bound/e8fedb43-48c1-45be-ad86-230831646482/render
 
404 (Not Found)

-- 
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.




git-client-plugin shared option

2013-08-09 Thread garcia . rodriguez . william
Hi,

I have sent a pull request for the git client plugin 
https://github.com/jenkinsci/git-client-plugin/pull/18

I am far to be a java developer: can someone take a look to this ?

I need it to be accepted to change some things in this related plugin: 
https://github.com/jenkinsci/git-plugin

Thanks for your help !

-- 
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.