Terminate DR jobs on task completion.

This commit is contained in:
Christian Smith 2017-10-10 11:16:02 +11:00
Родитель 8bbe0a3938
Коммит 9c646d6cea
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -93,7 +93,7 @@
"properties":{
"id":"[parameters('jobName')]",
"displayName":"[parameters('jobName')]",
"onAllTasksComplete":"noaction",
"onAllTasksComplete":"terminateJob",
"poolInfo": {
"poolId": "[parameters('poolId')]"
},
@ -105,7 +105,7 @@
"tasks":[{
"id":"Render",
"displayName":"Frame",
"commandLine":"powershell.exe -File 3dsmax-vray-dr.ps1 -start [parameters('frameStart')] -end [parameters('frameEnd')] -outputName [parameters('outputName')] -width [parameters('frameWidth')] -height [parameters('frameHeight')] -sceneFile \"%AZ_BATCH_JOB_PREP_WORKING_DIR%\\assets\\[parameters('sceneFile')]\" -nodeCount [parameters('nodeCount')]",
"commandLine":"powershell.exe -File 3dsmax-vray-dr.ps1 -start [parameters('frameStart')] -end [parameters('frameEnd')] -outputName \"images\\[parameters('outputName')]\" -width [parameters('frameWidth')] -height [parameters('frameHeight')] -sceneFile \"%AZ_BATCH_JOB_PREP_WORKING_DIR%\\assets\\[parameters('sceneFile')]\" -nodeCount [parameters('nodeCount')]",
"multiInstanceSettings": {
"numberOfInstances": "[parameters('nodeCount')]",
"coordinationCommandLine": "cmd.exe /c start C:\\Autodesk\\MayaIO2017\\vray\\bin\\vray.exe -server -portNumber=20207",

Просмотреть файл

@ -86,7 +86,7 @@
"properties":{
"id":"[parameters('jobName')]",
"displayName":"[parameters('jobName')]",
"onAllTasksComplete":"noaction",
"onAllTasksComplete":"terminateJob",
"poolInfo": {
"poolId": "[parameters('poolId')]"
},
@ -106,7 +106,7 @@
"tasks":[{
"id":"Render",
"displayName":"Frame",
"commandLine":"powershell.exe -File 3dsmax-vray-dr.ps1 -start [parameters('frameStart')] -end [parameters('frameEnd')] -outputName [parameters('outputName')] -width [parameters('frameWidth')] -height [parameters('frameHeight')] -sceneFile \"%AZ_BATCH_JOB_PREP_WORKING_DIR%\\assets\\[parameters('sceneFile')]\" -nodeCount [parameters('nodeCount')]",
"commandLine":"powershell.exe -File 3dsmax-vray-dr.ps1 -start [parameters('frameStart')] -end [parameters('frameEnd')] -outputName \"images\\[parameters('outputName')]\" -width [parameters('frameWidth')] -height [parameters('frameHeight')] -sceneFile \"%AZ_BATCH_JOB_PREP_WORKING_DIR%\\assets\\[parameters('sceneFile')]\" -nodeCount [parameters('nodeCount')]",
"multiInstanceSettings": {
"numberOfInstances": "[parameters('nodeCount')]",
"coordinationCommandLine": "cmd.exe /c start C:\\Autodesk\\MayaIO2017\\vray\\bin\\vray.exe -server -portNumber=20207",