Jenkins - Issues with automating the build export V8.5 PE- DevOps
Hi, I have followed the instructions in PDN to automate the exports using jenkins - getting the following error. Any ideas/suggestions pls
Hi, I have followed the instructions in PDN to automate the exports using jenkins - getting the following error. Any ideas/suggestions pls
Running as SYSTEM [EnvInject] - Loading node environment variables. [EnvInject] - Preparing an environment for the build. [EnvInject] - Keeping Jenkins system variables. [EnvInject] - Keeping Jenkins build variables. [EnvInject] - Injecting as environment variables the properties content ImportExistingInstances=override [email protected] SystemName=$BUILD_TAG SourcePassword=Rules@12345 SourceHost=http://localhost:8080 [EnvInject] - Variables injected successfully. [EnvInject] - Injecting contributions. Building in workspace C:\Windows\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\PegaDevops1 [EnvInject] - Unset unresolved 'USERNAME' variable. [jenkins] $ cmd.exe /C "ant.bat -file Jenkins-build.xml -DapplicationVersion=01.01.01 -DproductVersion=01.01.01 -DproductName=CIG -DapplicationName=CIG exportprops && exit %%ERRORLEVEL%%" Buildfile: C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\samples\jenkins\Jenkins-build.xml exportprops: [propertyfile] Creating new property file: C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\utils\jenkins-PegaDevops1-52_export.properties BUILD SUCCESSFUL Total time: 0 seconds [PegaDevops1] $ cmd /c call C:\Windows\TEMP\jenkins15341778623077404022.bat C:\Windows\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\PegaDevops1>C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\utils\prpcServiceUtils.bat export --connPropFile Invoke our ant script, passing in the arguments as collected Buildfile: C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\utils\prpcserviceutilsWrapper.xml -init: [echo] ****************************************************************** [echo] Build date : ${pegaBuildDate.value} [echo] Pega7 platform version : 8.5.2 [echo] ****************************************************************** [delete] Deleting directory C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\utils\generated [mkdir] Created dir: C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\utils\generated [pega:propertyparser] Reading Properties from: C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\utils/prpcServiceUtils.properties [pega:propertyparser] expose.startDate= [pega:propertyparser] import.bypassSchema= [pega:propertyparser] expose.excludedClasses= [pega:propertyparser] rollback.applicationVersion= [pega:propertyparser] import.nonpegarulesOnly=false [pega:propertyparser] hotfix.async=true [pega:propertyparser] import.nofailonerror=false [pega:propertyparser] import.bypassSchemaChangesToDescendantTables=false [pega:propertyparser] expose.endKey= [pega:propertyparser] expose.endDate= [pega:propertyparser] import.mode=import [pega:propertyparser] import.allowImportWithMissingDependencies=false [pega:propertyparser] rollback.async=true [pega:propertyparser] pega.rest.proxy.password=***** [pega:propertyparser] pega.rest.password=***** [pega:propertyparser] pega.rest.response.type=json [pega:propertyparser] rollback.action=SystemRollback [pega:propertyparser] import.bypassColumnPopulation=false [pega:propertyparser] rollback.applicationName= [pega:propertyparser] pega.rest.proxy.workstation= [pega:propertyparser] export.productName= [pega:propertyparser] pega.rest.proxy.port= [pega:propertyparser] export.exportToRepository=false [pega:propertyparser] export.repositoryName= [pega:propertyparser] hotfix.catalogPath= [pega:propertyparser] import.compileLibraries=true [pega:propertyparser] import.codesetVersion=06-01-01 [pega:propertyparser] export.applicationName= [pega:propertyparser] import.commitRate=100 [pega:propertyparser] export.applicationVersion= [pega:propertyparser] pega.rest.server.url=http://<host name>:<port number>/<context>/PRRestService/<tenant url hash> [pega:propertyparser] expose.includedClasses= [pega:propertyparser] import.allowInheritedConnections=false [pega:propertyparser] getstatus.jobID= [pega:propertyparser] pega.rest.proxy.domain= [pega:propertyparser] custom.jvm.args= [pega:propertyparser] import.skipBackup=false [pega:propertyparser] hotfix.bypassSchema=false [pega:propertyparser] manageRestorePoints.action= [pega:propertyparser] updateAccessGroup.groupList= [pega:propertyparser] user.temp.dir= [pega:propertyparser] expose.reindexType=nonpega [pega:propertyparser] import.archive.path= [pega:propertyparser] export.productVersion= [pega:propertyparser] import.importFromRepository=false [pega:propertyparser] import.archivePath= [pega:propertyparser] manageRestorePoints.restorePointLabel= [pega:propertyparser] updateDASS.filePath= [pega:propertyparser] updateAccessGroup.applicationName= [pega:propertyparser] rollback.userName= [pega:propertyparser] expose.reindex=true [pega:propertyparser] import.preserveOrder=false [pega:propertyparser] export.archiveName= [pega:propertyparser] export.repositoryFolder= [pega:propertyparser] rollback.restorePointName= [pega:propertyparser] hotfix.force=false [pega:propertyparser] export.branchAppContext= [pega:propertyparser] hotfix.operation= [pega:propertyparser] getstatus.operationName= [pega:propertyparser] expose.startKey= [pega:propertyparser] hotfix.dlFilePath= [pega:propertyparser] manageRestorePoints.restorePointName= [pega:propertyparser] import.async=true [pega:propertyparser] expose.numOfThreads=1 [pega:propertyparser] rollback.downloadLogToFile=true [pega:propertyparser] import.codesetName=Customer [pega:propertyparser] export.branchName= [pega:propertyparser] expose.commitRate=100 [pega:propertyparser] import.repositoryName= [pega:propertyparser] import.artifactType= [pega:propertyparser] expose.includeDescendents=true [pega:propertyparser] import.preferencespath= [pega:propertyparser] pega.rest.proxy.username= [pega:propertyparser] expose.async=true [pega:propertyparser] pega.rest.proxy.host= [pega:propertyparser] expose.excludeDescendents=true [pega:propertyparser] updateAccessGroup.applicationVersion= [pega:propertyparser] import.bypassInstanceMigration=false [pega:propertyparser] import.existingInstances=skip [pega:propertyparser] pega.rest.username= [pega:propertyparser] import.insecureOperators= [pega:propertyparser] export.async=true [mkdir] Created dir: C:\Windows\TEMP\PegaInstallTemp-09-June-2021-17.55.42 [pega:hasenoughspace] Found 362448428KB of free space on 'C:\Windows\TEMP\' [echo] *** JVM Arguments -Xmx1280m -Dlog4j.configurationFile=file:///C%3A%5CJenkins%5CprpcServiceUtils_8.5%5CprpcServiceUtils%5Cscripts%5Clib%5Clog4j2.xml -Dlogfile.timestamp=20210609_175542 *** -processInstances: [echo] Performing ${prpc.service.util.action} on multiple instance(s) [pega:echoargline] arg line : -action ${prpc.service.util.action} -propFileDir C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\utils/generated -poolSize ${prpcserviceutils.pool.size} -requestTimeOut ${prpcserviceutils.request.timeout} -tempDir C:\Windows\TEMP\/PegaInstallTemp-09-June-2021-17.55.42 -artifactsDir logs -processFailStrategy FAIL_PROCESS_ON_SINGLE_SYSTEM_FAILURE [echo] Reading connection information from -Dprpc.service.util.action=export BUILD FAILED C:\Jenkins\prpcServiceUtils_8.5\prpcServiceUtils\scripts\utils\prpcserviceutilsWrapper.xml:179: Connection Property file -Dprpc.service.util.action=export is not a valid file Total time: 0 seconds Exiting with Error Build step 'Execute Windows batch command' marked build as failure An attempt to send an e-mail to empty list of recipients, ignored. Finished: FAILURE