I am writing about WmDeployer’s automation “projectautomator.bat”.
I created a VALID deployment, because when I click on Deploy (in the Deploy) section of WmDeployer, the package gets successfully installed on the IS server (local - nothing fancy just yet).
Now when I export using “Export to Project Automator”, it produces the XML file that I must modify the ${parameters} to correct values. I did this and also corrected the argument overwrite = true so that the project gets recreated.
ALL THAT WORKS FINE.
BUT when I run “projectautomator.bat” along with my XML file, it produces NO ERRORS but it DOES NOT deploy the IS package on the local server…!
Now we are working on 9.7, I had this working 100% of 9.6 and we even installed FIX 3 for WmDeployer thinking maybe it could have been a problem…
When I look at the “ATTACHED” report - it seems as if NO DEPLOYMENT of the ZIP is occurring. It’s as if it does all the steps to recreate the Deployment set but does not actually DO IT?!?!
The only problem I (we) have about the “Deployer.bat” is that it REQUIRES passwords to be specified in PLAIN-TEXT.
This is a problem since we are working on defining a proper CI environment.
We’re going to look “dumb” if we tell customers: “You have to put your Admin password in the batch file in plain-text so it can properly call the Deployer.bat file”…
The “projectautomator.bat” ENCRYPTS password. Would be NICE if the Deployer.bat could DECODE those encrypted passwords ALSO…
I was able create the deployer script for automated deployment, however deploy step is going into infinite loop. I have attached deployer.bat script which I prepared.
Please let me know your thought of deploying only once using the script.
First error in the script (which not the one that will go into the infinite loop), inside “:describeBuild” you set
set nextAction=buildit (this label does not existe)
by Setting nextAction=importMap, you’ll have the infinite loop, and this is because when you come to your last step which is “deploy” your nextAction=deploy
so deploy is executed and it steps to “:VerifyStatus”, and once “:VerifyStatus” is executed it goes to nextAction (which is ‘deploy’)
so the infinite loop is
deploy → VerifyStatus
VerifyStatus → deploy
and so on
you need to set your nextAction=FINISH inside ‘:deploy’ block
We are on 9.10 wM trying to build Automated build and deploy.
All our IS servers, Jenkins, ABE Deployer are on linux machine.
Can any one of you share me the projectautomatorUnix.sh and deployer.sh files.
What should be written inside these scripts.
please share the applied Fix versions for IS, ABE and Deployer with us.
These scripts should be present by default when Deployer and ABE are installed.
If they do not, then there might have been an error during installation.
By using Jenkins and Ant scripts, I am able to extract the packages from SVN.
I am not able to pass the list of packages to ProjectAutomator.xml file dynamically.
For example: I have 2 Packages in SVN (Package1 and Package2). These are extracted to CI machine successfully.
Now by using ProjectAutomator.xml file I want a deployer project to be created, but to do that, I need to add manually these 2 packages in ProjectAutomator.xml file (below is an extract from this file). Is there a way I can dynamically pass package names?
I have tried to run deployer automation. First have created deployer project using “projectautomator.bat” and passing automation script. Using automation script I have passed repository based deployment , so it didn’t generate any build step. When I have tried to run deployer.bat script using command as
“[DEP.0100.-999] Service Error wm.deployer.UIAuthorization:checkLock” . On further checking on target server can observe below error " [ISS.0053.0002C] Access denied for user Administrator on port 5555 → ‘ws/wm.server.deployer.spi:wsProviderV2’ from 13.59.61.2."