Update Jenkinsfile

This commit is contained in:
Manraj 2023-03-11 02:41:52 -05:00 committed by GitHub
parent 03c8ad1f8e
commit 4139da1fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -13,8 +13,8 @@ pipeline {
TWILIO_CREDS = credentials('twilio-creds')
}
steps {
sh 'sudo usermod -a -G root jenkins'
sh 'sudo cp $TWILIO_CREDS .env'
sh 'whoami'
sh 'cp $TWILIO_CREDS .env'
sh 'docker build -t microblog:latest .'
}
}