Deployment using Jenkin

Hi everyone,

 Currently I am doing POC on deployment using Jenkin.Both ABE and SVN are also used .

I am getting an error “unable to access the repository” while configuring source code management section using Jenkins .
SVN repository path is –http://locahost:3690/wmSVNrepo
webMethods version–webMethods 9.12
Using designer svn repository is accessible via svn://locahost:3690/wmSVNrepo .

Can anyone please share your experience or thoughts on identifiying and fixing this issue .

With Regards
Sweta

1 Like

Hi,

Typo: locahost instead of localhost ?

Best regards,

Hi ,

Thanks for identifying the typo .I attached the incorrect screenshot here .PFA the correct screenshot.which contains localhost instead of locahost. Still same error(“unable to access the repository”) exists .

SVN repository path is –http://localhost:3690/wmSVNrepo
webMethods version–webMethods 9.12
Using designer svn repository is accessible via svn://localhost:3690/wmSVNrepo .

With Regards
Sweta

Hi everyone,

This issue is now fixed after removing the port 3690.
SVN repository url–svn://localhost/wmSVNrepo.

Now while creating build using Jenkin,below error is seen.
Can anyone please share me your inputs if already fixed this/similar issue .

Error:
[exec] Error retrieving repo objects from Repo Server DEMO_Repository : Repository Index is missing. Please create the index for the Repository.
[exec]
[exec] [ INFO] [01 Sep 2017 19:45:29,665] (XMLReport.java:runExample:41)
[exec] Started Generating Report …
[exec]
[exec] [ INFO] [01 Sep 2017 19:45:29,665] (XMLReport.java:createDOMTree:88)
[exec] Info Messages Size = 8
[exec]
[exec] [ INFO] [01 Sep 2017 19:45:29,665] (XMLReport.java:createDOMTree:89)
[exec] Error Messages Size = 1
[exec]
[exec] [ INFO] [01 Sep 2017 19:45:29,679] (XMLReport.java:runExample:44)
[exec] Generated Automation Test Suite Report file successfully.
[exec]
[exec] Error Code = -1

BUILD FAILED
C:\SoftwareAGWebM912\common\AssetBuildEnvironment\master_build\build.xml:340: exec returned: -1

With Regards
Sweta

Hi everyone,

Now build is successful .But I am getting below error message while creating project .Index and composites are created in build output directory .Additionally _assets.obj created inside IS folder inside build output directory .
But no ACDL and zip files are created inside IS folder in build output directory.
What could be the reason for not creating ACDL and zip files in build output folder .Please suggest if anyone has any idea on this issue .

Error Details from Jenkin Console output:

archive:
[mkdir] Created dir: C:\Projects\CI\CI-WORKSPACE\BUILDS\PREVIOUS_BUILDS\9.7.13
[copy] Copying 4 files to C:\Projects\CI\CI-WORKSPACE\BUILDS\PREVIOUS_BUILDS\9.7.13

BUILD SUCCESSFUL
Total time: 9 seconds
[master_build] $ cmd.exe /C “C:\SoftwareAGWebM912\common\AssetBuildEnvironment\ant\bin\ant.bat -file build.xml createProject && exit %%ERRORLEVEL%%”
Buildfile: C:\SoftwareAGWebM912\common\AssetBuildEnvironment\master_build\build.xml

