Copy Team CLI Plugin

Adds copy-team CLI command.

Лицензия

Лицензия

Категории

Категории

Hudson Компиляция и сборка Continuous Integration and Continuous Delivery CLI Взаимодействие с пользователем
Группа

Группа

org.hudsonci.plugins
Идентификатор

Идентификатор

copy-team-cli
Последняя версия

Последняя версия

1.2
Дата

Дата

Тип

Тип

hpi
Описание

Описание

Copy Team CLI Plugin
Adds copy-team CLI command.
Организация-разработчик

Организация-разработчик

Hudson
Система контроля версий

Система контроля версий

https://github.com/hudson3-plugins/copy-team-cli-plugin.git

Скачать copy-team-cli

Зависимости

provided (2)

Идентификатор библиотеки Тип Версия
org.eclipse.hudson : hudson-core jar 3.2.0-RC1
javax.servlet : servlet-api jar 2.4

test (7)

Идентификатор библиотеки Тип Версия
org.eclipse.hudson : hudson-war war 3.2.0-RC1
org.eclipse.hudson : hudson-test-framework jar 3.2.0-RC1
junit : junit jar 4.8.1
org.powermock : powermock-module-junit4 Необязательный jar 1.4.10
org.powermock : powermock-api-easymock Необязательный jar 1.4.10
org.easymock : easymock Необязательный jar 3.0
org.mockito : mockito-core Необязательный jar 1.8.5

Модули Проекта

Данный проект не имеет модулей.

copy-team-cli-plugin

Create a new team and copy all jobs in an existing team to it.

java -jar hudson-cli.jar copy-team args...
Copy a team and its jobs to a newly created team
 FROM                : Team name to copy (required)
 TO                  : Team name to create (required)
 EMAIL               : Email recipients separated by commas (optional); if not
                       specified, recipients will be removed from the copied team.
 -n or --nodes       : Optional. Values may be:
                       *move* - Move nodes owned by from team to the to team.
                       visible - Make nodes owned by the from team visible to the
                                 to team.
                       ignore - Do nothing about nodes owned by the from team (default).
 -v or --view        : Optional. Values may be:
                       move - Move views owned by from team to the to team.
                       visible - Make views owned by the from team visible to the
                                 to team.
                       ignore - Do nothing about views owned by the from team (default).

The FROM team must exist and the TO team must not.

copy-team assumes the email recipients in the FROM team are not relevant to the new team and, by default, removes them from the copied jobs. If the optional EMAIL parameter is specified, it will replace any existing email recipients in copied jobs. If this is not the desired effect, EMAIL should be omitted and the new job recipients set by hand.

All jobs in the FROM team are copied to the TO team. Jobs retain their original names with new team qualification.

In copied jobs, job references in build triggers, cascading parents and children that refer to jobs in the FROM team are modified to refer to the same jobs in the TO team. Job references outside the FROM team are not changed.

NB: Email addresses and job references are only looked for in well-known locations. Addresses or references added by plugins are not affected.

For --nodes and --views, any visibility configured in the from team for the node or view is lost in a move and retained in a visible.

org.hudsonci.plugins

Hudson CI Server 3.x plugins

Версии библиотеки

Версия
1.2
1.1
1.0