Expand my Community achievements bar.

SOLVED

ui.content - mutable content package redeploy

Avatar

Level 1

Is it possible for ui.content package to be redeployed during pipeline run without changing the version or deleting old package.

 

1. I run pipeline to deploy my application (both immutable and mutable packages) to dev enviroment

2. I make some changes in ui.content and ui.apps 

3. I run pipeline again to deploy changes (no version changes in pom.xml)

4. Changes in ui.apps are deployed but no ui. content. There is information that ui.content-x.y.z is already in repository so it won't be installed

I would like ui.content-x.y.z to be redeployed (without changing version number - really development for dev enviroment with always changing version or deleting ui.content package is very impractical

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 1

If it is for dev environment then I would suggest to use snapshot in the version so that installing same version will update files.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 1

If it is for dev environment then I would suggest to use snapshot in the version so that installing same version will update files.

Avatar

Community Advisor

Hello @DanielM5 

 

  • For dev environment, we should use SNAPSHOT versions. SNAPSHOTS can be replaced with the same version number any number of times.
  • For prod environment, SNAPSHOTS shouldn't be used. This would assure that any fix is always versioned. This avoids any surprises.

Aanchal Sikka

Avatar

Administrator

@DanielM5 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni