Re: Plugin ratings in Jenkins 2.0

2015-11-30 Thread Rafael Ribeiro Rezende
Our current configuration is very simple. We use the backend-update-center2 to generate the Update Sites .json of our own plugins and that's it. Every Jenkins instance is then configured with both public and private Update Sites. The only

Plugin ratings in Jenkins 2.0

2015-11-30 Thread Rafael Ribeiro Rezende
I saw in this presentation that plugin ratings will be introduced in Jenkins 2.0. So far, Jenkins relies on the content generated by the *backend-update-center2*, which is basically (afaik) a summary of the plugins available in a specified artifact

Re: [workflow-plugin] Computer.currentComputer() returns null

2015-11-16 Thread Rafael Ribeiro Rezende
Thanks, Jesse! workspace.toComputer().getNode() ...solves the issue! On Thursday, November 12, 2015 at 7:31:42 PM UTC+1, Jesse Glick wrote: > > On Thu, Nov 12, 2015 at 9:45 AM, Rafael Ribeiro Rezende > <rafael...@gmail.com > wrote: > > Is it a bug? misconfiguration? or I'

Re: Migrating the Jenkins plugin archetype to Workflow

2015-09-04 Thread Rafael Ribeiro Rezende
I've noticed this change is available for maven-hpi-plugin 1.114 , but if I don't specify the plugin version maven will automatically use 1.114-cloudbees-1

Re: Unable to overwrite JAVA_HOME in Workflow

2015-08-07 Thread Rafael Ribeiro Rezende
, Rafael Ribeiro Rezende rafael...@gmail.com javascript: wrote: I need to get my JAVA_HOME environment variable from within my MyPublisher plugin's perform method. So, I do the following: EnvVars env = run.getEnvironment(listener); `Run.getEnvironment` produces

Re: Revisiting bundled plugins

2015-08-07 Thread Rafael Ribeiro Rezende
I work in an industry which is inherently conservative about adding new stuff into their environments. So, I honestly think that this question might not affect only newcomers. Since we started using Jenkins we have set up our own plugin hub for internal plugins (with backend-update-center)

Migrating the Jenkins plugin archetype to Workflow

2015-08-07 Thread Rafael Ribeiro Rezende
We wish every plugin to be compatible with Workflow, right? (at least those plugins that make sense to be there)... So, wouldn't be a good idea to have the Jenkins archetype https://github.com/jenkinsci/maven-hpi-plugin/tree/master/hpi-archetype also ready to use with Workflow? -- You

Re: Migrating the Jenkins plugin archetype to Workflow

2015-08-07 Thread Rafael Ribeiro Rezende
way would you change it? Have HelloWorldBuilder implement SimpleBuildStep? On 07.08.2015, at 17:13, Rafael Ribeiro Rezende rafaelrez...@gmail.com wrote: We wish every plugin to be compatible with Workflow, right? (at least those plugins that make sense to be there)... So, wouldn't

Unable to overwrite JAVA_HOME in Workflow

2015-08-06 Thread Rafael Ribeiro Rezende
Hello all, I need to get my JAVA_HOME environment variable from within my MyPublisher plugin's perform method. So, I do the following: @Override public void perform(Run?, ? run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException {

Plugin installed but not shown in the job configuration

2015-06-22 Thread Rafael Ribeiro Rezende
Hello everyone, We are experiencing a strange behavior in a plugin we developed: When we generate an .hpi and install the plugin manually via Jenkins interface (*Upload Plugin* in the *Advanced tab* of *Plugin Manager*), everything proceeds fine and the feature we created appears in the Job as

Re: Jenkins UX

2015-04-23 Thread Rafael Ribeiro Rezende
Hello Gus, The layout looks quite pleasing imo. I'm curious about the look-and-feel for the Workflow job-type. ;-) Anyway, I just would like to comment that the *sbt *logo you used there seems to come from a brazilian tv channel, not the scala build tool. So, unless the idea is to build some

EnvInject plugin always unstable in Pull Requests

2015-04-23 Thread Rafael Ribeiro Rezende
Hello, I've just made a Pull Request https://github.com/jenkinsci/envinject-plugin/pull/46 that solves the JENKINS-20334 https://issues.jenkins-ci.org/browse/JENKINS-20334 issue of *EnvInject*, but I'm stuck with a failing test in the internal Jenkins server: *Error Message*

Re: Update Jenkins parent POM to LTS version

2015-03-12 Thread Rafael Ribeiro Rezende
releases (for the next eight years or so). More docs: http://mojo.codehaus.org/versions-maven-plugin/version-rules.html On 12.03.2015, at 19:10, Rafael Ribeiro Rezende rafael...@gmail.com javascript: wrote: Hello, I have a use case in which I need to maintain a 1:1

Update Jenkins parent POM to LTS version

