By JENKINS-22700 what do you mean? I couldn't get it. On Wed, Apr 25, 2018 at 10:51 AM, mManage mail <[email protected]> wrote:
> Thanks for the reply. I am unaware of the Jenkins remote API. Can you > please let me know what it is? Also can you please let me know the path > where to find the xml warnings file. I could find it inside my build folder. > > On Wed, Apr 25, 2018 at 1:35 AM, Ullrich Hafner <[email protected]> > wrote: > >> You can use Jenkins remote API. (Or use the xml warnings file in the >> build folder of Jenkins) >> >> Errors are not yet reported, see JENKINS-22700. >> >> Am 24.04.2018 um 14:20 schrieb mManage mail <[email protected]>: >> >> I solved the issue. There is no need of Clang scan build step. It >> requires only the post build action "Scan for compiler warnings" to capture >> the warnings. I have selected the parser type as "Clang LLVM" and got a >> trend graph for each build. But is there a way to get this in a json or xml >> file saved in workspace? Also this is only for warnings. If there is any >> compiler error, will we be able to get the report similar to this? >> >> <Screen Shot 2018-04-24 at 5.40.52 PM.png> >> >> On Tue, Apr 24, 2018 at 4:20 PM, Ullrich Hafner <[email protected] >> > wrote: >> >>> I can’t help with xcode but there is again a hint from the tool, did you >>> try that? This message is printed with purpose! >>> >>> xcodebuild: error: The flag -scheme or -xctestrun is required when >>> specifying -derivedDataPath. >>> >>> >>> >>> Am 24.04.2018 um 12:45 schrieb mManage mail <[email protected]>: >>> >>> Ok i got it, I installed clang and configured the path in >>> Jenkins->Manage but getting the below error now while running the job, >>> attaching the screenshot. Could you please help? >>> >>> xcodebuild: error: The flag -scheme or -xctestrun is required when >>> specifying -derivedDataPath. >>> scan-build: Removing directory >>> '/Users/soe-admin/.jenkins/workspace/iOSTemplateJob/clangScanBuildReports/2018-04-24-161113-47610-1' >>> because it contains no reports. >>> scan-build: No bugs found. >>> XCODEBUILD ERROR >>> Build step 'Clang Scan-Build' marked build as failure >>> >>> >>> >>> <Screen Shot 2018-04-24 at 4.14.47 PM.png> >>> >>> >>> >>> >>> On Tue, Apr 24, 2018 at 3:43 PM, mManage mail <[email protected]> w >>> rote: >>> >>>> I installed warnings plugin and clang scan-build plugin. I added clang >>>> scan-build as a build step and entered the target and output folder >>>> as clangScanBuildReports. Then i added a post build action to scan compiler >>>> warnings. Please refer to the attached screenshot. I am getting the >>>> following error >>>> " >>>> >>>> FATAL: Unable to locate the clang scan-build installation named 'null'. >>>> Please confirm a clang installation named 'null' is defined in the jenkins >>>> global config and on each slave if the location is different than the >>>> master. >>>> Build step 'Clang Scan-Build' marked build as failure >>>> [WARNINGS] Skipping publisher since build result is FAILURE >>>> >>>> <Screen Shot 2018-04-24 at 3.42.09 PM.png> >>>> " >>>> >>>> On Tue, Apr 24, 2018 at 1:58 PM, Ullrich Hafner <[email protected] >>>> om> wrote: >>>> >>>>> What did you try so far? Did you read the description in the wiki? >>>>> >>>>> >>>>> Am 24.04.2018 um 09:44 schrieb Vidhya Sri Soundararajan < >>>>> [email protected]>: >>>>> >>>>> Thank you so much for the reply. Can you please elaborate your answer? >>>>> I have installed warnings plugin in jenkins. How to use it for my job and >>>>> how to parse the result using Clang? >>>>> >>>>> On Monday, April 23, 2018 at 2:21:50 PM UTC+5:30, [email protected] >>>>> wrote: >>>>>> >>>>>> How to generate report for Warnings and Errors generated from Xcode >>>>>> in Jenkins? Is there any API that would give me the count of warnings, >>>>>> errors that I could use of? >>>>>> >>>>> >>>>> -- >>>>> 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.co >>>>> m/d/msgid/jenkinsci-users/24cc293a-245a-40bc-8b0f-3391ffa34b >>>>> d4%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/jenkinsci-users/24cc293a-245a-40bc-8b0f-3391ffa34bd4%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 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.co >>>>> m/d/msgid/jenkinsci-users/7B2A5F3F-21F7-48DE-B882-027034A1FC >>>>> 7B%40gmail.com >>>>> <https://groups.google.com/d/msgid/jenkinsci-users/7B2A5F3F-21F7-48DE-B882-027034A1FC7B%40gmail.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.co >>> m/d/msgid/jenkinsci-users/CAABnZ92HZdvdK8XikEnEY5Ozf8cr6rOOf >>> MmRWOKJ7SKNBHpkHg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/CAABnZ92HZdvdK8XikEnEY5Ozf8cr6rOOfMmRWOKJ7SKNBHpkHg%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/ms >>> gid/jenkinsci-users/A635D586-2BFA-43CE-A7F4-034CAC5748B0%40gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/A635D586-2BFA-43CE-A7F4-034CAC5748B0%40gmail.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/ms >> gid/jenkinsci-users/CAABnZ91CPETy5x0QAk_J0%3DFoEOPk9Vy- >> rc6BVFdM13V5_jC1Rg%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CAABnZ91CPETy5x0QAk_J0%3DFoEOPk9Vy-rc6BVFdM13V5_jC1Rg%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/ms >> gid/jenkinsci-users/0C9F0869-8666-4139-A08C-A95C2F86E464%40gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/0C9F0869-8666-4139-A08C-A95C2F86E464%40gmail.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/CAABnZ93%3DqDrUej79MTYf%3Dh6ZCmmvfMBcD12j0JrUXcD%2BJ0hQhQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
