Way to match a Nexus check sum against a local file
We have below build process in Jenkins
Build => Code quality => Nexus => Deployement => Smoke => Acceptance
Puppet code is triggered after Nexus step and deployement happens after that. Now a deployement happens everytime even if we have changes or not. We should compare the checksum value coming out of Nexus with checksum value of that is already present. If there are no changes then deployement should not happen i.e. deployment should happen only if there are changes. Please give the best ideas to implement this.
Currently deployement always happens irrespective of changes. And just to inform puppet agent interacts with master every 30 minutes.
Acceptance criteria : Verify that puppet never does a deployment that is not triggered.