Feat(Captcha): Initial captcha solver
All checks were successful
ktm-booking-bot/ktm-booking-bot/pipeline/head This commit looks good

This commit is contained in:
2023-10-05 16:18:35 +08:00
parent e403ed6767
commit 828571312b
7 changed files with 240 additions and 5 deletions

3
Jenkinsfile vendored
View File

@@ -13,6 +13,7 @@ pipeline {
COOKIE_STRING = credentials("COOKIE_STRING")
ALLOW_REGISTRATION = credentials("ALLOW_REGISTRATION")
LOGGER_WEBHOOK_URL = credentials("LOGGER_WEBHOOK_URL")
TWOCAPTCHA_API_KEY = credentials("TWOCAPTCHA_API_KEY")
}
stages {
@@ -29,6 +30,8 @@ pipeline {
sh 'echo COOKIE_STRING=$COOKIE_STRING >> .env'
sh 'echo ALLOW_REGISTRATION=$ALLOW_REGISTRATION >> .env'
sh 'echo LOGGER_WEBHOOK_URL=$LOGGER_WEBHOOK_URL >> .env'
sh 'echo FORCE_START_BOOKING=false >> .env'
sh 'echo TWOCAPTCHA_API_KEY=$TWOCAPTCHA_API_KEY >> .env'
echo 'Clearing Git directory'
sh 'rm -rf ./.git'
}