We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df6e13b + ff005e8 commit 723b75cCopy full SHA for 723b75c
Jenkinsfile
@@ -45,7 +45,7 @@ pipeline {
45
}
46
parallel deploy_staging
47
48
- sh "jenkins/ansible-deploy-staging-api-proxy-match-list"
+ sh "jenkins/deploy-staging-api-match-list.sh"
49
50
51
stage('Deploy production') {
jenkins/deploy-staging-api-match-list.sh
@@ -0,0 +1,16 @@
1
+#!/usr/bin/env bash
2
+#
3
+# Jenkins deploy staging api match list
4
5
+
6
+set -eo pipefail
7
+source ~/.bash_profile
8
9
10
+# Deploy
11
12
13
+cd "${WORKSPACE}/ansible" || exit
14
15
+# Ansible!
16
+ansible-playbook ansible-deploy-staging-api-proxy-match-list.yaml -i inventory
0 commit comments