trevorw commented on Bug JENKINS-27600

I overlooked that, that's nice to have. So in there, it reports a file not found for the .war to be deployed.

java.io.FileNotFoundException: /opt/jenkins/jobs/appname-build-deploy-dev/modules/com.apps.appnamejenkins-appname/builds/39/archive/com.apps.appname/appname/1.0.0-SNAPSHOT/appname-1.0.0-SNAPSHOT.war (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:138)
at weblogic.utils.FileUtils.copy(FileUtils.java:266)
at weblogic.utils.FileUtils.copy(FileUtils.java:245)
at weblogic.utils.FileUtils.copy(FileUtils.java:186)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.upload(ServerConnectionImpl.java:849)
at weblogic.deploy.api.spi.deploy.internal.BasicOperation.uploadFiles(BasicOperation.java:332)
at weblogic.deploy.api.spi.deploy.internal.BasicOperation.execute(BasicOperation.java:465)
at weblogic.deploy.api.spi.deploy.internal.BasicOperation.run(BasicOperation.java:178)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.deploy(WebLogicDeploymentManagerImpl.java:390)
at weblogic.deploy.api.tools.deployer.DeployOperation.execute(DeployOperation.java:51)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:139)
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.Deployer.run(Deployer.java:74)
at weblogic.Deployer.main(Deployer.java:55)

This is on Linux, looks like the $ in the filepath is causing some weirdness. looks to be replacing the $ with a username variable of "jenkins".

Not found at:
/opt/jenkins/jobs/appname-build-deploy-dev/modules/com.apps.appnamejenkinsappname/builds/39/archive/com.apps.appname/appname/1.0.0-SNAPSHOT/appname-1.0.0-SNAPSHOT.war

Found at:
/opt/jenkins/jobs/appname-build-deploy-dev/modules/com.apps.appname$appname/builds/39/archive/com.apps.appname/appname/1.0.0-SNAPSHOT/appname-1.0.0-SNAPSHOT.war

or via the command line we have to escape the $ \$ so it runs with this path:
/opt/jenkins/jobs/appname-build-deploy-dev/modules/com.apps.appname\$appname/builds/39/archive/com.apps.appname/appname/1.0.0-SNAPSHOT/appname-1.0.0-SNAPSHOT.war

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to