Cool you're trying this! Welcome!

You should follow https://jenkins.io/doc/developer/tutorial/create/ then
IIUC you will want to choose the (as of now) choice number 2:

"2: remote -> io.jenkins.archetypes:hello-world-plugin (Skeleton of a
Jenkins plugin with a POM and an example build step.)"

FWIW, just tested it and it worked perfectly for me:

Démarré par l'utilisateur anonymous
Building in workspace
[...]/dev/tmp/2018-04-11T09h44m51+0200-/blah/work/workspace/fgfdffd
Hello, baptiste!
Finished: SUCCESS


In the end, it /should/ be the very same as what you typed, but well,
better follow the documentation if you're still learning the basics. For
you, and to give us the opportunity to improve/fix the documentation for
newcomers :).

Cheers

2018-04-11 5:46 GMT+02:00 Ronald Petty <ronald.pe...@gmail.com>:

> Hello,
>
> I could be living in the past, but I am trying to get the old `mvn
> hpi:...` to work and it seems it has changed.  I found a page saying we
> should use this method here:
>
> mvn archetype:generate -B -DarchetypeGroupId=io.jenkins.archetypes
> -DarchetypeArtifactId=hello-world-plugin -DarchetypeVersion=1.4
> -DartifactId=first
>
> mvn hpi:run
>
> Things start up, and I see the TODO plugin installed, but the Hello World
> Builder is now gone.  No errors appear on start in the log.
>
> Can someone point me to a fool proof hello-world (TODO) tutorial for
> Jenkins 2.115 development?
>
> I appreciate the help.
>
> Regards.
>
> Ron
>
> --
> 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/ms
> gid/jenkinsci-dev/b669b566-eb39-4b24-b76b-3965e14fa7e2%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/b669b566-eb39-4b24-b76b-3965e14fa7e2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CANWgJS503Q%2B9QQY_NJK_DttaPOGLNZneN-PQk9ngDjEhQFPm0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to