The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

AWSEB Deployment Plugin

step([$class: 'AWSEBDeploymentBuilder']): AWS Elastic Beanstalk

  • config
    • Type: class br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentConfig
  • applicationName (optional)
    AWS EB Application Name (e.g.: "myapp")
    • Type: String
  • awsRegion (optional)
    AWS Region (e.g. us-east-1)
    • Type: String
  • bucketName (optional)

    S3 Bucket Name to Upload to (e.g. "my-awseb-apps")

    (Optional, will call createStorageLocation if blank)

    • Type: String
  • checkHealth (optional)
    Uncheck this to disable the Health check on deploy. Some implementations may not care to wait until the environment shows "Green".
    • Type: boolean
  • credentialId (optional)
    Select the credentials to use.
    • Type: String
  • environmentName (optional)

    Optional: AWS EB Environment name(s) to deploy to.

    Can accept single or multiple comma-separated values. Examples:

    • "my-prod-env" (single environment)
    • "my-dev-env,my-staging-env" (multiple environments)

    When this value is set and each requested environment exists, an UpdateEnvironment call will be triggered as the Application Version is created.

    • Type: String
  • excludes (optional)
    Optional (if rootObject points to a directory): Glob for Zip Excludes, comma-separated eg '**/.git/**/*,**/node_modules/**/*'
    • Type: String
  • includes (optional)
    Optional (if rootObject points to a directory): Glob for Zip Includes, comma-separated like 'target/file,target/myapp/**/*'
    • Type: String
  • keyPrefix (optional)
    Prefix for newly created apps on S3 Bucket. For Example, myapp/builds/myapp-prod-env/
    • Type: String
  • maxAttempts (optional)
    • Type: int
  • rootObject (optional)

    Workspace-relative path of the artifact file to upload (if it's a file), or if it's a directory, the base directory to build the zip/war against

    Examples:

    • File, like target/mywebapp.war: The war file will be uploaded
    • A Directory, like '.' or 'target/war': A Zip file will be built and uploaded instead (using includes and excludes).
    • Type: String
  • skipEnvironmentUpdates (optional)
    • Type: boolean
  • sleepTime (optional)
    • Type: int
  • versionDescriptionFormat (optional)
    How to set the version description? For instance, for "${GIT_COMMIT}", the version Description will be 4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746 on AWS EB Application Versions
    • Type: String
  • versionLabelFormat (optional)
    How to set the version label? For instance, for "${GIT_COMMIT}-${BUILD_TAG}", and with "Key Prefix" set to "myapp/builds/myapp-prod-env/", the S3 Object Key is set to myapp/builds/myapp-prod-env/4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41.zip and the version Label will be 4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41 on AWS EB Application Versions
    • Type: String
  • zeroDowntime (optional)
    • Type: boolean

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.