Update Jenkinsfile
This commit is contained in:
parent
41be7f86ed
commit
7ef301c166
|
@ -13,7 +13,8 @@ pipeline {
|
||||||
TWILIO_CREDS = credentials('twilio-creds')
|
TWILIO_CREDS = credentials('twilio-creds')
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'cp $TWILIO_CREDS .env'
|
sh 'chown -R root:jenkins target/'
|
||||||
|
sh 'sudo cp $TWILIO_CREDS .env'
|
||||||
sh 'docker build -t microblog:latest .'
|
sh 'docker build -t microblog:latest .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue