We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9234

Maven arguments with spaces confuse Windows build agents

    • Icon: Bug Bug
    • Resolution: Timed out
    • Icon: Low Low
    • None
    • 3.2 M3
    • Agents

      I'm passing an argument with a space to a Maven build (-Dsqlcmd.auth="-U sa -P xxxxxxxx"). Bamboo is tokenizing it correctly as a single argument, but Maven sees it as separate arguments and fails:

      > [WARNING]
      > Profile with id: 'xxxxxxxx' has not been activated.
      ...
      > build 11-Jul-2011 20:37:51 [INFO] ------------------------------------------------------------------------
      > build 11-Jul-2011 20:37:51 [ERROR] BUILD FAILURE
      > build 11-Jul-2011 20:37:51 [INFO] ------------------------------------------------------------------------
      > build 11-Jul-2011 20:37:51 [INFO] Invalid task 'sa': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
      > build 11-Jul-2011 20:37:51 [INFO] ------------------------------------------------------------------------
      > build 11-Jul-2011 20:37:51 [INFO] For more information, run Maven with the -e switch

      Suggesting that Maven's seeing 'sa', '-P' and 'xxxxxxxx' as separate arguments.

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Bamboo Data Center'
            1. Bamboo Data Center
            2. BAM-9234

            Maven arguments with spaces confuse Windows build agents

              • Icon: Bug Bug
              • Resolution: Timed out
              • Icon: Low Low
              • None
              • 3.2 M3
              • Agents

                I'm passing an argument with a space to a Maven build (-Dsqlcmd.auth="-U sa -P xxxxxxxx"). Bamboo is tokenizing it correctly as a single argument, but Maven sees it as separate arguments and fails:

                > [WARNING]
                > Profile with id: 'xxxxxxxx' has not been activated.
                ...
                > build 11-Jul-2011 20:37:51 [INFO] ------------------------------------------------------------------------
                > build 11-Jul-2011 20:37:51 [ERROR] BUILD FAILURE
                > build 11-Jul-2011 20:37:51 [INFO] ------------------------------------------------------------------------
                > build 11-Jul-2011 20:37:51 [INFO] Invalid task 'sa': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
                > build 11-Jul-2011 20:37:51 [INFO] ------------------------------------------------------------------------
                > build 11-Jul-2011 20:37:51 [INFO] For more information, run Maven with the -e switch

                Suggesting that Maven's seeing 'sa', '-P' and 'xxxxxxxx' as separate arguments.

                        Unassigned Unassigned
                        jwalton joe
                        Affected customers:
                        1 This affects my team
                        Watchers:
                        4 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            Unassigned Unassigned
                            jwalton joe
                            Affected customers:
                            1 Vote for this issue
                            Watchers:
                            4 Start watching this issue

                              Created:
                              Updated:
                              Resolved: