Load PSSCOR4:
.loadby sos clr
.load C:\Debug\Psscor4\amd64\psscor4.dll
or:
| #!/bin/bash | |
| set -e | |
| if [[ -z ${K8S_JVM_POD} ]]; then | |
| echo "K8S_JVM_POD not defined" | |
| exit 1 | |
| fi | |
| EXEC="kubectl exec ${K8S_JVM_POD}" | |
| CP="kubectl cp ${K8S_JVM_POD}" | 
| a4b.amazonaws.com | |
| access-analyzer.amazonaws.com | |
| account.amazonaws.com | |
| acm-pca.amazonaws.com | |
| acm.amazonaws.com | |
| airflow-env.amazonaws.com | |
| airflow.amazonaws.com | |
| alexa-appkit.amazon.com | |
| alexa-connectedhome.amazon.com | |
| amazonmq.amazonaws.com | 
| # Replace "projectname" and "username" | |
| image: golang:1.9 | |
| variables: | |
| BIN_NAME: projectname | |
| ARTIFACTS_DIR: artifacts | |
| GO_PROJECT: gitlab.com/username/projectname | |
| stages: | |
| - build | 
Load PSSCOR4:
.loadby sos clr
.load C:\Debug\Psscor4\amd64\psscor4.dll
or:
| #!/bin/bash | |
| APPLY_CHANGES=1 | |
| ARCHIVE_RETENTION=30 | |
| CONFIG_ARCHIVE="/mnt/flash/config" | |
| TMP_DIR="/var/tmp" | |
| NEW_CONFIG="$1" | |
| RUNNING_CONFIG="/mnt/flash/config/.running-config" | 
| #!/usr/bin/python | |
| import requests | |
| import sys | |
| import json | |
| import pprint | |
| from time import sleep | |
| #This is the user ID going on vacation | |
| vacationing_user = 'PR2D0IM' | 
$ brew install python3   # Installed at /usr/local/Cellar/python3
Check that python3 has been installed by running it at the terminal:
$ python3
>>> Python 3.7.2
get-pip.py from https://bootstrap.pypa.io/get-pip.py and install (this should already be installed if python was installed from python.org or homebrew):| #!groovy | |
| # Best of Jenkinsfile | |
| # `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
| node { | |
| } |