Hi

I am trying to setup AEM build jobs using jenkins, When I try to run in
my local it runs well, But when I configure same job in Company hosted
Jenkins I get error as below,


FATAL: Failed to deploy package: Failed to login with provided credentials

java.io.IOException 
<http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Failed to 
login with provided credentials

        at 
net.adamcin.granite.client.packman.async.AsyncPackageManagerClient.login(AsyncPackageManagerClient.java:197)
 
<http://stacktrace.jenkins-ci.org/search/?query=net.adamcin.granite.client.packman.async.AsyncPackageManagerClient.login&entity=method>

        at 
org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.doLoginPOST(GraniteClientExecutor.java:138)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.doLoginPOST&entity=method>

        at 
org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.doLogin(GraniteClientExecutor.java:103)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.doLogin&entity=method>

        at 
org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.execute(GraniteClientExecutor.java:86)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.execute&entity=method>

        at 
org.jenkinsci.plugins.graniteclient.DeployPackageCallable.invoke(DeployPackageCallable.java:123)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.graniteclient.DeployPackageCallable.invoke&entity=method>

        at 
org.jenkinsci.plugins.graniteclient.DeployPackageCallable.invoke(DeployPackageCallable.java:42)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.graniteclient.DeployPackageCallable.invoke&entity=method>

        at hudson.FilePath.act(FilePath.java:990) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method>

        at hudson.FilePath.act(FilePath.java:968) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method>

        at 
org.jenkinsci.plugins.graniteclient.DeployPackagesBuilder.perform(DeployPackagesBuilder.java:273)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.graniteclient.DeployPackagesBuilder.perform&entity=method>

        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method>

        at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method>

        at hudson.model.Build$BuildExecution.build(Build.java:205) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.build&entity=method>

        at hudson.model.Build$BuildExecution.doRun(Build.java:162) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRun&entity=method>

        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>

        at hudson.model.Run.execute(Run.java:1738) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>

        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method>

        at hudson.model.ResourceController.execute(ResourceController.java:98) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>

        at hudson.model.Executor.run(Executor.java:410) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>

Build step 'Deploy Content Packages to CRX' changed build result to FAILURE

Build step 'Deploy Content Packages to CRX' marked build as failure

Archiving artifacts

Started calculate disk usage of build

Finished Calculation of disk usage of build in 0 seconds

Started calculate disk usage of workspace

Finished Calculation of disk usage of workspace in 0 seconds

Notifying upstream projects of job completion

Finished: FAILURE

 

I am using  CRX Content Package Deployer Plugin
<
https://wiki.jenkins-ci.org/display/JENKINS/CRX+Content+Package+Deployer+Plugin
>
and credentials plugin for username and passwords


If I try to pull  username password from pom.xml by providing profile in 
maven goal, it runs well in compony hosted server.


 

 

I confirm the username passwords are correct

 

 

Please advice

On Tuesday, December 15, 2015 at 10:44:58 AM UTC-5, Dean Anderson wrote:
>
> Has anyone downloaded the source code, built the code and SUCCESSFULLY 
> deployed the code into Jenkins?
>
> I can download the code and get it to build.  Then, I can successfully 
> install the plugin into Jenkins.
>
> However, for some reason it doesn't show up as an available plugin when 
> I select "This build is parameterized", then click on Add Parameter.
>
> If I download the plugin from 
> https://wiki.jenkins-ci.org/display/JENKINS/CRX+Content+Package+Deployer+Plugin
>  everything 
> seems to work fine and it does show up when I click "Add Parameter" as 
> described above.
>
> Any thoughts or suggestions are greatly appreciated.
>
> Thank you.
>
> -Dean
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/8b01a5db-192d-4fc1-9734-41e7de2a966f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to