New Plugin: saltapi

24 views
Skip to first unread message

Christian McHugh

unread,
Sep 4, 2014, 11:40:33 PM9/4/14
to jenkin...@googlegroups.com
Hello all

I've created an build plugin to execute a SaltStack API call. 

I'm very much not a programmer, this was merely to scratch an itch. 
With this plugin you can define saltserver connection details, then perform saltfunctions (such as cmd.run) on the listed minions.

This has allowed us to move lots of jenkins jobs running python scripts, to jenkins itself.

Cheers

nicolas de loof

unread,
Sep 5, 2014, 3:25:37 AM9/5/14
to jenkin...@googlegroups.com
Would you like this plugin to be hosted on jenkinsci community github ?


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

Christian McHugh

unread,
Sep 5, 2014, 8:08:20 AM9/5/14
to jenkin...@googlegroups.com

Sure! I suspect others would find it useful.

Thanks

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

nicolas de loof

unread,
Sep 5, 2014, 8:15:23 AM9/5/14
to jenkin...@googlegroups.com
https://github.com/jenkinsci/saltstack-plugin

please create a wiki page for this plugin.

Christian McHugh

unread,
Sep 5, 2014, 10:04:05 AM9/5/14
to jenkin...@googlegroups.com

On Fri, Sep 5, 2014 at 7:14 AM, nicolas de loof <nicolas...@gmail.com> wrote:
please create a wiki page for this plugin.
 
Done. 
Where does the plugin information bit at the top come from? Do I need to register more info some place else?

nicolas de loof

unread,
Sep 5, 2014, 10:20:27 AM9/5/14
to jenkin...@googlegroups.com
copy header macro used on other plugin pages, the metrics are computed every ~24h from update center data, so will need you to release first version.


--

Christian McHugh

unread,
Sep 7, 2014, 11:04:43 PM9/7/14
to jenkin...@googlegroups.com
Hey hey,

I think I'm nearly there, but seem to have gotten hung up on deployment. Right now I'm running: 
mvn -Dresume=false release:prepare release:perform -B

and it dies at: 
Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.7:jar (attach-javadocs) on project saltstack: MavenReportException:
               Error while creating archive

The specific error appears to be: 
Exit code: 1 - /home/xian/work/saltstack-plugin/target/checkout/src/main/java/com/waytta/SaltAPIBuilder.java:31: error: reference not found
* XStream, so this allows you to use instance fields (like {@link #name})
^
... followed by some more javadoc bits.

At least the first error was contained in the javadoc bits created by the helloWorld example. Since I don't know anything about javadoc, I just deleted the boilerplate entirely. But the build still gets hung up there.

I've attempted to run "mvn clean; mvn release:clean" without getting any farther.

Does anyone have any ideas? Also, what is the mvn command to run this test locally without it attempting to do a full on release? I'd like to get this figured out before incrementing version numbers.


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

Christian McHugh

unread,
Sep 7, 2014, 11:43:47 PM9/7/14
to jenkin...@googlegroups.com
... and right after sending managed to figure out where it was choking. Build completed. 

Thanks all!
Reply all
Reply to author
Forward
0 new messages