Hi.I'm looking for pointers to go about testing a Jenkins plugin.
Happy to use mocks but would love to also write a real integration test against a Jenkins server, where the Jenkins server is using the plugin in question and is triggered by the test runner itself.Has anyone done this before or can point me to some examples that I can examine.Thanks.RegardsMani
--
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/01342628-e77f-423e-ba49-137a5939e1d3%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/m9mtZfrs2tM/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/CAO49JtED43carg7dm9TxAe9Pb%3DJX7W0LGtEaE%2BEWbPurHcH4vA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi Mark,Another question, (I haven't looked into the docs in details), can I create SimplePipeline and MultiPipeline projects just like I can create a FreeStyle project.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAGHtMW%3DPfdhuhGTZrfXU0N%2B1kOBLD%3DFLmuwy86M5te-8M1hOiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtE3x1%2Bo8Dt0cA7LpSZ9zQC2GjhQwrtzSdsWTWwg%2BdZFWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi Mark, all,Has anyone implemented the Project and Builder classes to convert project types likeFreeStyleProjectSimplePipelineMultiPipeline
What would be even better, if I could just load the config.xml files for the above project types via the project/builder classes - is there something close to this?
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAGHtMWnF6AZjVYibC%2B%3DEpCuOVhOBJimqt%2B8CjvcMViUBUSD8ew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEmRDePCNGk0%3DTvuLT91yaGsVyTi9sZO1QHiyR5SYm5DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Let me rephrase the question. When I said conversation I meant by hand. Manually written them so to reflect the job description on jenkins itself.I understand the classes are created so we programmatically rewrite them using the classes provided. However it would help if these building block classes could.load in configuration information at various levels in jenkins ie configuration of plugins or the jobs we run or the jenkinsfile itself. Just helps in writing and changing tests quicker and less translations between the real jenkins system and the test harness.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAGHtMWkej7YHqecSN2%3D00hTMT%3DL3Un89nEWnA4_zppGvPt1YwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.