Fix WhatsAppReminder Jenkinsfile

This commit is contained in:
2024-06-18 21:37:03 +02:00
parent b77d425f58
commit adae524312

View File

@@ -16,7 +16,7 @@ pipeline {
usernamePassword(credentialsId: 'forum_database', usernameVariable: 'TLW_DATABASE_USERNAME', passwordVariable: 'TLW_DATABASE_PASSWORD'),
usernamePassword(credentialsId: 'forum_user', usernameVariable: 'FORUM_USERNAME', passwordVariable: 'FORUM_PASSWORD'),
string(credentialsId: 'WhatsApp_Token', variable: 'TLW_WHATSAPP_API_KEY'),
string(credentialsId: 'OPENAI_TOKEN', secretVariable: 'OPENAI_TOKEN')
string(credentialsId: 'OPENAI_TOKEN', variable: 'OPENAI_TOKEN')
]) {
withEnv([
"JAVA_HOME=${jdkPath}/jdk-19.0.2"