As you can the above screenshot we are not getting full detailed log but on the server at the location bot.log is having full detailed lines so how can i get that full detailed log on console output ?
i am running below pipeline script
pipeline {
agent any
environment {
CLIENT_ID = credentials('CLIENT_ID_B_PROD')
SECRET_ID = credentials('SECRET_ID_B_PROD')
NET_CLIENT_ID = credentials('NET_CLIENT_B_PROD')
NET_SECRET_ID = credentials('NET_SECRET_ID_B_PROD')
}
stages {
stage('Run BOT') {
steps {
sh '''
export HTTPX_LOG_LEVEL=debug
cd /opt/apps/triage
source venv/bin/activate # Activate your virtual environment
python bot.py B_PLANNED UAT
deactivate # Deactivate the virtual environment after running the script
'''
}
}
}
}