The general consensus is that when a Democrat is the president military spending will be reduced and the reverse will occur when a Republican is in office. Obviously, there are may other factors involved. Regardless, the following chart may be a surprise to many folks:
Below from: https://www.bing.com/images/search?view=detailV2&ccid=f5gW9JTp&id=D4B15F720DD667FEC17F3D1249DEC661CB387965&thid=OIP.f5gW9JTpZl9maaGfnsRUKAHaGO&mediaurl=https%3a%2f%2fnorberthaupt.files.wordpress.com%2f2016%2f12%2fmilitary-spending-c.png%3fw%3d500%26h%3d420&exph=420&expw=500&q=military+spending+by+president&simid=608054495847844341&selectedIndex=1&ajaxhist=0
It is interesting to note that during the last two years military spending has average almost the same as the eight-year average under President Obama.