Hi -
I have a maven project and when i Trigger build from Jenkins, the build fails showing the below error message.
[INFO] Installing Bundle core(/var/build/.jenkins/jobs/test_1/workspace/core/target/0.0.1-SNAPSHOT.jar) to
Host:port/crx/repository/crx.default/apps/project/install/
via PUT [INFO] basic authentication scheme selected [INFO] Failure authenticating with BASIC 'Adobe CRX WebDAV'@host:port
<i>waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.sling:maven-sling-plugin:2.1.0:install (install-bundle-author) on project dialog.core: Installation on my instance
failed, cause: Installation failed, cause: Unauthorized -> [Help 1] </i>
I have checked for build passwords and everything looks fine and able to install the package manually.
Any suggestions on how to work around this.
Thanks for your inputs
Solved! Go to Solution.
Settings.xml path was wrongly configured in Jenkins and issue is resolved after correcting it .. thanks all
Views
Replies
Total Likes
Have you given aem credentials in pom or jenkins configs?
Check your profile on pom.xml. You have to set the profile and config the parameters to deploy the code to higher environments.
Views
Replies
Total Likes
I had given credentials in Jenkins config
Views
Replies
Total Likes
You can try install a package using curl and check if your credential are correct or no into pom.xml
- curl -u user:password -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/my_packages/yourPackage.zip?cmd=install
Views
Replies
Total Likes
Settings.xml path was wrongly configured in Jenkins and issue is resolved after correcting it .. thanks all
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies