Updated credentials in Jenkinsfile. #3
nclazz/nclazz-mail-relay/pipeline/head This commit looks good
Details
nclazz/nclazz-mail-relay/pipeline/head This commit looks good
Details
parent
d7edbc8237
commit
0afa1eacfd
|
@ -3,6 +3,8 @@ pipeline {
|
|||
|
||||
environment {
|
||||
NEXUS = credentials('jenkins_nexus')
|
||||
MAIL = credentials('robots_mail')
|
||||
NCLAZZ = credentials('nclazz_api_token')
|
||||
|
||||
DOCKER_REGISTRY = "docker.nclazz.de"
|
||||
DOCKER_GROUP = 'nclazz-service'
|
||||
|
@ -102,7 +104,10 @@ pipeline {
|
|||
slackChannel: 'deployment',
|
||||
env: [
|
||||
PORT: 7006,
|
||||
VERSION: env.DOCKER_VERSION
|
||||
VERSION: env.DOCKER_VERSION,
|
||||
MAIL_USERNAME: env.MAIL_USR,
|
||||
MAIL_PASSWORD: env.MAIL_PSW,
|
||||
AUTH_TOKEN: env.NCLAZZ_PWS
|
||||
]
|
||||
)
|
||||
exposeService(
|
||||
|
|
|
@ -2,6 +2,10 @@ version: '3.8'
|
|||
services:
|
||||
service:
|
||||
image: docker.nclazz.de/nclazz-service/mail-relay:$VERSION
|
||||
environment:
|
||||
SPRING_MAIL_USERNAME: "${MAIL_USERNAME}"
|
||||
SPRING_MAIL_PASSWORD: "${MAIL_PASSWORD}"
|
||||
NCLAZZ_AUTH_TOKEN: "${AUTH_TOKEN}"
|
||||
stop_grace_period: 60s
|
||||
deploy:
|
||||
replicas: 1
|
||||
|
|
|
@ -7,5 +7,10 @@ management.endpoints.web.exposure.include=info,health
|
|||
management.endpoint.info.enabled=true
|
||||
management.endpoint.health.enabled=true
|
||||
|
||||
spring.mail.username=
|
||||
spring.mail.password=
|
||||
spring.mail.host=smtp.nclazz.de
|
||||
spring.mail.port=25
|
||||
spring.mail.protocol=smtp
|
||||
|
||||
nclazz.auth.token=
|
Loading…
Reference in New Issue