createProject:
[echo] Automater file name …C:/Projects/CI/CI-WORKSPACE/RESOURCES/Demo_ProjectAutomator.xml
[exec] [ INFO] [04 Sep 2017 12:51:11,495] (MainClass.java:initializeLogger:241)
[exec] Logging initialized.
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:11,527] (MainClass.java:main:172)
[exec] No of command line arguments = 5
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:11,527] (MainClass.java:main:174)
[exec] Argument 0 = C:/Projects/CI/CI-WORKSPACE/RESOURCES/Demo_ProjectAutomator.xml
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:11,527] (MainClass.java:main:174)
[exec] Argument 1 = C:\SoftwareAGWebM912\IntegrationServer\instances\default\packages\WmDeployer\bin\…\IntegrationServer\packages\WmDeployer\config\ProjectAutomatorForRuntime.xsd
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:11,528] (MainClass.java:main:174)
[exec] Argument 2 = C:\SoftwareAGWebM912\IntegrationServer\instances\default\packages\WmDeployer\bin\…\IntegrationServer\packages\WmDeployer\config\ProjectAutomatorForRepository.xsd
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:11,528] (MainClass.java:main:174)
[exec] Argument 3 = C:\SoftwareAGWebM912\IntegrationServer\instances\default\packages\WmDeployer\bin\…\IntegrationServer\packages\WmDeployer\bin\log4j.properties
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:11,528] (MainClass.java:main:174)
[exec] Argument 4 = 1
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:11,592] (MainClass.java:main:202)
[exec] Operating System on which ProjectAutomator is running is a WINDOWS or a WINDOWS Variant
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:11,734] (MainClass.java::50)
[exec] Started Operation of Deployer Test Suite
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:15,547] (KeyObfuscator.java:decryptAndUnobfuscate:161)
[exec] Successfully retrieved the key from the given obfuscated file.
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:15,608] (KeyObfuscator.java:decryptAndUnobfuscate:161)
[exec] Successfully retrieved the key from the given obfuscated file.
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:15,661] (KeyObfuscator.java:decryptAndUnobfuscate:161)
[exec] Successfully retrieved the key from the given obfuscated file.
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:15,703] (KeyObfuscator.java:decryptAndUnobfuscate:161)
[exec] Successfully retrieved the key from the given obfuscated file.
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:16,130] (ProjectPlanExecutorXMLParser.java:getDeployerServerDetails:458)
[exec] Using WmDeployer package on the Server localhost:5555 configured with the user Administrator
[exec]
[exec] [DEBUG] [04 Sep 2017 12:51:16,132] (ServerAlias.java:doesServerAliasExist:92)
[exec] Checking if the Server Alias DEMO_Repository of pluginType Repository exists.
[exec]
[exec] [DEBUG] [04 Sep 2017 12:51:22,584] (DeployerUtil.java:createRepositoryServerAliases:1393)
[exec] Deleting Repository Server Alias DEMO_Repository
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:22,610] (DeployerUtil.java:createRepositoryServerAliases:1396)
[exec] Deleted Repository Server Alias DEMO_Repository
[exec]
[exec] [DEBUG] [04 Sep 2017 12:51:22,611] (DeployerUtil.java:createRepositoryServerAliases:1399)
[exec] Creating Repository Server Alias : aliasName = DEMO_Repository
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:22,650] (DeployerUtil.java:createRepositoryServerAliases:1402)
[exec] Created Repository Server Alias Alias : aliasName = DEMO_Repository
[exec]
[exec] [DEBUG] [04 Sep 2017 12:51:22,654] (ServerAlias.java:doesServerAliasExist:92)
[exec] Checking if the Server Alias DEV_IS of pluginType IS&TN exists.
[exec]
[exec] [DEBUG] [04 Sep 2017 12:51:22,677] (DeployerUtil.java:createISServerAliases:181)
[exec] Deleting IS Alias : aliasName = DEV_IS@localhost:5555
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:22,757] (DeployerUtil.java:createISServerAliases:184)
[exec] Deleted IS Alias : aliasName = DEV_IS@localhost:5555
[exec]
[exec] [DEBUG] [04 Sep 2017 12:51:22,758] (DeployerUtil.java:createISServerAliases:187)
[exec] Creating IS Alias : aliasName = DEV_IS@localhost:5555 with the user Administrator
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:23,066] (DeployerUtil.java:createISServerAliases:212)
[exec] Created IS Alias : aliasName = DEV_IS@localhost:5555 with the user Administrator
[exec]
[exec] [ERROR] [04 Sep 2017 12:51:23,426] (RepoAssetUtil.java:getRepositoryComposite:220)
[exec] No Repository Objects for the type IS found on the Source Server Alias DEMO_Repository
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:23,427] (XMLReport.java:runExample:41)
[exec] Started Generating Report …
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:23,427] (XMLReport.java:createDOMTree:88)
[exec] Info Messages Size = 8
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:23,428] (XMLReport.java:createDOMTree:89)
[exec] Error Messages Size = 1
[exec]
[exec] [ INFO] [04 Sep 2017 12:51:23,489] (XMLReport.java:runExample:44)
[exec] Generated Automation Test Suite Report file successfully.
[exec]
[exec] Error Code = -1

BUILD FAILED
C:\SoftwareAGWebM912\common\AssetBuildEnvironment\master_build\build.xml:340: exec returned: -1

Total time: 16 seconds
Build step ‘Invoke Ant’ marked build as failure
Finished: FAILURE

This issue has been resolved now after setting correct path in build.properties file .

With Regards
Sweta

Hello Sweta,

Could you please assist how you resolved below error:
[exec] [ERROR] [17 Jan 2019 16:00:54,231] (RepoServerAlias.java:listComposites:351)
[exec] Error getting list of ports from Integration Server Alias RepoSource : Repository Index is missing. Please create the index for the Repository.
[exec]

Response awaited.

Just to update everyone, in my case the build.properties file was alright.

Problem was that I was trying to put the exported package zip in ABE location due to which ABE scripts werent able to identify the IS assets.

The zip that is created by means of SVN ANT script or Jenkins is completely different.

Just wanted to notify that this can also lead to Repository Index missing error