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

Spaces are added after quotes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • sbt-plugin
    • None
    • Jenkins ver. 1.596 on Ubuntu 14.04

      For the sbt action I'm attempting the following:

      ";set target := file(\"$WORKSPACE/package/deb-upstart\"); set serverLoading in Debian := com.typesafe.sbt.packager.archetypes.ServerLoader.Upstart; debian:packageBin; set target := file(\"$WORKSPACE/package/deb-systemv\"); set serverLoading in Debian := com.typesafe.sbt.packager.archtypes.ServerLoader.SystemV; debian:packageBin; set target := file(\"$WORKSPACE/package/rpm-systemd\"); rpm:packageBin"

      I'm basically resetting the target directory for each package type I call for sbt-native-package plugin tasks. The trouble is that random spaces seem to be injected around the quotes. I'm guessing the sbt-plugin has some code to add some space around quotes to separate out parameters, but as you can see, the second quote isn't a closing quote. It's another opening quote that's escaped.

      This command runs fine from the shell I prepended with sbt (you can checkout the project: https://github.com/bigsense/BigSense)

            uzilan uzilan
            djsumdog Sumit Khanna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: