Adding pipeline…yaml file
trigger:
- master
pool:
name: 'Default'
variables:
SAG_Home: /home/viswa/Software-SAG
SAG_CI_HOME: /home/viswa/softwares/sagdevops-ci-assets
RELEASE_DEFINITIONNAME: sag
stages:
- stage: "Build"
jobs:
- job : "Build"
steps:
- script: '$(SAG_HOME)/common/lib/ant/bin/ant -DSAGHome=$(SAG_HOME) -DSAG_CI_HOME=$(SAG_CI_HOME) -DprojectName=$(RELEASE_DEFINITIONNAME) build'
workingDirectory: '$(System.DefaultWorkingDirectory)'
displayName: 'Build'
- stage: "Deploy"
jobs:
- job : "Deploy"
steps:
- script: '$(SAG_HOME)/common/lib/ant/bin/ant -DSAGHome=$(SAG_HOME) -DSAG_CI_HOME=$(SAG_CI_HOME) -DprojectName=$(RELEASE_DEFINITIONNAME) deploy'
workingDirectory: '$(System.DefaultWorkingDirectory)'
displayName: 'Deploy'
Do you get any error messages? Please provide a full error message screenshot and log file.
2022-08-06T12:44:26.7939112Z [exec] Creating Repository Indexes : aliasName = sagRepo
2022-08-06T12:44:26.7939559Z [exec]
2022-08-06T12:44:26.7940184Z [exec] [ INFO] [06 Aug 2022 18:14:26,701] (DeployerUtil.java:createRepositoryServerAliases:1332)
2022-08-06T12:44:26.7940920Z [exec] Created Repository Indexes : aliasName = sagRepo
2022-08-06T12:44:26.7941367Z [exec]
2022-08-06T12:44:26.7941957Z [exec] [ERROR] [06 Aug 2022 18:14:26,728] (RepoAssetUtil.java:getRepositoryComposite:220)
2022-08-06T12:44:26.7942758Z [exec] No Repository Objects for the type * found on the Source Server Alias sagRepo
2022-08-06T12:44:26.7943263Z [exec]
2022-08-06T12:44:26.7943853Z [exec] [ERROR] [06 Aug 2022 18:14:26,729] (RepoAssetUtil.java:getRepositoryComposite:299)
2022-08-06T12:44:26.7945210Z [exec] Error adding asset * from sagRepo to the Deployment Set myDeploymentSet. The asset is not present on the source
2022-08-06T12:44:26.7946260Z [exec]
2022-08-06T12:44:26.7946893Z [exec] [DEBUG] [06 Aug 2022 18:14:26,729] (ProjectPlanExecutorXMLParser.java:getProjectDetails:568)
2022-08-06T12:44:26.7947791Z [exec] Setting variable exitWithErrorCondition to true
2022-08-06T12:44:26.7948276Z [exec]
2022-08-06T12:44:26.7948901Z [exec] [DEBUG] [06 Aug 2022 18:14:26,732] (ProjectPlanExecutorXMLParser.java:getProjectDetails:627)
2022-08-06T12:44:26.7949580Z [exec] Deleting Project sag
2022-08-06T12:44:26.7949955Z [exec]
2022-08-06T12:44:26.7950749Z [exec] [ INFO] [06 Aug 2022 18:14:26,744] (ProjectPlanExecutorXMLParser.java:getProjectDetails:632)
2022-08-06T12:44:26.7951443Z [exec] Creating Project sag
2022-08-06T12:44:26.7951878Z [exec]
2022-08-06T12:44:27.0936564Z [exec] [ INFO] [06 Aug 2022 18:14:27,052] (ProjectPlanExecutorXMLParser.java:getProjectDetails:634)
2022-08-06T12:44:27.0937368Z [exec] Created Project sag
2022-08-06T12:44:27.0937757Z [exec]
2022-08-06T12:44:27.0938294Z [exec] [DEBUG] [06 Aug 2022 18:14:27,052] (DeploymentSet.java:create:189)
2022-08-06T12:44:27.0939309Z [exec] Creating Deployment Set myDeploymentSet of type Repository for project sag
2022-08-06T12:44:27.0939853Z [exec]
2022-08-06T12:44:27.1942967Z [exec] [ INFO] [06 Aug 2022 18:14:27,133] (DeploymentSet.java:create:218)
2022-08-06T12:44:27.1944446Z [exec] Created Deployment Set myDeploymentSet of type Repository for project sag
2022-08-06T12:44:27.1945201Z [exec]
2022-08-06T12:44:27.1946012Z [exec] [DEBUG] [06 Aug 2022 18:14:27,133] (DeploymentSet.java:updateSourceServerAliasToSets:388)
2022-08-06T12:44:27.1947168Z [exec] Updating Source Server Aliases on Deployment Set myDeploymentSet of type Repository for project sag
2022-08-06T12:44:27.1947901Z [exec]
2022-08-06T12:44:27.2948628Z [exec] [ INFO] [06 Aug 2022 18:14:27,271] (DeploymentSet.java:updateSourceServerAliasToSets:433)
2022-08-06T12:44:27.2949642Z [exec] Updated Source Server Aliases on Deployment Set myDeploymentSet of type Repository for project sag
2022-08-06T12:44:27.2950225Z [exec]
2022-08-06T12:44:27.3953580Z [exec] [ INFO] [06 Aug 2022 18:14:27,343] (DeploymentMap.java:create:70)
2022-08-06T12:44:27.3954365Z [exec] Creating Deployment Map myDeploymentMap in Project sag
2022-08-06T12:44:27.3954836Z [exec]
2022-08-06T12:44:27.4969942Z [exec] [ INFO] [06 Aug 2022 18:14:27,396] (DeploymentMap.java:create:90)
2022-08-06T12:44:27.4970754Z [exec] Successfully created Deployment Map myDeploymentMap in Project sag
2022-08-06T12:44:27.4971278Z [exec]
2022-08-06T12:44:27.4971836Z [exec] [ INFO] [06 Aug 2022 18:14:27,455] (DeploymentCandidate.java:create:87)
2022-08-06T12:44:27.4972638Z [exec] Creating Deployment Candidate myDeployment with Deployment Map myDeploymentMap for project sag
2022-08-06T12:44:27.4973228Z [exec]
2022-08-06T12:44:27.4973808Z [exec] [ INFO] [06 Aug 2022 18:14:27,485] (DeploymentCandidate.java:create:115)
2022-08-06T12:44:27.4974671Z [exec] Successfully created Deployment Candidate myDeployment with Deployment Map myDeploymentMap for project sag
2022-08-06T12:44:27.4975681Z [exec]
2022-08-06T12:44:27.4976326Z [exec] [ERROR] [06 Aug 2022 18:14:27,485] (ProjectPlanExecutorXMLParser.java:parseXmlFile:92)
2022-08-06T12:44:27.4977146Z [exec] Deployment Test Suite exited with Errors. Please check the logs for further details
2022-08-06T12:44:27.4977670Z [exec]
2022-08-06T12:44:27.6739801Z [exec] [ INFO] [06 Aug 2022 18:14:27,603] (XMLReport.java:runExample:41)
2022-08-06T12:44:27.6745279Z [exec] Started Generating Report ...
2022-08-06T12:44:27.6745755Z [exec]
2022-08-06T12:44:27.6746316Z [exec] [ INFO] [06 Aug 2022 18:14:27,603] (XMLReport.java:createDOMTree:88)
2022-08-06T12:44:27.6746936Z [exec] Info Messages Size = 17
2022-08-06T12:44:27.6747322Z [exec]
2022-08-06T12:44:27.6748227Z [exec] [ INFO] [06 Aug 2022 18:14:27,604] (XMLReport.java:createDOMTree:89)
2022-08-06T12:44:27.6748839Z [exec] Error Messages Size = 2
2022-08-06T12:44:27.6749217Z [exec]
2022-08-06T12:44:27.6749759Z [exec] [ INFO] [06 Aug 2022 18:14:27,628] (XMLReport.java:runExample:44)
2022-08-06T12:44:27.6750442Z [exec] Generated Automation Test Suite Report file successfully.
2022-08-06T12:44:27.6750909Z [exec]
2022-08-06T12:44:27.6751518Z [exec] Error Code = 25
2022-08-06T12:44:27.6803989Z
2022-08-06T12:44:27.6805714Z BUILD FAILED
2022-08-06T12:44:27.6807232Z /home/viswa/azure-build-work/1/s/build.xml:30: The following error occurred while executing this line:
2022-08-06T12:44:27.6808721Z /home/viswa/softwares/sagdevops-ci-assets/buildDeployer.xml:92: exec returned: 25
2022-08-06T12:44:27.6809098Z
2022-08-06T12:44:27.6809450Z Total time: 21 seconds
2022-08-06T12:44:27.6952805Z ##[error]Bash exited with code '1'.
2022-08-06T12:44:27.7026713Z ##[section]Finishing: Deploy