2015-03-12 Thread Rafael Ribeiro Rezende
Hello, I have a use case in which I need to maintain a 1:1 relationship between a corporate parent POM and a LTS Jenkins parent POM. The corporate POM in this case is a child of the Jenkins POM, plus attributes. To implement this, I'm planning to run automated daily checks in which the version

Re: Post build task plugin repository: Subversion or Github?

2015-02-09 Thread Rafael Ribeiro Rezende
get in contact with the original author? Am 05.02.2015 um 11:54 schrieb Rafael Ribeiro Rezende rafael...@gmail.com javascript:: Ops! Missed that :) And about the repository? Should github be the correct one? On Thursday, February 5, 2015 at 11:40:35 AM UTC+1, Ullrich Hafner wrote: From

Post build task plugin repository: Subversion or Github?

2015-02-05 Thread Rafael Ribeiro Rezende
Hi all, I wanted to have a look in the Post build task https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task plugin, and maybe touch it if necessary. The plugin page points to Subversion as source code, but after googling I found it also on github

Re: Post build task plugin repository: Subversion or Github?

2015-02-05 Thread Rafael Ribeiro Rezende
. Am 05.02.2015 um 11:35 schrieb Rafael Ribeiro Rezende rafael...@gmail.com javascript:: Hi all, I wanted to have a look in the Post build task https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task plugin, and maybe touch it if necessary. The plugin page points to Subversion

Re: New plugin: Play!Framework

2014-11-03 Thread Rafael Ribeiro Rezende
Just in case this plugin can be useful for someone, I made it available here (plus user guide): http://rafaelrezend.github.io/play-plugin-jenkins.html On Thursday, September 11, 2014 11:46:13 AM UTC+2, Rafael Ribeiro Rezende wrote: Any news here? Sorry for resurrecting this thread

Re: New plugin: Play!Framework

2014-08-16 Thread Rafael Ribeiro Rezende
of the git repository per convention is like artifactId-plugin Domi On 16 Aug 2014, at 00:37, Rafael Ribeiro Rezende rafaelrez...@gmail.com wrote: Thanks for pointing that out. I just noticed that the artifactId is actually play-autotest-plugin instead of the play-plugin I assumed at first due

Re: New plugin: Play!Framework

2014-08-16 Thread Rafael Ribeiro Rezende
. On 16.08.2014, at 14:57, Rafael Ribeiro Rezende rafaelrez...@gmail.com wrote: Agreed, but the old pom.xml already had the -plugin in its artifactId. If I remove it in this case, the ids won't match anymore. Ideas? On Aug 16, 2014 2:47 PM, d...@fortysix.ch d...@fortysix.ch wrote

New plugin: Play!Framework

2014-08-15 Thread Rafael Ribeiro Rezende
Hello everyone, I finally managed some time to finish and test the new Play plugin. The Play!Framework plugin is designed to work with every existing version of Play, from the first non-sbt-based Play!1.x to the latest versions of Activator

Re: New plugin: Play!Framework

2014-08-15 Thread Rafael Ribeiro Rezende
15.08.2014 um 14:59 schrieb Rafael Ribeiro Rezende rafaelrez...@gmail.com: Hello everyone, I finally managed some time to finish and test the new Play plugin. The Play!Framework plugin is designed to work with every existing version of Play, from the first non-sbt-based Play!1.x to the latest

Re: Jenkins post-build publishing is always performed on Master

2014-08-08 Thread Rafael Ribeiro Rezende
at 8:43 PM, Jesse Glick jgl...@cloudbees.com wrote: On Thu, Aug 7, 2014 at 10:29 AM, Rafael Ribeiro Rezende rafaelrez...@gmail.com wrote: Aren't the post-build steps expected to be executed in the same node as the build steps? All steps are run in the JVM on the master. If you want to do

Jenkins post-build publishing is always performed on Master

2014-08-07 Thread Rafael Ribeiro Rezende
Hello everyone, I'm developing a plugin that work as a post-build step which generates an Ant file at build-time, depending on the artifacts generated by the respective build steps, and execute it. This plugin extends the Recorder http://javadoc.jenkins-ci.org/hudson/tasks/Recorder.html. The

Jenkins jelly: refresh hetero-list after selection

2014-05-23 Thread Rafael Ribeiro Rezende
Hi all, I'm developing a Jenkins plugin (v1.555) and I have the following piece of jelly code: f:entry title=${%Framework Installation} select class=setting-input name=toolHome j:forEach var=inst items=${descriptor.installations} f:option

New plugin for Play!Framework

2014-04-04 Thread Rafael Ribeiro Rezende
Hello all, I'm about to finish a plugin to build Play!Framework projects from Jenkins. There is already an available implementation from Takafumi Ikeda that hasn't been maintained since some 3 years ago. Play!Framework changed a lot since then and Jenkins have grown up a lot as well. In