Closed jjasghar closed 7 years ago
@jjasghar can you please check the failure logs? Seems like builds are breaking on your end.
Yep, got em fixed.
Can you take care of: https://jenkins-01.eastus.cloudapp.azure.com/job/dynatrace-cookbook/93/console for me? Thanks! 🤘
@jjasghar some of the error message appear a little picky. We'll see what we can do. How can we replicate the output locally? We should make this part of our upstream process then. Cheers!
Yep, we have all our jobs posted here: https://github.com/chef-partners/chef-partner-cookbook-program-jjb your specifically: https://github.com/chef-partners/chef-partner-cookbook-program-jjb/blob/master/jobs/dynatrace-cookbook.yml
PR's are more then welcome, and we'd like to have a more visible continual validation/certification :)
I'll have a closer look into this soon! Will chef-exec-rspec-spec
execute our kitchen tests? By the way, a fix from our dev team is already underway.
I fixed issues reported by chef-exec-rubocop
on master branch. The remaining validation tasks (chef-exec-foodcritic
and chef-exec-rspec-spec
) also pass with status 0 (OK). It seems that the chef-exec-rspec-spec
is a noop for now.
@pozieblo looks like you missed one thing :(
[dynatrace-cookbook] $ /bin/bash /tmp/hudson7364832001878912519.sh
Inspecting 84 files
...............C....................................................................
Offenses:
attributes/server_update.rb:1:1: C: Carriage return character detected.
# ...
^
84 files inspected, 1 offense detected
Build step 'Execute shell' marked build as failure
Finished: FAILURE
I think you can remove your workaround, I fixed the issue on master. For some reason CRLF characters were injected into the attributes/server_update.rb file (instead of LF) maybe because I have started playing with the autocrlf git config attribute...
Wonderful! It's green now, thank you so much for the help :)
Added the build badge per the new Chef Partner cookbook guide guidelines.