rhq-agent:upload

Full name:

org.rhq.maven.plugins:rhq-agent-plugin-plugin:1.0:upload

Description:

Upload a freshly built RHQ Agent Plugin to an RHQ container.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
host String - Remote RHQ server host.
password String - Authentication password.
username String - Authentication user name. The user must have appropriate permissions (MANAGE_SETTINGS).

Optional Parameters

Name Type Since Description
failOnError boolean - Whether to fail the build if an error occurs while uploading.
Default value is: true.
maxWaitForPluginsUpdateOnAllAgents long - How long should we wait for the plugins update requests to complete. In seconds.
Default value is: 300.
port int - Remote RHQ server port.
Default value is: 7080.
scheme String - The scheme to use to communicate with the remote RHQ server.
Default value is: http.
skipUpload boolean - Whether to skip the execution of this mojo.
Default value is: false.
socketConnectionTimeout int - In milliseconds.
Default value is: 60000.
socketReadTimeout int - In milliseconds.
Default value is: 300000.
startScan boolean - Whether a plugin scan should be triggered on the server after upload.
Default value is: true.
updatePluginsOnAllAgents boolean - Whether all agents should update their plugins. This will make your agents' plugin containers restart .
Default value is: false.
waitForPluginsUpdateOnAllAgents boolean - Whether to wait for the plugins update requests to complete.
Default value is: false.

Parameter Details

failOnError:

Whether to fail the build if an error occurs while uploading.
  • Type: boolean
  • Required: No
  • Default: true

host:

Remote RHQ server host.
  • Type: java.lang.String
  • Required: Yes

maxWaitForPluginsUpdateOnAllAgents:

How long should we wait for the plugins update requests to complete. In seconds.
  • Type: long
  • Required: No
  • Default: 300

password:

Authentication password.
  • Type: java.lang.String
  • Required: Yes

port:

Remote RHQ server port.
  • Type: int
  • Required: No
  • Default: 7080

scheme:

The scheme to use to communicate with the remote RHQ server.
  • Type: java.lang.String
  • Required: No
  • Default: http

skipUpload:

Whether to skip the execution of this mojo.
  • Type: boolean
  • Required: No
  • Default: false

socketConnectionTimeout:

In milliseconds.
  • Type: int
  • Required: No
  • Default: 60000

socketReadTimeout:

In milliseconds.
  • Type: int
  • Required: No
  • Default: 300000

startScan:

Whether a plugin scan should be triggered on the server after upload.
  • Type: boolean
  • Required: No
  • Default: true

updatePluginsOnAllAgents:

Whether all agents should update their plugins. This will make your agents' plugin containers restart .
  • Type: boolean
  • Required: No
  • Default: false

username:

Authentication user name. The user must have appropriate permissions (MANAGE_SETTINGS).
  • Type: java.lang.String
  • Required: Yes

waitForPluginsUpdateOnAllAgents:

Whether to wait for the plugins update requests to complete.
  • Type: boolean
  • Required: No
  • Default: false