• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Codacy: Git hook to trigger a new analysis

 
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul,

After your announcement that Codacy now supports Java I decided to have a little tinker with it, as you observed from my follow up questions.

I had noticed that I was not able to tell Codacy to run another analysis of my project after I'd made some config changes to Codacy. I wanted to exclude the 'src/test/' directory because I disagreed with Codacy's style complaints in my test code. You let me know that I needed to make a change to the repository in order to trigger a new analysis. Well I have just now tried this out and I cannot seem to get Codacy to run another analysis. I even tried again after setting up the git hook url in github. Any idea what might be up with that?

Cheers, Tim
 
Tim Cooke
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ooops! I spoke too soon. Just as I hit 'Submit' on my message, a new analysis notification dropped into my inbox.

So that took around 30 minutes between pushing the commit to github and a new analysis being available on Codacy. Is that a typical time-frame?
 
Codacy Software Support
Posts: 15
5
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes the post-commit should do the trick. It should be quite fast, so the 30mins are quite alarming for me to be honest.
Let me know if you still have issues on this
reply
    Bookmark Topic Watch Topic
  • New Topic