The link to the javadoc
<http://javadoc.jenkins-ci.org/byShortName/hudson.tasks.BuildWrapper> is
also dead
and just like in the previous post for which you already have a ticket open
according to danielbeck, you have
Unknown macro: {@code static}.
I don't know any plugin that uses a BuildWrapper, that's why i asked. I
don't mind getting familiar with one. Just need a starting place.
On Friday, May 5, 2017 at 12:14:58 PM UTC-4, Robert Sandell wrote:
>
> There are plenty of examples beneeth the "Implementations" tap on the
> Extension Points page on the wiki
>
> https://wiki.jenkins-ci.org/display/JENKINS/Extension+points#Extensionpoints-hudson.tasks.BuildWrapper
> Pick a plugin that you are somewhat familiar with to start.
>
> On Fri, May 5, 2017 at 4:44 PM, Goran Dev <[email protected]
> <javascript:>> wrote:
>
>> Can you give me an example of a BuildWrapper please? Not familiar with it.
>>
>> Cheers, Goran.
>>
>> On May 5, 2017, 4:48 AM -0400, Robert Sandell <[email protected]
>> <javascript:>>, wrote:
>>
>> Answers inline
>>
>>
>> On Fri, May 5, 2017 at 9:09 AM, Goran Dev <[email protected]
>> <javascript:>> wrote:
>>
>>> I'm writing a plugin, it's already released as zap-plugin.
>>> GitHub.com/jenkinsci/zap-plugin
>>>
>>> On jenkins LTS, in a Job Configuration you have various tabs (sections)
>>> such as General, Source Code Management, Build Triggers, Build Environment,
>>> Bindings, Build, Post-build Actions.
>>>
>>> 1) is it possible for me to add a tab/section called "ZAP Environment"
>>> or no? If it's possible, how do I go about adding another section/tab.
>>>
>>
>> JopProperty <http://javadoc.jenkins-ci.org/hudson/model/JobProperty.html>
>> goes under General, SCM
>> <http://javadoc.jenkins-ci.org/hudson/scm/SCM.html> under Source Code
>> Management, Trigger
>> <http://javadoc.jenkins-ci.org/hudson/triggers/Trigger.html> under Build
>> Triggers, BuildWrapper
>> <http://javadoc.jenkins-ci.org/hudson/tasks/BuildWrapper.html> under
>> Build Environment etc.
>> Maybe a JobProperty with an <f:section title="${%ZAP Environment}"> would
>> add another tab I'm not sure.
>>
>>
>>>
>>> 2) under the tab Build, you click on the drop down and you can add your
>>> plugins build step which in my case is called Execute ZAP. Once it's added,
>>> how do prevent the user from adding another Execute ZAP build step.
>>>
>>
>> No, Build Steps are intended to be added as many as the user needs, IIRC
>> a Recorder or Publisher can only be added once for Freestyle, but that
>> "limitation" is gone for pipelines. Sounds like it is more like a
>> BuildWrapper that you want to do.
>>
>>
>>> Does that clarify it? If not, what else can I do to clarify the
>>> question. Thanks :)
>>>
>>> Cheers, Goran.
>>>
>>> On May 5, 2017, 2:31 AM -0400, Baptiste Mathus <[email protected]
>>> <javascript:>>, wrote:
>>>
>>> Please use the users list for such questions.
>>> If your question is about writing a plugin for this, I guess you need to
>>> be more specific.
>>>
>>> Cheers
>>>
>>>
>>> Le 5 mai 2017 8:21 AM, "JordanGS" <[email protected] <javascript:>>
>>> a écrit :
>>>
>>>
>>> 1. I can add my Job Build step which is called "Run ABC" from the
>>> drop down list, after it's added. How do i prevent the user from adding
>>> another Build Step "Run ABC"?
>>> 2. How do i add a job configuration. Not a Post build step or a
>>> build step but rather a some options which are above the build step? It
>>> would be a text box for example and a checkbox, both of which could
>>> accessible from a build step / post build step. Would it be possible
>>> have
>>> these become environment variables / globally accessible variables
>>> throughout this job's config.
>>>
>>> Thanks
>>>
>>> --
>>> 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 [email protected] <javascript:>.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-dev/e78dd486-3b40-406b-baf0-41a31193c3c9%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/jenkinsci-dev/e78dd486-3b40-406b-baf0-41a31193c3c9%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 a topic in the
>>> Google Groups "Jenkins Developers" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/jenkinsci-dev/L39Mu7drhDI/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected] <javascript:>.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS43Y3mgsaxxdLpgFAy90%3DFWwF5wD%2BF8zxwz0D9i5rk2Vw%40mail.gmail.com
>>>
>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS43Y3mgsaxxdLpgFAy90%3DFWwF5wD%2BF8zxwz0D9i5rk2Vw%40mail.gmail.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 [email protected] <javascript:>.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-dev/86679e96-0e85-4de2-be02-5e8dd97277cd%40Spark
>>>
>>> <https://groups.google.com/d/msgid/jenkinsci-dev/86679e96-0e85-4de2-be02-5e8dd97277cd%40Spark?utm_medium=email&utm_source=footer>.
>>>
>>>
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Robert Sandell
>> *Software Engineer*
>> *CloudBees Inc.*
>>
>> --
>> 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/L39Mu7drhDI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3Xm0AJRFsp-oefLpSBGrNi37OBJYEHcJ3fbPH5pzz9Hg%40mail.gmail.com
>>
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3Xm0AJRFsp-oefLpSBGrNi37OBJYEHcJ3fbPH5pzz9Hg%40mail.gmail.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 [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/666b5bf6-6d71-47cc-bb14-66619d121c7d%40Spark
>>
>> <https://groups.google.com/d/msgid/jenkinsci-dev/666b5bf6-6d71-47cc-bb14-66619d121c7d%40Spark?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Robert Sandell
> *Software Engineer*
> *CloudBees Inc.*
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/48453b35-1f60-4831-ba8d-8c851f4ce1fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.