Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Pipeline Steps

Jeremy Poulin edited this page Oct 10, 2018 · 3 revisions

These pipeline steps were added in v1.0 to increase the ease of common functions used alongside the Test Template.

archiveOutput

This step was added in release v1.0 to simplify the archiving of ansible and script tests.

This step takes no arguments.

downloadTests

This step was adding in release v1.0 to simplify the downloading of ansible and script tests.

This step takes no arguments.

getRPMFromCIMessage

This step was added in release v1.0 to make it easy to install packages referenced by brew. It was removed in release v1.2.0 since the CI messages changed.

It takes 2 parameters.

message

  • Description: The CI_MESSAGE that was passed to the job.
  • Type: String

arch

  • Description: The architecture of the host the packages are being installed on (for builds that have arch specific packages.
  • Type: String

getTaskId

The step was added in release v1.0 to make it easy to extract the build ID of a brew task.

It takes one parameter.

message

  • Description: The CI_MESSAGE that was passed to the job.
  • Type: String

installBrewPkgs

This step was added in release v1.0 to make it easy to install packages from brew via the brew task ID or parsing the CI message.

This step takes one parameter.

params

  • Description: The params object that was passed to the job.
  • Type: Groovy Object

runTests

This step was adding in release v1.0 to simplify the running of ansible and script tests.

This step takes two arguments.

config

host

  • Description: The provisioned host object. See Provisioning Output
  • Type: com.redhat.ci.hosts.ProvisionedHost