Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The article explains automation of rollout using the JS7 - PowerShell Module.

Alternatively, users can implement rollout procedures from their preferred scripting/programming languages using the JS7 - REST Web Service API.

Rollout Script

The example of a Rollout Script is available for Linux, MacOS® and Windows.  The Rollout Script makes use of the JS7 PowerShell Module release v2.0.21.

The script is intended as a baseline example for customization by JS7 users and by SOS within the scope of professional services.

...

The first few lines of the Rollout Script specify variables that are used to adjust the script to individual environments:

CategoryVariableValue
AuthenticationUrl

Specifies the JOC Cockpit URL. A number of ways are offered how to connect using HTTP and HTTPS using account/password authentication and certificate based authentication.

For details see JS7 - How to connect to JOC Cockpit using the PowerShell Module.


CredentialSpecifies the credential object if account/password authentication is used.

ControllerIdSpecifies the ID of the Controller to which objects should be deployed.
ImportArchiveFileSpecifies the path to the import archive file that holds scheduling objects.

TempDir

Specifies a directory for temporary files:

Unix: /tmp

Windows: $env:TEMP

LoggingdebugPreference

Enables/disables debug output for cmdlets of the JS7 PowerShell Module:

$debugPreference = "continue" # enable debug output

$debugPreference = "silentlycontinue" # disable debug output


verbosePreference

Enables/disables verbose output for cmdlets of the JS7 PowerShell Module:

$verbosePreference = "continue" # ensable verbose output

$verbosePreference = "silentlycontinue" # disable verbose output

Step 1: Import Archive File

...