Hi Michael,
Was going to reply but Alex was faster. 
Let me know if you need any help with the R Plug-in too. I want to investigate 
making Scriptler support R scripts too. This way plug-ins that use Scriptler 
scripts would automatically support R too (e.g. active-choices :) ). Another 
idea is perhaps integrate Shiny with Jenkins.
Feel free to shoot an e-mail here or off-list in case you need anything.
CheersBruno 

 
      From: Alexandru Somai <somai.alexan...@gmail.com>
 To: Jenkins Developers <jenkinsci-dev@googlegroups.com> 
 Sent: Saturday, 2 July 2016 12:56 AM
 Subject: Re: R Plugin dependency
   
Hi,
To answer your question, I think that the correct groupId for the R plugin is 
org.biuno.r, so the dependency would be:
<dependency>
    <groupId>org.biouno.r</groupId>
    <artifactId>r</artifactId>
    <version>0.2</version>
</dependency>
But I don't know, isn't an easier way to achieve what you need? without writing 
a new plugin? Just a thought.
Regards,Alex
On Friday, July 1, 2016 at 1:23:36 PM UTC+3, micha...@gmail.com wrote:
Hello,
I am creating my first own plugin to have a common build step across my 
different jobs. Many of my jobs are running the same script (build, deploy 
artifacts, test...) and I want to unify that.This script is written in R and 
therefore I would like to run this R script in my own plugin. There is already 
a R Plugin that is usefull to write our own script in the job, therefore I 
would like to use this R plugin to run my R scripts inside my plugin. I saw 
that the first step is to have it as a dependency. How can I add it as a 
dependency in pom.xml?
I tried to write that in pom.xml:
  <repositories>
    <repository>
      <id>repo.jenkins-ci.org</id>
      <url>http://repo.jenkins-ci. org/public/</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>repo.jenkins-ci.org</id>
      <url>http://repo.jenkins-ci. org/public/</url>
    </pluginRepository>
  </pluginRepositories>


  <dependencies>
  <dependency>
    <groupId>org.jenkins-ci. plugins</groupId>
    <artifactId>r</artifactId>
    <version>0.2</version>
  </dependency>
</dependencies>

But it is not working, I have this error when I run mvn hpi:run in my plugin 
directory:
 [ERROR] Failed to execute goal on project michaelPlugin: Could not resolve 
dependencies for project michaelPlugin:michaelPlugin: hpi:1.0-SNAPSHOT: Failed 
to collect dependencies at org.jenkins-ci.plugins:r:jar: 0.2: Failed to read 
artifact descriptor for org.jenkins-ci.plugins:r:jar: 0.2: Could not transfer 
artifact org.jenkins-ci.plugins:r:pom: 0.2 from/to central 
(https://repo.maven.apache. org/maven2): sun.security.validator. 
ValidatorException: PKIX path building failed: sun.security.provider. certpath. 
SunCertPathBuilderException: unable to find valid certification path to 
requested target 
 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/b80a553a-9a97-45f7-9427-ca06e690b444%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/1169367420.626933.1467411512220.JavaMail.yahoo%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to