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

Apparently, cannot pass action MyModule/test to sbt-plugin

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • sbt-plugin
    • None

      I'm not really sure if the description below refers to a bug or simply to some misunderstanding from my side. Anyway...

      Apparently, you cannot pass an action involving a sub-module which otherwise would be perfectly valid if you call SBT via command line. For example, you could call this line below from command line:

      $ sbt MyModule/test

      ... whilst an equivalent configuration from the plugin does not recognizes the action to be performed, as shown below:

      {{sbt launcher: sbt-0.13.11
      JVM Flags:
      sbt Flags: -Dsbt.log.noformat=true
      Actions: MyModule/test}}

      It complains saying:

      {{[error] Expected ID character
      [error] Not a valid command: MyModule
      [error] Expected project ID
      [error] Expected configuration
      [error] Expected ':' (if selecting a configuration)
      [error] Expected key
      [error] Not a valid key: MyModule
      [error] MyModule/test
      [error] }}

      Please let me know if I did something wrong, which is something I suppose I did.

      Thanks a lot,

      --Richard Gomes

          [JENKINS-33862] Apparently, cannot pass action MyModule/test to sbt-plugin

          Richard Gomes created issue -
          Richard Gomes made changes -
          Description New: I'm not really sure if the description below refers to a bug or simply to some misunderstanding from my side. Anyway...

          Apparently, you cannot pass an action involving a sub-module which otherwise would be perfectly valid if you call SBT via command line. For example, you could call this line below from command line:

                $ sbt MyModule/test

          ... whilst an equivalent configuration from the plugin does not recognizes the action to be performed, as shown below:

            sbt launcher : sbt-0.13.11
            JVM Flags
            sbt Flags -Dsbt.log.noformat=true
            Actions MyModule/test

          It complains saying:

          [error] Expected ID character
          [error] Not a valid command: MyModule
          [error] Expected project ID
          [error] Expected configuration
          [error] Expected ':' (if selecting a configuration)
          [error] Expected key
          [error] Not a valid key: MyModule
          [error] MyModule/test
          [error]

          Please let me know if I did something wrong, which is something I suppose I did.

          Thanks a lot,

          --Richard Gomes
          Richard Gomes made changes -
          Description Original: I'm not really sure if the description below refers to a bug or simply to some misunderstanding from my side. Anyway...

          Apparently, you cannot pass an action involving a sub-module which otherwise would be perfectly valid if you call SBT via command line. For example, you could call this line below from command line:

                $ sbt MyModule/test

          ... whilst an equivalent configuration from the plugin does not recognizes the action to be performed, as shown below:

            sbt launcher : sbt-0.13.11
            JVM Flags
            sbt Flags -Dsbt.log.noformat=true
            Actions MyModule/test

          It complains saying:

          [error] Expected ID character
          [error] Not a valid command: MyModule
          [error] Expected project ID
          [error] Expected configuration
          [error] Expected ':' (if selecting a configuration)
          [error] Expected key
          [error] Not a valid key: MyModule
          [error] MyModule/test
          [error]

          Please let me know if I did something wrong, which is something I suppose I did.

          Thanks a lot,

          --Richard Gomes
          New: I'm not really sure if the description below refers to a bug or simply to some misunderstanding from my side. Anyway...

          Apparently, you cannot pass an action involving a sub-module which otherwise would be perfectly valid if you call SBT via command line. For example, you could call this line below from command line:

                $ sbt MyModule/test

          ... whilst an equivalent configuration from the plugin does not recognizes the action to be performed, as shown below:

          {{sbt launcher: sbt-0.13.11
          JVM Flags:
          sbt Flags: -Dsbt.log.noformat=true
          Actions: MyModule/test}}

          It complains saying:

          {{[error] Expected ID character
          [error] Not a valid command: MyModule
          [error] Expected project ID
          [error] Expected configuration
          [error] Expected ':' (if selecting a configuration)
          [error] Expected key
          [error] Not a valid key: MyModule
          [error] MyModule/test
          [error] }}

          Please let me know if I did something wrong, which is something I suppose I did.

          Thanks a lot,

          --Richard Gomes
          Richard Gomes made changes -
          Summary Original: Apparently, cannot pass command MyModule/test on command line New: Apparently, cannot pass action MyModule/test to sbt-plugin
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 169860 ] New: JNJira + In-Review [ 183667 ]

            uzilan uzilan
            rgomes Richard Gomes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: