change agent for boto3

This commit is contained in:
hardy
2021-12-08 09:04:55 +01:00
parent e462d321c9
commit bc6a4b92dc
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -379,6 +379,7 @@ pipeline {
} }
} }
stage ("Result Update"){ stage ("Result Update"){
agent {label DataBaseHost}
steps { steps {
script { script {
dir ('ci-scripts/ran_dashboard') { dir ('ci-scripts/ran_dashboard') {
+1 -1
View File
@@ -507,7 +507,7 @@ class Dashboard:
s3.meta.client.copy(copy_source, 'oaitestdashboard', path+'/'+ 'test_styles.css') s3.meta.client.copy(copy_source, 'oaitestdashboard', path+'/'+ 'test_styles.css')
def PostGitNote(self,singlemr) def PostGitNote(self,singlemr):
gl = gitlab.Gitlab.from_config('OAI') gl = gitlab.Gitlab.from_config('OAI')
project_id = 223 project_id = 223
project = gl.projects.get(project_id) project = gl.projects.get(project_id)