[Plugin Update] nexus-rundeck-plugin for Nexus v2.11.1-01

339 views
Skip to first unread message

Thibaut Mottet

unread,
Jan 16, 2015, 3:53:57 PM1/16/15
to rundeck...@googlegroups.com
Hey guys,

Just to let you know (because I don't find it on internet). I updated the nexus-rundeck-plugin for the last version of Nexus v2.11.1-01. Hope it help you!!

Name: nexus-rundeck-plugin
Description: This is a Nexus plugin that provides an "Option provider" for RunDeck.
Version: Rundeck v2.4.0 (and I think old version) - Nexus v2.11.1-01

Thibaut.

Sandeep Pidshetti

unread,
Jan 28, 2015, 6:05:43 PM1/28/15
to rundeck...@googlegroups.com
HI Thibaut,

Does this plugin reallyt works ?  It never worked for me. I tried to your latest version but still no success.  As a workaround solution,I have written a custom component to query Nexus which can translate Nexus response into JSON output so that Rundeck can parse it and display on the screen.

Thanks,
Sandeep

Carl Boberg

unread,
Jan 29, 2015, 3:51:45 AM1/29/15
to rundeck...@googlegroups.com
I had an older version working once. 
But now when I try it again all I ever get is a [] responce and Im pretty shure I have the URL correct....

MVH
---
Carl Boberg
Operations

Memnon Networks AB
Tegnérgatan 34, SE-113 59 Stockholm

Mobile: +46(0)70 467 27 12
www.memnonnetworks.com

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

Thibaut Mottet

unread,
Jan 29, 2015, 9:58:14 AM1/29/15
to rundeck...@googlegroups.com
Hi Sandeep,

I describe you all my configuration bellow and how to.

Required:
My version of Sanotype Nexus: 2.11.1-01 (you need to have this version for the plugin)
My version of Rundeck: 2.4.0-1
The plugin (I copied from my nexus) attached.

How to:
On  my Nexus application v2.11.1-01 (In my case I use a docker "sonatype/nexus" image, more information here: https://registry.hub.docker.com/u/sonatype/nexus/)

1 - Put the folder rundeck-nexus-plugin-2.11.1-01 (attached) in the folder plugin-repository/ of your Nexus app (or directly /sonatype-work/plugin-repository/ in my case). Your folder must be like (in my case): /sonatype-work/plugin-repository/rundeck-nexus-plugin-2.11.1-01/
2 - Restart your Nexus app
3 - Login to your Nexus app and go the menu "Administrator/Plugin Console" like bellow:
Images intégrées 2
4 - Normally you will have the rundeck plugin with the status: "activated", if it doesn't work it's status: "Broken" (it's not good)
5 - Now, test if you receive a JSON file enter the URL like below:
http://mynexus/service/local/rundeck/options/version?r=snapshots&g=com.compagny&a=myproject
Nexus App hostname: mynexus
Repository: snapshots
GroupId: com.compagny
Project: myproject

If you already deploy some snapshot version of your project on your Nexus app you will have a JSON like below:
[{"name":"1.0.3-SNAPSHOT (2015-01-23T15:45:41)","value":"1.0.3-SNAPSHOT"},{"name":"1.0.2-SNAPSHOT (2015-01-23T15:29:17)","value":"1.0.2-SNAPSHOT"},{"name":"1.0.1-SNAPSHOT (2015-01-21T11:15:12)","value":"1.0.1-SNAPSHOT"},{"name":"1.0-SNAPSHOT (2015-01-14T17:18:39)","value":"1.0-SNAPSHOT"}]
6 - OK, everything work, now we go to configure the Rundeck job.

On my Rundeck v2.4.0-1 app (same I use a docker):
1 - Edit your job 
2 - In the "Options" part click on "Add an option" like below:
Images intégrées 4

3 - Edit your option like below (Change in red): In the remote URL you put your URL we test before
Images intégrées 5

4 - Save your job and know you have this, you can select your version you want to deploy:
Images intégrées 6


Hope that will help you!

Thibaut.






--
You received this message because you are subscribed to a topic in the Google Groups "rundeck-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rundeck-discuss/mbXf27U7U9o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rundeck-discu...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Thibaut Mottet
thibaut...@gmail.com
38, rue de Bellefond
75009 Paris
FRANCE
+33 9 53 97 97 90
+33 6 23 07 00 69
rundeck-nexus-plugin-2.11.1-01.zip

Carl Boberg

unread,
Jan 30, 2015, 7:01:03 AM1/30/15
to rundeck...@googlegroups.com
Thanks a bunch! It turned out It was me messing up the url.... typical :P

I've always missed and example url in the readme on the github project for this plugin. I suggest you update the readme with the number 5 information from you email.  It will keep away screwups like mine :)

MVH
---
Carl Boberg
Operations

Memnon Networks AB
Tegnérgatan 34, SE-113 59 Stockholm

Mobile: +46(0)70 467 27 12
www.memnonnetworks.com

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.

Thibaut Mottet

unread,
Jan 30, 2015, 2:18:01 PM1/30/15
to rundeck...@googlegroups.com
You're welcome! :)

I udapted the Readme, hope it's clear -> https://github.com/moifort/nexus-rundeck-plugin

Thibaut.

Sandeep

unread,
Jan 30, 2015, 4:51:24 PM1/30/15
to rundeck...@googlegroups.com
 It is working now.  Thanks a lot for your help.  :)

Thanks,
Sandeep

Thibaut Mottet

unread,
Jan 30, 2015, 4:53:32 PM1/30/15
to rundeck...@googlegroups.com
It's a pleasure!

Thibaut Mottet

unread,
Feb 7, 2015, 11:14:05 AM2/7/15
to rundeck...@googlegroups.com
Hey Guys,

I updated my tutorial on my blog to use the plugin -> http://blog.mottet.tk/Nexus-rundeck-plugin


oriol....@globalzitro.com

unread,
Nov 23, 2016, 10:46:19 AM11/23/16
to rundeck-discuss
Hello Guys, 

I have a problem with nexus oss 3.0.0 and rundeck-nexus-plugin. When I try to install the plugin the nexus panel does not show the plugin and neither does any error. Any ideas
Can I help me please?
Reply all
Reply to author
Forward
0 new messages