Terminate DR jobs on task completion.
This commit is contained in:
Родитель
8bbe0a3938
Коммит
9c646d6cea
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче