Update Jenkinsfile

This commit is contained in:
Manraj 2023-03-11 14:12:45 -05:00 committed by GitHub
parent 69db465373
commit c3a61854a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -10,10 +10,12 @@ pipeline {
}
stage('Build') {
environment {
TWILIO_CREDS = credentials('twilio-creds')
TWILIO_ACCOUNT_SID = credentials('TWILIO_ACCOUNT_SID')
TWILIO_AUTH_TOKEN = credentials('TWILIO_ACCOUNT_SID')
TWILIO_VERIFY_SERVICE_ID = credentials('TWILIO_ACCOUNT_SID')
}
steps {
sh 'cp $TWILIO_CREDS .env'
echo '$TWILIO_ACCOUNT_SID'
sh 'docker build -t microblog:latest .'
}
}