On Wed, May 15, 2019 at 8:08 PM Nageswara Rao Palukuri Venkata < [email protected]> wrote:
> Hi, > > I am creating a Jenkins instance using init scripts. I am able to > configure all the required custom tools, extension and able to configure > the jobs related to my project. I want to install the Veracode plugin also > using the init script. > > Looking for any init script (groovy) to install Veracode plugin in Jenkins. > That feels like a complicated way to manage plugins, but it appears that others have done something similar in the past. Refer to https://stackoverflow.com/questions/31457623/jenkins-plugin-installation as one possible source of help, or the https://github.com/blacklabelops-legacy/jenkins/blob/master/imagescripts/initplugins.sh <https://github.com/blacklabelops-legacy/jenkins/blob/master/imagescripts/initplugins.sh#L22> which that page references. I've preferred to manage my Jenkins instances as Docker images so that I can specify the plugins to be installed in either a plugins.txt file or in the ref/plugins directory. That seems simpler to me than writing groovy script functions to perform plugin installations during startup. > Thanks > Nageswara Rao > > On Wed, May 15, 2019 at 9:46 PM Mark Waite <[email protected]> > wrote: > >> >> On Wed, May 15, 2019 at 7:37 PM Nageswara Rao Palukuri Venkata < >> [email protected]> wrote: >> >>> How can we upload a custom plugin file using groovy init script? >>> Is there any init groovy script is available to upload custom plugin >>> veracode ( >>> https://tools.veracode.com/integrations/Jenkins/bin/veracode-jenkins-plugin.hpi) >>> ? >>> >> >> I think you may be mixing terms in a way that needs more clarification >> before someone can answer your question. >> >> Since Veracode is a static analysis tool, I assume that you want to >> submit your source code or a portion of your source code to Veracode for >> analysis. You should probably refer to the Veracode help site which >> describes "Using the Veracode Jenkins Plugin >> <https://help.veracode.com/reader/PgbNZUD7j8aY7iG~hQZWxQ/_4G8gT1rhWMgVVtCI1C57A>".. >> That page seems to describe how you can use the Veracode plugin to submit >> source code for analysis by Veracode. >> >> I don't think you actually want an init groovy script, since they >> generally only run when the system starts, not when a Jenkins job runs and >> not when code is changed in a source code repository. >> >> I don't think you are creating a Jenkins plugin, so I assume you don't >> want to upload a custom plugin to Veracode. I assume you are creating your >> own product and you want to upload its source code to Veracode. >> >> Let me know if I've made a wrong assumption somewhere in that list of >> assumptions. >> >> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Users" 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-users/df6be5c5-fc5d-4937-8690-c8012db8daaf%40googlegroups.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/df6be5c5-fc5d-4937-8690-c8012db8daaf%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> Thanks! >> Mark Waite >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" 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-users/CAO49JtEyCZTKgoQ6FJoBXtZVZVohb4ve_wCuARJ2s8VFvBFcoA%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEyCZTKgoQ6FJoBXtZVZVohb4ve_wCuARJ2s8VFvBFcoA%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 Users" 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-users/CAPG8g7bgpx686UKjHaQsSv_ZpXkEr4owWCEOUNe0Jg6jHqUSCA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAPG8g7bgpx686UKjHaQsSv_ZpXkEr4owWCEOUNe0Jg6jHqUSCA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/CAO49JtFz%2BVuPY%2BTH12Sgcc0G8ApN6r-sLki6YS671OYTNv3e0g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
