Export AnyTask as YAML Specs

XMLWordPrintable

    • 2

      Problem Definition

      AnyTask is not supported by Bamboo YAML Specs according to the documentation below:
      https://docs.atlassian.com/bamboo-specs-docs/6.9.0/specs.html?yaml#configuring-unsupported-tasks

      Suggested Solution

      Add AnyTask to YAML Bamboo Specs.

      Workaround

      Currently is only possible to create AnyTask by using Java Specs, such as:

      Map<String, String> configuration = new MapBuilder<String, String>()
          .put("existingRequirement", "isLinux")
          .put("regexMatchValue", "true")
          .put("requirementKey", "")
          .put("requirementMatchType", "match")
          .put("requirementMatchValue", "")
          .build();
      AnyTask anyTask = new AnyTask(new AtlassianModule("com.atlassian.bamboo.plugin.requirementtask:task.requirements"))
          .configuration(configuration);
      

            Assignee:
            Alexey Chystoprudov
            Reporter:
            Karel Miranda
            Votes:
            32 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved: