org.swift.common.cli.CliClient$ClientException: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt

JIRA | George Meyer | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When running run action to perform templated actions, getting an error difficult to decipher during action "addRepository". Creating a repository from scratch each time since each build plan needs a unique branch and there are many distinct repos. *Command being enacted in the Windows terminal:* {code:java} bamboo -v --action run --file bamboo_project_template.txt --findReplace "#PROJECT#:ENGLISHIVV13CID4160,#NAME#:"English-IV-v13-GS-4160",#WEBDAV#:educator_englishIV_v13_2_gs,#BRANCH#:gs_master_v13,#CLONEURL#:English%%20IV {code} *Template txt file being used:* {code:java} # Create a new project based on a template project --action cloneProject --project GE --toProject #PROJECT# # --name "#NAME#" # Add VSO/Git Repository --action addRepository --plan #PROJECT#-PRE --repositoryKey "GIT" --repository "VSO #WEBDAV#" --field1 repository.git.repositoryUrl --value1 https://flvs.visualstudio.com/DefaultCollection/cs/_git/#CLONEURL# --field2 repository.git.branch --value2 "#BRANCH#" --field3 repository.git.username --value3 "iceteam" --field4 repository.git.password --value4 "4bw5rngxkdklwww5xxxxxxxxxxxxxgar==xxxxxxxxxxxxxsg7mhn2ykmq" # Add a script task to PRE --action addTask --build #PROJECT#-PRE --job "default" --taskKey "CHECKOUT" --fields "argument:pubplan" --field1 "Repository" --value1 "VSO #WEBDAV#" --action addTask --build #PROJECT#-PRE --job "default" --taskKey "SCRIPT" --fields "argument:pubplan" --field1 "scriptLocation" --value1 "FILE" --field2 "scriptFile" --value2 "C:\Users\admin\Desktop\cwRsync_5.5.0_x86_Free\rsync_pub2.bat" --field3 "Argument" --value3 "${bamboo.buildKey} #WEBDAV#" {code} *CLI output pasted below:* {code:java} C:\Users\admin\Desktop\bamboo-cli-5.2.0>bamboo_action.bat C:\Users\admin\Desktop\bamboo-cli-5.2.0>bamboo -v --action run --file bamboo_project_template.txt --findReplace "#PROJECT#:ENGLISHIVV13CID4160,#NAME#:"English-IV-v13-GS-4160",#WEBD AV#:educator_englishIV_v13_2_gs,#BRANCH#:gs_master_v13,#CLONEURL#:English%20IV Server address: http://127.0.0.1:8085 Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/org.swift.bamboo.cli/latest/validatelicense? # Create a new project based on a template project Run: --action cloneProject --project GE --toProject ENGLISHIVV13CID4160 Server address: http://127.0.0.1:8085 URL requested: http://127.0.0.1:8085/rest/api/latest/project/GE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project/GE? URL requested: http://127.0.0.1:8085/rest/api/latest/project/GE?&expand=plans.plan&max-results=100&start-index=0 Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project/GE?&expand=plans.plan&max-results=100&start-index=0 URL requested: http://127.0.0.1:8085/rest/api/latest/project?&max-results=2147483647 Request type: GET Content type: application/xml Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project?&max-results=2147483647 Looking for project ENGLISHIVV13CID4160: AGV3 Looking for project ENGLISHIVV13CID4160: C1VG Looking for project ENGLISHIVV13CID4160: EIVG Looking for project ENGLISHIVV13CID4160: MLAVG Looking for project ENGLISHIVV13CID4160: MUHV3G Looking for project ENGLISHIVV13CID4160: MWHVG4 Looking for project ENGLISHIVV13CID4160: P1VG Looking for project ENGLISHIVV13CID4160: GE URL requested: http://127.0.0.1:8085/build/admin/create/performClonePlan.action?&planKeyToClone=GE-PRE&chainName=pubplan&projectKey=ENGLISHIVV13CID4160&chainKey=PRE&clonePlan=true& bamboo.successReturnMode=json&save=Create&projectName=ENGLISHIVV13CID4160&chainDescription=&tmp.createAsEnabled=true&existingProjectKey=newProject Request type: POST Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/build/admin/create/performClonePlan.action?&planKeyToClone=GE-PRE&chainName=pubplan&projectKey=ENGLISHIVV13CID4160&chain Key=PRE&clonePlan=true&bamboo.successReturnMode=json&save=Create&projectName=ENGLISHIVV13CID4160&chainDescription=&tmp.createAsEnabled=true&existingProjectKey=newProject URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Plan ENGLISHIVV13CID4160-PRE created based on GE-PRE. 1 plans cloned from GE to ENGLISHIVV13CID4160. # --name "English-IV-v13-GS-4160" # Add VSO/Git Repository Run: --action addRepository --plan ENGLISHIVV13CID4160-PRE --repositoryKey "GIT" --repository "VSO educator_englishIV_v13_2_gs" --field1 repository.git.repositoryUrl --value1 https ://flvs.visualstudio.com/DefaultCollection/cs/_git/English%20IV --field2 repository.git.branch --value2 "gs_master_v13" --field3 repository.git.username --value3 "iceteam" --field4 repository.git.password --value4 "4bw5rngxkdklxxxxxxxxxxxxxxxxxxxxxxxx7mhn2ykmq" Server address: http://127.0.0.1:8085 URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE?&expand=plans.plan Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE?&expand=plans.plan URL requested: http://127.0.0.1:8085/chain/admin/config/editChainRepository.action?&buildKey=ENGLISHIVV13CID4160-PRE Request type: GET Content type: text/html Response code: 200, message: OK, url: http://127.0.0.1:8085/chain/admin/config/editChainRepository.action?&buildKey=ENGLISHIVV13CID4160-PRE URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? URL requested: http://127.0.0.1:8085/chain/admin/config/createRepository.action?&confirm=true&selectedRepository=com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git%3Agit&repo sitory.git.username=iceteam&bamboo.successReturnMode=json&repositoryId=0&planKey=ENGLISHIVV13CID4160-PRE&repository.git.branch=gs_master_v13&repository.git.password=***&repository. git.repositoryUrl=https%3A%2F%2Fflvs.visualstudio.com%2FDefaultCollection%2Fcs%2F_git%2FEnglish%2520IV&repositoryName=VSO+educator_englishIV_v13_2_gs Request type: POST Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/chain/admin/config/createRepository.action?&confirm=true&selectedRepository=com.atlassian.bamboo.plugins.atlassian-bambo o-plugin-git%3Agit&repository.git.username=iceteam&bamboo.successReturnMode=json&repositoryId=0&planKey=ENGLISHIVV13CID4160-PRE&repository.git.branch=gs_master_v13&repository.git.p assword=***&repository.git.repositoryUrl=https%3A%2F%2Fflvs.visualstudio.com%2FDefaultCollection%2Fcs%2F_git%2FEnglish%2520IV&repositoryName=VSO+educator_englishIV_v13_2_gs Remote error: unknown org.swift.common.cli.AbstractRemoteClient$RemoteRestException: unknown at org.swift.bamboo.cli.helpers.RepositoryHelper.addOrUpdateRepository(RepositoryHelper.java:197) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:713) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.common.cli.CliClient.doWork(CliClient.java:521) at org.swift.common.cli.CliClient.doWork(CliClient.java:517) at org.swift.common.cli.CliClient.processRunLine(CliClient.java:1253) at org.swift.common.cli.AbstractRemoteClient.processRunLine(AbstractRemoteClient.java:772) at org.swift.common.cli.CliClient.doSingleRunLine(CliClient.java:1225) at org.swift.common.cli.CliClient.run(CliClient.java:1086) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:525) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253) Client error: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt org.swift.common.cli.CliClient$ClientException: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt at org.swift.common.cli.CliClient.run(CliClient.java:1159) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:525) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253) C:\Users\admin\Desktop\bamboo-cli-5.2.0> {code}

    JIRA | 11 months ago | George Meyer
    org.swift.common.cli.CliClient$ClientException: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt
  2. 0

    When running run action to perform templated actions, getting an error difficult to decipher during action "addRepository". Creating a repository from scratch each time since each build plan needs a unique branch and there are many distinct repos. *Command being enacted in the Windows terminal:* {code:java} bamboo -v --action run --file bamboo_project_template.txt --findReplace "#PROJECT#:ENGLISHIVV13CID4160,#NAME#:"English-IV-v13-GS-4160",#WEBDAV#:educator_englishIV_v13_2_gs,#BRANCH#:gs_master_v13,#CLONEURL#:English%%20IV {code} *Template txt file being used:* {code:java} # Create a new project based on a template project --action cloneProject --project GE --toProject #PROJECT# # --name "#NAME#" # Add VSO/Git Repository --action addRepository --plan #PROJECT#-PRE --repositoryKey "GIT" --repository "VSO #WEBDAV#" --field1 repository.git.repositoryUrl --value1 https://flvs.visualstudio.com/DefaultCollection/cs/_git/#CLONEURL# --field2 repository.git.branch --value2 "#BRANCH#" --field3 repository.git.username --value3 "iceteam" --field4 repository.git.password --value4 "4bw5rngxkdklwww5xxxxxxxxxxxxxgar==xxxxxxxxxxxxxsg7mhn2ykmq" # Add a script task to PRE --action addTask --build #PROJECT#-PRE --job "default" --taskKey "CHECKOUT" --fields "argument:pubplan" --field1 "Repository" --value1 "VSO #WEBDAV#" --action addTask --build #PROJECT#-PRE --job "default" --taskKey "SCRIPT" --fields "argument:pubplan" --field1 "scriptLocation" --value1 "FILE" --field2 "scriptFile" --value2 "C:\Users\admin\Desktop\cwRsync_5.5.0_x86_Free\rsync_pub2.bat" --field3 "Argument" --value3 "${bamboo.buildKey} #WEBDAV#" {code} *CLI output pasted below:* {code:java} C:\Users\admin\Desktop\bamboo-cli-5.2.0>bamboo_action.bat C:\Users\admin\Desktop\bamboo-cli-5.2.0>bamboo -v --action run --file bamboo_project_template.txt --findReplace "#PROJECT#:ENGLISHIVV13CID4160,#NAME#:"English-IV-v13-GS-4160",#WEBD AV#:educator_englishIV_v13_2_gs,#BRANCH#:gs_master_v13,#CLONEURL#:English%20IV Server address: http://127.0.0.1:8085 Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/org.swift.bamboo.cli/latest/validatelicense? # Create a new project based on a template project Run: --action cloneProject --project GE --toProject ENGLISHIVV13CID4160 Server address: http://127.0.0.1:8085 URL requested: http://127.0.0.1:8085/rest/api/latest/project/GE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project/GE? URL requested: http://127.0.0.1:8085/rest/api/latest/project/GE?&expand=plans.plan&max-results=100&start-index=0 Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project/GE?&expand=plans.plan&max-results=100&start-index=0 URL requested: http://127.0.0.1:8085/rest/api/latest/project?&max-results=2147483647 Request type: GET Content type: application/xml Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/project?&max-results=2147483647 Looking for project ENGLISHIVV13CID4160: AGV3 Looking for project ENGLISHIVV13CID4160: C1VG Looking for project ENGLISHIVV13CID4160: EIVG Looking for project ENGLISHIVV13CID4160: MLAVG Looking for project ENGLISHIVV13CID4160: MUHV3G Looking for project ENGLISHIVV13CID4160: MWHVG4 Looking for project ENGLISHIVV13CID4160: P1VG Looking for project ENGLISHIVV13CID4160: GE URL requested: http://127.0.0.1:8085/build/admin/create/performClonePlan.action?&planKeyToClone=GE-PRE&chainName=pubplan&projectKey=ENGLISHIVV13CID4160&chainKey=PRE&clonePlan=true& bamboo.successReturnMode=json&save=Create&projectName=ENGLISHIVV13CID4160&chainDescription=&tmp.createAsEnabled=true&existingProjectKey=newProject Request type: POST Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/build/admin/create/performClonePlan.action?&planKeyToClone=GE-PRE&chainName=pubplan&projectKey=ENGLISHIVV13CID4160&chain Key=PRE&clonePlan=true&bamboo.successReturnMode=json&save=Create&projectName=ENGLISHIVV13CID4160&chainDescription=&tmp.createAsEnabled=true&existingProjectKey=newProject URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Plan ENGLISHIVV13CID4160-PRE created based on GE-PRE. 1 plans cloned from GE to ENGLISHIVV13CID4160. # --name "English-IV-v13-GS-4160" # Add VSO/Git Repository Run: --action addRepository --plan ENGLISHIVV13CID4160-PRE --repositoryKey "GIT" --repository "VSO educator_englishIV_v13_2_gs" --field1 repository.git.repositoryUrl --value1 https ://flvs.visualstudio.com/DefaultCollection/cs/_git/English%20IV --field2 repository.git.branch --value2 "gs_master_v13" --field3 repository.git.username --value3 "iceteam" --field4 repository.git.password --value4 "4bw5rngxkdklxxxxxxxxxxxxxxxxxxxxxxxx7mhn2ykmq" Server address: http://127.0.0.1:8085 URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE?&expand=plans.plan Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE?&expand=plans.plan URL requested: http://127.0.0.1:8085/chain/admin/config/editChainRepository.action?&buildKey=ENGLISHIVV13CID4160-PRE Request type: GET Content type: text/html Response code: 200, message: OK, url: http://127.0.0.1:8085/chain/admin/config/editChainRepository.action?&buildKey=ENGLISHIVV13CID4160-PRE URL requested: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? Request type: GET Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/rest/api/latest/plan/ENGLISHIVV13CID4160-PRE? URL requested: http://127.0.0.1:8085/chain/admin/config/createRepository.action?&confirm=true&selectedRepository=com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git%3Agit&repo sitory.git.username=iceteam&bamboo.successReturnMode=json&repositoryId=0&planKey=ENGLISHIVV13CID4160-PRE&repository.git.branch=gs_master_v13&repository.git.password=***&repository. git.repositoryUrl=https%3A%2F%2Fflvs.visualstudio.com%2FDefaultCollection%2Fcs%2F_git%2FEnglish%2520IV&repositoryName=VSO+educator_englishIV_v13_2_gs Request type: POST Content type: application/json Response code: 200, message: OK, url: http://127.0.0.1:8085/chain/admin/config/createRepository.action?&confirm=true&selectedRepository=com.atlassian.bamboo.plugins.atlassian-bambo o-plugin-git%3Agit&repository.git.username=iceteam&bamboo.successReturnMode=json&repositoryId=0&planKey=ENGLISHIVV13CID4160-PRE&repository.git.branch=gs_master_v13&repository.git.p assword=***&repository.git.repositoryUrl=https%3A%2F%2Fflvs.visualstudio.com%2FDefaultCollection%2Fcs%2F_git%2FEnglish%2520IV&repositoryName=VSO+educator_englishIV_v13_2_gs Remote error: unknown org.swift.common.cli.AbstractRemoteClient$RemoteRestException: unknown at org.swift.bamboo.cli.helpers.RepositoryHelper.addOrUpdateRepository(RepositoryHelper.java:197) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:713) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.common.cli.CliClient.doWork(CliClient.java:521) at org.swift.common.cli.CliClient.doWork(CliClient.java:517) at org.swift.common.cli.CliClient.processRunLine(CliClient.java:1253) at org.swift.common.cli.AbstractRemoteClient.processRunLine(AbstractRemoteClient.java:772) at org.swift.common.cli.CliClient.doSingleRunLine(CliClient.java:1225) at org.swift.common.cli.CliClient.run(CliClient.java:1086) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:525) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253) Client error: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt org.swift.common.cli.CliClient$ClientException: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt at org.swift.common.cli.CliClient.run(CliClient.java:1159) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:525) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253) C:\Users\admin\Desktop\bamboo-cli-5.2.0> {code}

    JIRA | 11 months ago | George Meyer
    org.swift.common.cli.CliClient$ClientException: 1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt
  3. 0

    To try and avoid dropping history rather than deleting a plan and recreating I was trying to leave the the plan in place but remove and recreate the internals. This appears to trigger bad behaviour when a job is recreated. Completely deleting the plan and recreating resets to good. To see the problem run the following.. --action createPlan --plan TEST-T1 --name TestName --project TestProject --action addStage --plan TEST-T1 --stage "Test Stage" --action addJob --plan TEST-T1 --stage "@stage@" --job "Default Job" --action removeStage --plan TEST-T1 --id -1 --action addStage --plan TEST-T1 --stage "Test Stage" --action addJob --plan TEST-T1 --stage "@stage@" --job "Default Job" This gives the result Run: --action createPlan --plan TEST-T1 --name TestName --project TestProject Plan TEST-T1 created with name 'TestName'. Run: --action addStage --plan TEST-T1 --stage "Test Stage" Stage 'Test Stage' added to plan TEST-T1. Run: --action addJob --plan TEST-T1 --stage "Test Stage" --job "Default Job" Job DEFAULTJOB added to stage 'Test Stage' in plan TEST-T1. Run: --action removeStage --plan TEST-T1 --id -1 Stage 'Test Stage' removed from plan TEST-T1. 1 stages removed. # Remake stage and job. Run: --action addStage --plan TEST-T1 --stage "Test Stage" Stage 'Test Stage' added to plan TEST-T1. Run: --action addJob --plan TEST-T1 --stage "Test Stage" --job "Default Job" Remote error: Hibernate flushing: Could not execute JDBC batch update; uncategorized SQLException for SQL [insert into BUILD (CREATED_DATE, UPDATED_DA TE, FULL_KEY, BUILDKEY, TITLE, DESCRIPTION, SUSPENDED_FROM_BUILDING, MARKED_FOR_DELETION, OID, PROJECT_ID, MASTER_ID, REQUIREMENT_SET, STAGE_ID, BUILD _TYPE, BUILD_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'JOB', ?)]; SQL state [null]; error code [0]; failed batch; nested exception is java.s ql.BatchUpdateException: failed batch Client error: 1 actions failed, 5 actions were successful from file: E:\CLI\ppaTestFail.txt Is it possible that removing the stage does not correctly remove the contained jobs? I could be wrong but it feels like it should. My original use case also gave the exception as below. I'm not sure why my canned example above didn't Remote error: Hibernate flushing: Could not execute JDBC batch update; uncategorized SQLException for SQL [insert into BUILD (CREATED_DATE, UPDATED_D TE, FULL_KEY, BUILDKEY, TITLE, DESCRIPTION, SUSPENDED_FROM_BUILDING, MARKED_FOR_DELETION, OID, PROJECT_ID, MASTER_ID, REQUIREMENT_SET, STAGE_ID, BUIL _TYPE, BUILD_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'JOB', ?)]; SQL state [null]; error code [0]; failed batch; nested exception is java. ql.BatchUpdateException: failed batch org.swift.common.cli.AbstractRemoteClient$RemoteRestException: Hibernate flushing: Could not execute JDBC batch update; uncategorized SQLException fo SQL [insert into BUILD (CREATED_DATE, UPDATED_DATE, FULL_KEY, BUILDKEY, TITLE, DESCRIPTION, SUSPENDED_FROM_BUILDING, MARKED_FOR_DELETION, OID, PROJE T_ID, MASTER_ID, REQUIREMENT_SET, STAGE_ID, BUILD_TYPE, BUILD_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'JOB', ?)]; SQL state [null]; error ode [0]; failed batch; nested exception is java.sql.BatchUpdateException: failed batch at org.swift.common.cli.AbstractRestClient.printErrorMessages(AbstractRestClient.java:293) at org.swift.common.cli.AbstractRestClient.restRequestWithUrlConnection(AbstractRestClient.java:719) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:573) at org.swift.common.cli.AbstractRestClient.restRequestWithFullUrl(AbstractRestClient.java:544) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:519) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:507) at org.swift.common.cli.AbstractRestClient.restRequest(AbstractRestClient.java:491) at org.swift.bamboo.cli.AppfireClientForBamboo.addJob(AppfireClientForBamboo.java:141) at org.swift.bamboo.cli.helpers.PlanHelper.addJob(PlanHelper.java:862) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:711) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:448) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.common.cli.CliClient.doWork(CliClient.java:521) at org.swift.common.cli.CliClient.doWork(CliClient.java:517) at org.swift.common.cli.CliClient.processRunLine(CliClient.java:1253) at org.swift.common.cli.AbstractRemoteClient.processRunLine(AbstractRemoteClient.java:777) at org.swift.common.cli.CliClient.doSingleRunLine(CliClient.java:1225) at org.swift.common.cli.CliClient.run(CliClient.java:1086) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:528) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:448) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:252) Client error: 1 actions failed, 8 actions were successful from file: E:\CLI\ppaTestScript.txt org.swift.common.cli.CliClient$ClientException: 1 actions failed, 8 actions were successful from file: E:\CLI\ppaTestScript.txt at org.swift.common.cli.CliClient.run(CliClient.java:1159) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:528) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:448) at org.swift.common.cli.CliClient.doWork(CliClient.java:454) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:252)

    JIRA | 7 months ago | Peter Adams
    org.swift.common.cli.CliClient$ClientException: 1 actions failed, 8 actions were successful from file: E:\CLI\ppaTestScript.txt
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.swift.common.cli.CliClient$ClientException

      1 actions failed, 1 actions were successful from file: C:\Users\admin\Desktop\bamboo-cli-5.2.0\bamboo_project_template.txt

      at org.swift.common.cli.CliClient.run()
    2. org.swift.common
      CliClient.run
      1. org.swift.common.cli.CliClient.run(CliClient.java:1159)
      1 frame
    3. org.swift.bamboo
      BambooClient.handleRequest
      1. org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:525)
      1 frame
    4. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:443)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:454)
      2 frames
    5. org.swift.bamboo
      BambooClient.main
      1. org.swift.bamboo.cli.BambooClient.main(BambooClient.java:253)
      1 frame