-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Services are not published into folders as expected #157
Comments
Further testing shows that if I run the configuration once more without any changes, it will successfully complete on the second run. |
Reviewing calls from ArcGIS Server Manager when publishing an .sd file shows that the folder must be created as a separate task before publishing takes place within the Submit-ArcGISPublishJob function. arcgis-powershell-dsc/Modules/ArcGIS/DSCResources/ArcGIS_Server_Service/ArcGIS_Server_Service.psm1 Lines 621 to 622 in 72c8a26
Also, the call to publish the .sd file is passing the
|
@PleaseStopAsking were you able to get this to work? |
@shailesh91 No, my team would not approve the time to fix this so I ended up building a python script (had an existing script to start from) to handle the publishing and am just calling it from a Script resource. |
fixed in v3.1.0. |
When publishing services with the ArcGIS_Server_Service resource, it does not respect the folder key and instead publishes the services directly into the Site (root) folder. Along with not publishing the services into their respective folders, it throws an error.
The text was updated successfully, but these errors were encountered: