Fix WhatsAppReminder Jenkinsfile
This commit is contained in:
2
jenkinsfiles/WhatsAppReminder/Jenkinsfile
vendored
2
jenkinsfiles/WhatsAppReminder/Jenkinsfile
vendored
@@ -16,7 +16,7 @@ pipeline {
|
|||||||
usernamePassword(credentialsId: 'forum_database', usernameVariable: 'TLW_DATABASE_USERNAME', passwordVariable: 'TLW_DATABASE_PASSWORD'),
|
usernamePassword(credentialsId: 'forum_database', usernameVariable: 'TLW_DATABASE_USERNAME', passwordVariable: 'TLW_DATABASE_PASSWORD'),
|
||||||
usernamePassword(credentialsId: 'forum_user', usernameVariable: 'FORUM_USERNAME', passwordVariable: 'FORUM_PASSWORD'),
|
usernamePassword(credentialsId: 'forum_user', usernameVariable: 'FORUM_USERNAME', passwordVariable: 'FORUM_PASSWORD'),
|
||||||
string(credentialsId: 'WhatsApp_Token', variable: 'TLW_WHATSAPP_API_KEY'),
|
string(credentialsId: 'WhatsApp_Token', variable: 'TLW_WHATSAPP_API_KEY'),
|
||||||
string(credentialsId: 'OPENAI_TOKEN', secretVariable: 'OPENAI_TOKEN')
|
string(credentialsId: 'OPENAI_TOKEN', variable: 'OPENAI_TOKEN')
|
||||||
]) {
|
]) {
|
||||||
withEnv([
|
withEnv([
|
||||||
"JAVA_HOME=${jdkPath}/jdk-19.0.2"
|
"JAVA_HOME=${jdkPath}/jdk-19.0.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user