Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-20803

Export AnyTask as YAML Specs

    XMLWordPrintable

    Details

    • UIS:
      2
    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      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);
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: