Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21244

Un-escaped $ in module file name passed in command line to weblogic.jar results in the input file not found deployer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Linux

      My build utput produced by "mvn install" looks a bit like this:

      /home/ca31319/archdata/jenkins/jobs/Epdservices/modules/org.delta$org.delta.epd.services/builds/2014-01-06_14-08-56/archive/org.delta/org.delta.epd.services/1.0-SNAPSHOT/org.delta.epd.services-1.0-SNAPSHOT.war

      Notice the "$" in the module result.

      This file name is passed on the command line to weblogic.jar without the "$" being escaped - hence the file is not found.

      /usr/java/jdk1.7.0_45/jre/bin/java -Xms256M -Xmx256M -cp /opt/oracle/wls12120/wlserver/server/lib/weblogic.jar weblogic.Deployer -debug -stage -remote -verbose -upload -name "EPD Services" -source /home/ca31319/archdata/jenkins/jobs/Epdservices/modules/org.delta$org.delta.epd.services/builds/2014-01-06_14-08-56/archive/org.delta/org.delta.epd.services/1.0-SNAPSHOT/org.delta.epd.services-1.0-SNAPSHOT.war -targets myserver -adminurl t3://myhost:7001 -user weblogic -password mypassword -deploy

      If I cut and paste this into a terminal and escape the $ - it works fine.

      Please could you provide a fix?

            mgarrido Manuel J. Garrido
            adrianblakey Adrian Blakey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: