Skip to content
Snippets Groups Projects
Commit 0b41fc4b authored by Tucker Gary Siegel's avatar Tucker Gary Siegel
Browse files

update manager

parent 7287b0ef
No related branches found
No related tags found
No related merge requests found
......@@ -25,28 +25,11 @@ pipeline {
stage('deploy') {
steps {
sh 'whoami'
sh 'pwd'
sh '''
cd /home/
pwd
ls -l
'''
sh '''
cd /home/kube
pwd
ls -l
'''
// sh 'echo $HOSTNAME'
// dir('/') {
// sh 'ls- l'
// }
// dir('/home/kube/staging') {
// sh 'git pull'
// sh 'kubectl delete -f dawn-manager'
// sh 'kubectl apply -f dawn-manager'
// }
dir('/home/kube/staging') {
sh 'git pull'
sh 'kubectl delete -f dawn-manager'
sh 'kubectl apply -f dawn-manager'
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment