Gist for https://www.youtube.com/watch?v=Zy_FQEYkaRw
pipeline {
agent any
stages {
stage('test') {
steps {
sh '''
Gist for https://www.youtube.com/watch?v=Zy_FQEYkaRw
pipeline {
agent any
stages {
stage('test') {
steps {
sh '''
gcloud services enable compute.googleapis.com | |
#Create the OWASP Juice Shop application | |
gcloud compute instances create-with-container owasp-juice-shop-app --container-image bkimminich/juice-shop \ | |
--network default \ | |
--subnet default \ | |
--machine-type e2-micro \ | |
--zone us-central1-a |