Ask Your Question
0

Way to match a Nexus check sum against a local file

asked 2016-05-12 14:07:14 -0500

kanna gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-15 20:47:03 -0500

DarylW gravatar image

Doing a quick search on the puppetforge, there are several modules that point to downloading nexus artifacts, two of them look promising.

https://forge.puppet.com/ceh/nexus https://forge.puppet.com/af6140/nexus...

It looks like af6140/nexus_artifact is an evolution of ceh/nexus, implemented as a custom type/provider that provides checksums... Does that work for your needs?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-05-12 14:07:14 -0500

Seen: 28 times

Last updated: May 15 '16