Hi,

I have a python application that runs on jenkins and logs at
*{WORKSPACE}/bot.log
*but for some reason jenkins console output is not showing full detailed log*
i.e- bot.log*

[image: image.png]

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
                '''
            }
        }
    }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAJZzqDFuSFSkU9-kmwOT%2BUVLJY%2BU6uk_2KGARwnKp7f6FHjsHA%40mail.gmail.com.

Reply via email to