diff --git a/Jenkinsfile b/Jenkinsfile index aed85df..fcb9d82 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stages { stage('recreate > build > reun container') { steps { - sh "docker-compose up --force-recreate --build -d parse_saby" + sh "docker-compose up --force-recreate --build parse_saby" } } diff --git a/app/working_database.py b/app/working_database.py index 77946f6..ba6cd72 100644 --- a/app/working_database.py +++ b/app/working_database.py @@ -68,6 +68,7 @@ class SimpleDB: if date_to != None: date_to = parser.parse(date_to_str) # тестого print(value) - cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [int(id), organ,names, date_from, date_to, ver]) + respons = cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [int(id), organ,names, date_from, date_to, ver]) + print(respons) except Error as e: raise HTTPException(status_code=500, detail=f"Database error: {e}")