Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Bitbucket Cloud Command Line Interface (CLI)
  • Reference
    Reference
     This trigger is hidden
  • User's Guide
    User's Guide
     This trigger is hidden
  • Administrator's Guide
    Administrator's Guide
     This trigger is hidden
  • Release notes
    Release notes
     This trigger is hidden
  • Share data with the Support team
    Share data with the Support team
     This trigger is hidden
  • Downloads
    Downloads
     This trigger is hidden
Results will update as you type.
  • getRepositoryList
  • getSource
  • help
  • publishSource
  • run
  • runFromCsv
  • runFromJson
  • runFromList
  • runFromSql
  • runIf
  • setReplacementVariables
  • createProject
  • deleteProject
  • getBranch
  • getBranchList
  • getCommit
  • getCommitList
  • getProject
  • getProjectList
  • getPullRequest
  • getPullRequestList
  • getTeam
  • getTeamList
  • updateProject
  • getBuildStatusList
  • getUser
  • getWorkspace
  • getWorkspaceList
  • renderRequest
  • runFromWorkspaceList
  • getUpgradeInfo
  • provideFeedback
  • getDeploymentList
  • getEnvironmentList
  • getPipeline
  • getPipelineList
  • getRunnerList
  • runFromProjectList
  • runFromRepositoryList
  • startPipeline
  • addVariables
  • getVariableList
  • removeVariables
  • updateVariables
  • addDownload
  • addEnvironment
  • getDownload
  • getDownloadList
  • getEnvironment
  • getPipelineCacheList
  • removeDownload
  • removeEnvironment
  • removePipelineCache
  • runFromDeploymentList
  • runFromDownloadList
  • runFromEnvironmentList
  • runFromPropertyFile
  • sleep
  • addRunner
  • createPullRequest
  • exportData
  • getPipelineCache
  • getPipelineStep
  • getPipelineStepList
  • getRunner
  • getSqlResultList
  • removeRunner
  • restartPipeline
  • runFromPipelineList
  • runFromPipelineStepList
  • runFromRunnerList
  • startPipelineStep
  • stopPipeline
  • updatePullRequest
  • approveCommit
  • approvePullRequest
  • createBranch
  • createCommit
  • declinePullRequest
  • deleteBranch
  • mergePullRequest
    Calendars
You‘re viewing this with anonymous access, so some content might be blocked.
/
addVariables

addVariables

Dec 03, 2024

See also: Actions

Description

Add workspace, repository, or deployment environment variables. Use one or more field parameters where each field parameter is a key=value pair. Specify a secured variable by appending ':secured' like key=value:secured. To secure all variables added, use the secured parameter. Variables can also be added from a property file using the propertyFile parameter.

Required Parameters

workspace or repository

Optional Parameters

environment, field, propertyFile, secured, findReplace, findReplaceRegex

Type

Create

Category

Variables

Output Formats

Replacement Variables

Since Version10.1

Examples

Related How To's

, multiple selections available, Use left or right arrow keys to navigate selected items
cli-action
cli-action-addvariables
cli-parameter-workspace
cli-parameter-repository
cli-parameter-field
cli-parameter-findreplace
cli-parameter-findreplaceregex
cli-parameter-action
cli-parameter-dateformat
cli-parameter-dateformat2
cli-parameter-help
cli-parameter-outputtype
cli-parameter-special
cli-parameter-quiet
cli-parameter-verbose
cli-parameter-debug
cli-action-category-variables
cli-action-type-create
cli-parameter-environment
cli-parameter-propertyfile
cli-parameter-secured

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.

{"serverDuration": 15, "requestCorrelationId": "b5094f36475e4703ba41ba8044433c30"}