Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9404e9c

Browse files
authored
update CI to allow sudo on Ubuntu (dotnet#4392)
1 parentab0da53 commit9404e9c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

‎netci.groovy‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,11 @@ def static getBuildJobName(def configuration, def os) {
101101
def skipIfNoTestFiles=true
102102
def skipIfNoBuildOutput=false
103103

104-
// "sudo is not enabled by default on most of the VM images. The outerloop images do have this enabled.
105-
// The image version (usually 'latest') can be set to 'outer-latest' in this case to enable passwordless
106-
// sudo, which would enable your scenario."
104+
// outer-latest = "sudo is enabled by default"
105+
// latest-or-auto = "sudo is not enabled"
107106
//
108-
// https://github.com/Microsoft/visualfsharp/pull/4372#issuecomment-367850885
109-
//
110-
// However, for now we are still just using 'latest-or-auto'. Unclear if that gives 'sudo' or not.
111-
def affinity= (configuration=='Release_net40_no_vs'?'latest-or-auto': (os=='Windows_NT'?'latest-dev15-5':'latest-or-auto'))
107+
// https://github.com/Microsoft/visualfsharp/pull/4372#issuecomment-367850885
108+
def affinity= (configuration=='Release_net40_no_vs'?'latest-or-auto': (os=='Windows_NT'?'latest-dev15-5':'outer-latest'))
112109
Utilities.setMachineAffinity(newJob, os, affinity)
113110
Utilities.standardJobSetup(newJob, project, isPullRequest,"*/${branch}")
114111

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp