UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

uip codedapp publish

「uip codedapp publish」の構文とオプション - 「.nupkg」を UiPath にアップロードし、コード化されたアプリを登録します。

uip codedapp publish は、パッケージ化された .nupkg を UiPath にアップロードし、コード化されたアプリを登録します。パッケージを --uipath-dir から読み取ります (既定 ./.uipath)。非対話型でパブリッシュするには --name (および任意で --version) を渡します。渡しない場合は、ツールによってプロンプトが表示されます。--type 、パッケージを Web アプリまたはアクションのどちらとして登録するかを制御します。省略すると、パッケージが現在のディレクトリの action-schema.json から自動検出されます (存在する場合はAction 、存在しない場合は Web )、 Actionに切り替える前に対話型の確認が表示されます。

概要​

uip codedapp publish [options]
uip codedapp publish [options]

オプション​

フラグ説明
-n, --name <name>パッケージ名 (非対話型)。
-v, --version <version>パッケージ バージョン ( --nameが必要です)。
-t, --type <type>アプリの種類: Web または Action。静的な既定値なし — action-schema.json (存在する場合はAction 、存在しない場合は Web ) から自動検出されます。対話型セッションは、 Actionに切り替える前に確認メッセージが表示されます。
--tenant-feedPublish into the tenant package feed.
--personal-workspaceテナント フィードではなく、現在のユーザーの個人用ワークスペース フィードにパブリッシュします。
--folder-path <path>Publish into the package feed of this folder, by display name or fully qualified path. A folder with its own feed resolves to that feed; a folder that reads from the tenant feed resolves to the tenant feed. A name that matches more than one folder is refused.
--folder-key <key>Publish into the package feed of the folder with this key. A folder that reads from the tenant feed publishes to the tenant feed.
--feed-id <id>Publish into this exact Orchestrator feed ID. uip or feeds list lists the feeds.
--uipath-dir <dir>パブリッシュするパッケージを含むディレクトリです。既定値は [ ./.uipath] です。
--base-url <url>UiPath ベース URL (認証の上書き)。
--org-id <id>組織 ID (認証の上書き)。
--org-name <name>組織名です (認証の上書き)。ID が指定されていない場合に --org-id の代わりに使用されます。
--tenant-id <id>テナント ID (認証の上書き)。
--tenant-name <name>テナント名 (認証の上書き)。
--access-token <token>アクセス トークン (認証の上書き)。

Feed selection​

--tenant-feed, --personal-workspace, --folder-path, --folder-key, and --feed-id each pick the feed to publish into. At most one of them can be passed; two are refused. A feed option given an empty value, such as an unset CI variable, is refused instead of falling back to the tenant feed.

With none of them, an interactive run offers a feed picker, and a non-interactive run publishes into the tenant feed.

The package must be in the feed of the folder the app is deployed into. Orchestrator looks the package up in that folder's feed, so a package in the tenant feed is not visible from a folder that has its own feed.

# Non-interactive publish of a specific version
uip codedapp publish --name "MyApp" --version "1.0.0"

# Register as an Action app instead of a Web app
uip codedapp publish --name "MyApprovalAction" --type Action

# Publish from a non-default packages directory
uip codedapp publish --name "MyApp" --uipath-dir ./packages

# Publish into the current user's Personal Workspace feed
uip codedapp publish --name "MyApp" --personal-workspace

# Publish into the feed of the folder the app is deployed into
uip codedapp publish --name "MyApp" --folder-path "Shared/Finance"

# CI: publish into an exact feed, without the picker
uip codedapp publish --name "MyApp" --version "1.0.0" --feed-id <feed-id>
# Non-interactive publish of a specific version
uip codedapp publish --name "MyApp" --version "1.0.0"

# Register as an Action app instead of a Web app
uip codedapp publish --name "MyApprovalAction" --type Action

# Publish from a non-default packages directory
uip codedapp publish --name "MyApp" --uipath-dir ./packages

# Publish into the current user's Personal Workspace feed
uip codedapp publish --name "MyApp" --personal-workspace

# Publish into the feed of the folder the app is deployed into
uip codedapp publish --name "MyApp" --folder-path "Shared/Finance"

# CI: publish into an exact feed, without the picker
uip codedapp publish --name "MyApp" --version "1.0.0" --feed-id <feed-id>

データシェイプ(--output json)​

{
  "Code": "PublishCompleted",
  "Data": { "message": "Package published successfully." }
}
{
  "Code": "PublishCompleted",
  "Data": { "message": "Package published successfully." }
}
  • uip codedapp pack — publishアップロードする.nupkgを生成します。
  • uip codedapp deploy — パブリッシュ後にアプリをデプロイまたはアップグレードします。

参照​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得