Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Manual Bundle deployment is not working

Avatar

Level 4

Hi,

 

We are facing some issue with manual bundle deployment.

 

Previously it was working well but we recently configured Jenkins job to build and deploy.

 

Jenkins deployment is working well but in case if we do manual deployment now, code is not reflecting even after re start.

 

Only Jenkins deployment is working now.

 

Any idea,

7 Replies

Avatar

Community Advisor

HI,

Can you check it is just a bundle or all the resources?

It could be possible that the version your are uploading is lower than what already installed.

Avatar

Level 4

We are not changing versions, but via Jenkins deployment only it is working.

And may be during manual deployment, it is not taking or overwriting existing code,

Our core bundle pom is given below.

<parent>
<groupId>com.xyz</groupId>
<artifactId>proj</artifactId>
<version>1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>proj.core</artifactId>
<packaging>bundle</packaging>
<name>proj-Core</name>
<description>Core bundle for proj</description>

Avatar

Level 6

Under some mysterious circumstance a bundle will not be updated when a code package is imported via package manager. In this case you can call <address>/system/console/bundle and install the bundle manually.

Avatar

Level 4

Hi @Magicr ,

 

We are installing via system/console/bundle only manually.

Even restarting the instances post deployment. It will not work.

But via Jenkins it is working. clean install -Dmaven.test.skip=true 

 

Avatar

Community Advisor

can you check if the installation is pause for this bundle?

/system/sling/installer/jcr/pauseInstallation

 

And Also check the jar modified date in JCR?