TFS Prepare for Shutdown/Restart
up vote
1
down vote
favorite
I am new to TFS.
Is there anyway to notify TFS to not to start new build/test/releases as we are about to restart/shutdown the TFS server?
Jenkins has a similar feature, where it puts up a banner saying 'Jenkins is going to shut down' and stop queuing new builds. Does TFS have such a feature?
tfs azure-devops tfsbuild tfs2018
add a comment |
up vote
1
down vote
favorite
I am new to TFS.
Is there anyway to notify TFS to not to start new build/test/releases as we are about to restart/shutdown the TFS server?
Jenkins has a similar feature, where it puts up a banner saying 'Jenkins is going to shut down' and stop queuing new builds. Does TFS have such a feature?
tfs azure-devops tfsbuild tfs2018
You can disable the agents in the "Agent Pools" screen off the Settings menu. This will allow current running builds to complete, but prevent new builds being queued. There's nothing that will give an alerts to users, aside from them seeing their builds queue up.
– Pero P.
Nov 7 at 17:39
Are you restarting your app tier so often that this is a concern? If so, why?
– Daniel Mann
Nov 7 at 18:34
@DanielMann not often, but the TFS host machine is a Windows Server and it requests restart after updates. So I would want to restart the machine with proper notice to the whole team.
– dushyantp
Nov 8 at 10:57
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am new to TFS.
Is there anyway to notify TFS to not to start new build/test/releases as we are about to restart/shutdown the TFS server?
Jenkins has a similar feature, where it puts up a banner saying 'Jenkins is going to shut down' and stop queuing new builds. Does TFS have such a feature?
tfs azure-devops tfsbuild tfs2018
I am new to TFS.
Is there anyway to notify TFS to not to start new build/test/releases as we are about to restart/shutdown the TFS server?
Jenkins has a similar feature, where it puts up a banner saying 'Jenkins is going to shut down' and stop queuing new builds. Does TFS have such a feature?
tfs azure-devops tfsbuild tfs2018
tfs azure-devops tfsbuild tfs2018
asked Nov 7 at 17:16
dushyantp
1,57962545
1,57962545
You can disable the agents in the "Agent Pools" screen off the Settings menu. This will allow current running builds to complete, but prevent new builds being queued. There's nothing that will give an alerts to users, aside from them seeing their builds queue up.
– Pero P.
Nov 7 at 17:39
Are you restarting your app tier so often that this is a concern? If so, why?
– Daniel Mann
Nov 7 at 18:34
@DanielMann not often, but the TFS host machine is a Windows Server and it requests restart after updates. So I would want to restart the machine with proper notice to the whole team.
– dushyantp
Nov 8 at 10:57
add a comment |
You can disable the agents in the "Agent Pools" screen off the Settings menu. This will allow current running builds to complete, but prevent new builds being queued. There's nothing that will give an alerts to users, aside from them seeing their builds queue up.
– Pero P.
Nov 7 at 17:39
Are you restarting your app tier so often that this is a concern? If so, why?
– Daniel Mann
Nov 7 at 18:34
@DanielMann not often, but the TFS host machine is a Windows Server and it requests restart after updates. So I would want to restart the machine with proper notice to the whole team.
– dushyantp
Nov 8 at 10:57
You can disable the agents in the "Agent Pools" screen off the Settings menu. This will allow current running builds to complete, but prevent new builds being queued. There's nothing that will give an alerts to users, aside from them seeing their builds queue up.
– Pero P.
Nov 7 at 17:39
You can disable the agents in the "Agent Pools" screen off the Settings menu. This will allow current running builds to complete, but prevent new builds being queued. There's nothing that will give an alerts to users, aside from them seeing their builds queue up.
– Pero P.
Nov 7 at 17:39
Are you restarting your app tier so often that this is a concern? If so, why?
– Daniel Mann
Nov 7 at 18:34
Are you restarting your app tier so often that this is a concern? If so, why?
– Daniel Mann
Nov 7 at 18:34
@DanielMann not often, but the TFS host machine is a Windows Server and it requests restart after updates. So I would want to restart the machine with proper notice to the whole team.
– dushyantp
Nov 8 at 10:57
@DanielMann not often, but the TFS host machine is a Windows Server and it requests restart after updates. So I would want to restart the machine with proper notice to the whole team.
– dushyantp
Nov 8 at 10:57
add a comment |
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
Nothing with an alert - there might be an extension, or you could build one to do the alerting, but the best you can do is disable the agent pools at the following address:
https://[my].visualstudio.com/_settings/agentpools
This will stop the builds agents from queuing new builds in the pipeline until you re-enable them.
add a comment |
up vote
0
down vote
On the application tier call TFSServiceControl quesce
. The documentation for the command is https://docs.microsoft.com/en-us/tfs/server/ref/command-line/tfsservicecontrol-cmd
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Nothing with an alert - there might be an extension, or you could build one to do the alerting, but the best you can do is disable the agent pools at the following address:
https://[my].visualstudio.com/_settings/agentpools
This will stop the builds agents from queuing new builds in the pipeline until you re-enable them.
add a comment |
up vote
2
down vote
accepted
Nothing with an alert - there might be an extension, or you could build one to do the alerting, but the best you can do is disable the agent pools at the following address:
https://[my].visualstudio.com/_settings/agentpools
This will stop the builds agents from queuing new builds in the pipeline until you re-enable them.
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Nothing with an alert - there might be an extension, or you could build one to do the alerting, but the best you can do is disable the agent pools at the following address:
https://[my].visualstudio.com/_settings/agentpools
This will stop the builds agents from queuing new builds in the pipeline until you re-enable them.
Nothing with an alert - there might be an extension, or you could build one to do the alerting, but the best you can do is disable the agent pools at the following address:
https://[my].visualstudio.com/_settings/agentpools
This will stop the builds agents from queuing new builds in the pipeline until you re-enable them.
answered Nov 7 at 17:38
DaveShaw
39.3k1088124
39.3k1088124
add a comment |
add a comment |
up vote
0
down vote
On the application tier call TFSServiceControl quesce
. The documentation for the command is https://docs.microsoft.com/en-us/tfs/server/ref/command-line/tfsservicecontrol-cmd
add a comment |
up vote
0
down vote
On the application tier call TFSServiceControl quesce
. The documentation for the command is https://docs.microsoft.com/en-us/tfs/server/ref/command-line/tfsservicecontrol-cmd
add a comment |
up vote
0
down vote
up vote
0
down vote
On the application tier call TFSServiceControl quesce
. The documentation for the command is https://docs.microsoft.com/en-us/tfs/server/ref/command-line/tfsservicecontrol-cmd
On the application tier call TFSServiceControl quesce
. The documentation for the command is https://docs.microsoft.com/en-us/tfs/server/ref/command-line/tfsservicecontrol-cmd
edited Nov 11 at 0:07
answered Nov 10 at 23:51
nschonni
1,8731626
1,8731626
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53194536%2ftfs-prepare-for-shutdown-restart%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You can disable the agents in the "Agent Pools" screen off the Settings menu. This will allow current running builds to complete, but prevent new builds being queued. There's nothing that will give an alerts to users, aside from them seeing their builds queue up.
– Pero P.
Nov 7 at 17:39
Are you restarting your app tier so often that this is a concern? If so, why?
– Daniel Mann
Nov 7 at 18:34
@DanielMann not often, but the TFS host machine is a Windows Server and it requests restart after updates. So I would want to restart the machine with proper notice to the whole team.
– dushyantp
Nov 8 at 10:57