Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate the repository before starting the release process #7

Open
kasunbg opened this issue Nov 2, 2016 · 0 comments
Open

Validate the repository before starting the release process #7

kasunbg opened this issue Nov 2, 2016 · 0 comments

Comments

@kasunbg
Copy link
Member

kasunbg commented Nov 2, 2016

It is a common occurrence that people only find the issues in their git repositories when they are half-way through the release process. Due to things such as blindly copying pom files, the scm configs etc. are not properly updated when creating new repos.

So, as the very first step, we need to add some validation steps. Following can be validated initially.

  1. Verify whether the cloned git repo url matches with the scm config in the root pom.

  2. Verify whether the project.scm.id specified is the same as the one in settings.xml of jenkins. Currently, jenkins' settings.xml has multiple server configs to support commonly used ids - my-scm-server, github-scm, git-scm-server etc.

  3. No SNAPSHOT dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant