retrieveArtifacts (Jenkins)

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.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Jenkins Username

FDJENKINS_USERNAME

Yes

The user to connect to Jenkins as.

Jenkins Password

FDJENKINS_PASSWORD

Yes

The password for the Jenkins User.

Jenkins URL

FDJENKINS_URL

Yes

The URL of the Jenkins Server (e.g. http://JenkinsServer:8080)

Project Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Job Name

FDJENKINS_JOB_NAME

Yes

The name of the Jenkins job to build.

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Build Number

FDJENKINS_INP_BUILD_NUMBER

No

Desired build number of Jenkins job. Leave blank to get the last successful build.

Artifacts

This operation produces artifacts that will be stored in the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the Target.

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.

The following macros are not currently supported in the footer:
  • style