Versions Compared

Key

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

...

The following examples assume that a local Git repository is set up in the test and prod environments, see PowerShell CLI 2.0 - Use Cases - Set up local Git Repository.

...

Code Block
languagepowershell
titleExample how to commit and push changes to a remote repository
linenumberstrue
# Find the repository sub-directory managed by JOC Cockpit
cd /var/sos-berlin.com/js7/joc/jetty_base/resources/joc/repositories/rollout/Accounting

# Commit and push changes to the remote Git repository
git add .
git commit -m "changes to accounting jobs for v12.3"
git push

Example

...

of a CI/CD Pipeline Script for TEST Environment

The below example includes use of the above cmdlets in a pipeline script.

...