ordinal controls which order the extension gets added to the list of extensions.
I don't think you are looking at the right class, since JobPropertyDescriptor doesn't seem to have anything todo with triggers. I would guess your looking for something extending https://javadoc.jenkins.io/hudson/tasks/BuildTrigger.html or ReverseBuildTrigger (based on the docs) If you inspect the source, you usually can tell the full class name Gavin On Mon, Jan 20, 2020 at 7:43 PM liuweiGL <liuwei89...@gmail.com> wrote: > [image: QQ截图20200121113958.png] > > [image: QQ截图20200121114210.png] > > -- > 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/bd72f850-25f0-4e00-9ce0-c8ff81f70354%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/bd72f850-25f0-4e00-9ce0-c8ff81f70354%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAG%3D_Duu%2BdE-XG_DXmForKTJPnzUhFK8R3mUSZ-LCp-PkUCanqw%40mail.gmail.com.