Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This operation provides an easy way to get artifacts from a completed Jenkins build and store them in the FlexDeploy Artifact Repository to use in a FlexDeploy workflow. This operation is the same as the retrieveArtifacts operation, but it uses CI server integration for the Jenkins account information.

...

Property NameProperty CodeRequiredDescription
Jenkins Username
FDJENKINS_USERNAME
YesThe user to connect to Jenkins as.
Jenkins Password
FDJENKINS_PASSWORD
YesThe password for the Jenkins User.
Jenkins URL
FDJENKINS_URL
YesThe URL of the Jenkins Server (e.g. http://JenkinsServer:8080)

Project Properties

Property NameProperty CodeRequiredDescription
Job NameFDJENKINS_JOB_NAMEYesThe name of the Jenkins job to build.

...

Input NameInput CodeRequiredDescription
Jenkins AccountFDJENKINS_INP_CI_SERVER_ACCT_CODEYesJenkins account with all of the required properties: Jenkins URL, username, and password. Configure this under Topology - Integrations - CI Server.
Build NumberFDJENKINS_INP_BUILD_NUMBERNoDesired build number of Jenkins job. Leave blank to get the last successful build.

...

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

Special Considerations

It may be useful to create an Integer workflow input for Build Number, and pass the current Build Number from the Jenkins plugin in the inputs section. For more information, see the Getting Started with the Jenkins Plugin page.