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

{wl.source} command line override token doesn't get replaced

XMLWordPrintable

      When using the command line override feature, the

      {wl.source} token isn't replaced at execution. The literal string "{wl.source}

      " remains as a command line argument.

      WebLogic Deployment Command Line:
      -user

      {wl.login}

      -password

      {wl.password}

      -debug -verbose -stage -remote -upload -source

      {wl.source} -targets {wl.targets} -adminurl t3s://{wl.host}:{wl.port} -deploy


      Logs from build:
      [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=myserver) (host=localhost) (port=7002)
      [WeblogicDeploymentPlugin] - EXECUTING TASK ...
      $ C:\PROGRA~1\Java\JDK17~1.0_0\bin/java -Xms128M -Xmx256M -cp C:\oracle\MIDDLE~1\1212~1.0\wlserver/server/lib/weblogic.jar weblogic.Deployer -user weblogic -password welcome1 -debug -verbose -stage -remote -upload -source {wl.source}

      -targets myserver -adminurl t3s://localhost:7002 -deploy
      ERROR: [WeblogicDeploymentPlugin] - Command C:\PROGRA~1\Java\JDK17~1.0_0\bin/java|-Xms128M|-Xmx256M|-cp|C:\oracle\MIDDLE~1\1212~1.0\wlserver/server/lib/weblogic.jar|weblogic.Deployer|-user|weblogic|-password|welcome1|-debug|-verbose|-stage|-remote|-upload|-source|

      {wl.source}

      |-targets|myserver|-adminurl|t3s://localhost:7002|-deploy completed abnormally (exit code = 1)

            raphc Raphael CHAUMIER
            jeremylove Jeremy Love
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: