User Tools
development:grails:deploying-to-artifactory
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| development:grails:deploying-to-artifactory [2018/03/16 14:31] – adsilva | development:grails:deploying-to-artifactory [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Deploying to artifactory ====== | ||
| + | |||
| + | --- // | ||
| + | |||
| + | |||
| + | URL: http:// | ||
| + | |||
| + | (Refer PwSafe for username and password) | ||
| + | |||
| + | Increment the version number in your build or gradle file. This ensures you are not overwriting older builds. | ||
| + | |||
| + | Create the jar file using ' | ||
| + | |||
| + | **Ensure you build it using java 1.7** so that it remains compatible with our old applications as well as future applications. | ||
| + | |||
| + | Now in the artifactory, | ||
| + | |||
| + | The autofilled groupId is usually **wrong**. copy the same groupId as you have in your gradle or other config file. | ||
| + | |||
| + | This should deploy the artefact at the right location. | ||