Re: Job Configuration Code Questions

2017-05-09 Thread Christopher Orr
Javadoc: https://www.google.com/search?q=jenkins+buildwrapper

Implementations:
https://github.com/search?l=Java=user%3Ajenkinsci+buildwrapper=Code


On Fri, 5 May 2017, at 18:58, JordanGS wrote:
> The link to the javadoc 
>  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  > > 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  >> >, wrote:
> >>
> >> Answers inline 
> >>
> >>
> >> On Fri, May 5, 2017 at 9:09 AM, Goran Dev  >> > 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  
> >> goes under General, SCM 
> >>  under Source Code 
> >> Management, Trigger 
> >>  under Build 
> >> Triggers, BuildWrapper 
> >>  under 
> >> Build Environment etc.
> >> Maybe a JobProperty with an  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  >>> >, 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"  
> >>> 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 jenkinsci-de...@googlegroups.com .
> >>> To view this discussion on the web visit 
> >>> https://groups.google.com/d/msgid/jenkinsci-dev/e78dd486-3b40-406b-baf0-41a31193c3c9%40googlegroups.com
> >>>  
> >>> 
> >>> .
> >>> 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 
> >>> 

Re: Job Configuration Code Questions

2017-05-05 Thread JordanGS
The link to the javadoc 
 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  > 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 > >, wrote:
>>
>> Answers inline 
>>
>>
>> On Fri, May 5, 2017 at 9:09 AM, Goran Dev > > 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  
>> goes under General, SCM 
>>  under Source Code 
>> Management, Trigger 
>>  under Build 
>> Triggers, BuildWrapper 
>>  under 
>> Build Environment etc.
>> Maybe a JobProperty with an  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 >> >, 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"  
>>> 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 jenkinsci-de...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-dev/e78dd486-3b40-406b-baf0-41a31193c3c9%40googlegroups.com
>>>  
>>> 
>>> .
>>> 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 
>>> jenkinsci-de...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS43Y3mgsaxxdLpgFAy90%3DFWwF5wD%2BF8zxwz0D9i5rk2Vw%40mail.gmail.com
>>>  
>>> 

Re: Job Configuration Code Questions

2017-05-05 Thread Robert Sandell
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  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 ,
> wrote:
>
> Answers inline
>
>
> On Fri, May 5, 2017 at 9:09 AM, Goran Dev 
> 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 
> goes under General, SCM
>  under Source Code
> Management, Trigger
>  under Build
> Triggers, BuildWrapper
>  under
> Build Environment etc.
> Maybe a JobProperty with an  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 , 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"  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 jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-dev/e78dd486-3b40-406b-baf0-41a31193c3c9%40googlegroups.com
>> 
>> .
>> 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/to
>> pic/jenkinsci-dev/L39Mu7drhDI/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/CANWgJS43Y3mgsaxxdLpgFAy90%3DFWwF5wD%
>> 2BF8zxwz0D9i5rk2Vw%40mail.gmail.com
>> 
>> .
>> 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/ms
>> gid/jenkinsci-dev/86679e96-0e85-4de2-be02-5e8dd97277cd%40Spark
>> .
>>
>>
>> For 

Re: Job Configuration Code Questions

2017-05-05 Thread Goran Dev
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 , wrote:
> Answers inline
>
>
> On Fri, May 5, 2017 at 9:09 AM, Goran Dev  (mailto:developer.go...@gmail.com)> 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  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  > (mailto:m...@batmat.net)>, 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"  > > (mailto:developer.go...@gmail.com)> a écrit :
> > > > 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"?
> > > > 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 jenkinsci-dev+unsubscr...@googlegroups.com 
> > > > (mailto:jenkinsci-dev+unsubscr...@googlegroups.com).
> > > > 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_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 
> > > jenkinsci-dev+unsubscr...@googlegroups.com 
> > > (mailto:jenkinsci-dev+unsubscr...@googlegroups.com).
> > > 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_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 
> > (mailto:jenkinsci-dev+unsubscr...@googlegroups.com).
> > To view this discussion on the web visit 
> > 

Re: Job Configuration Code Questions

2017-05-05 Thread Robert Sandell
Answers inline


On Fri, May 5, 2017 at 9:09 AM, Goran Dev  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 
goes under General, SCM 
under Source Code Management, Trigger
 under Build
Triggers, BuildWrapper
 under Build
Environment etc.
Maybe a JobProperty with an  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 , 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"  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 jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/jenkinsci-dev/e78dd486-3b40-406b-baf0-41a31193c3c9%40googlegroups.com
> 
> .
> 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
> jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/CANWgJS43Y3mgsaxxdLpgFAy90%
> 3DFWwF5wD%2BF8zxwz0D9i5rk2Vw%40mail.gmail.com
> 
> .
> 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/86679e96-0e85-4de2-be02-5e8dd97277cd%40Spark
> 
> .
>
> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3Xm0AJRFsp-oefLpSBGrNi37OBJYEHcJ3fbPH5pzz9Hg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Job Configuration Code Questions

2017-05-05 Thread Goran Dev
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.

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.

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 , 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"  (mailto:developer.go...@gmail.com)> a écrit :
> > 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"?
> > 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 jenkinsci-dev+unsubscr...@googlegroups.com 
> > (mailto:jenkinsci-dev+unsubscr...@googlegroups.com).
> > 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_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 
> jenkinsci-dev+unsubscr...@googlegroups.com 
> (mailto:jenkinsci-dev+unsubscr...@googlegroups.com).
> 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_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/86679e96-0e85-4de2-be02-5e8dd97277cd%40Spark.
For more options, visit https://groups.google.com/d/optout.


Re: Job Configuration Code Questions

2017-05-05 Thread Baptiste Mathus
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"  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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/jenkinsci-dev/e78dd486-3b40-406b-baf0-41a31193c3c9%40googlegroups.com

.
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/CANWgJS43Y3mgsaxxdLpgFAy90%3DFWwF5wD%2BF8zxwz0D9i5rk2Vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Job Configuration Code Questions

2017-05-05 Thread JordanGS

   
   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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/e78dd486-3b40-406b-baf0-41a31193c3c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.