Skip to content

Commit 083a268

Browse files
committed
Setup new pipeline kube config
1 parent f131013 commit 083a268

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Jenkinsfile

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ pipeline {
1111
sh 'tidy -q -e *.html'
1212
}
1313
}
14+
stage('Create kube config file') {
15+
steps {
16+
withAWS(region: 'ap-south-1', credentials: 'aws'){
17+
sh '''
18+
aws eks --region ap-south-1 update-kubeconfig --name mycapstone
19+
'''
20+
}
21+
}
22+
}
1423
stage('Build Docker Image') {
1524
steps {
1625
sh 'docker build -t udacity-capstone-app .'

0 commit comments

Comments
 (0)