Commit 11eab688 authored by hardy's avatar hardy

fix executor agent syntax

parent fceea50a
......@@ -51,15 +51,12 @@ def StatusForDb = ""
pipeline {
agent none
agent {label pythonExecutor}
options {
disableConcurrentBuilds()
ansiColor('xterm')
lock(extra: [[resource: ciSmartPhonesResource2]], resource: ciSmartPhonesResource1)
}
stages {
stage ("Py Exec"){
agent {label pythonExecutor}
stages {
stage("Build Init") {
steps {
......@@ -276,16 +273,8 @@ pipeline {
}
}
}
}
}
}
}
stage ("DB Host"){
stage ("SQL Collect"){
agent {label DataBaseHost}
stages {
stage("SQL Collect ") {
steps {
script {
if (currentBuild.result=='FAILURE') {StatusForDb = 'FAIL'} else {StatusForDb = 'PASS'}
......@@ -295,12 +284,10 @@ pipeline {
}
}
}
}
post {
always {
node(pythonExecutor){
script {
if (params.pipelineZipsConsoleLog != null) {
if (params.pipelineZipsConsoleLog) {
......@@ -315,5 +302,4 @@ pipeline {
}
}
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment