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

Commit0da7a64

Browse files
committed
Really do nothing
1 parent15c2b12 commit0da7a64

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

‎build.cmd‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ rem Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt
44
setlocalenableDelayedExpansion
55

66
:ARGUMENTS_VALIDATION
7-
8-
if /I"%1"=="--help" (goto :USAGE)
7+
if /I"%1"=="--help" (goto :USAGE)
98
if /I"%1"=="/help" (goto :USAGE)
109
if /I"%1"=="/h" (goto :USAGE)
1110
if /I"%1"=="/?" (goto :USAGE)
1211
goto :ARGUMENTS_OK
1312

13+
1414
:USAGE
1515

1616
echo Build and run a subset of test suites
@@ -49,6 +49,9 @@ goto :success
4949

5050
:ARGUMENTS_OK
5151

52+
rem Do no work
53+
if /I"%1"=="none" (goto :success)
54+
5255
rem disable setup build by setting FSC_BUILD_SETUP=0
5356
if /i"%FSC_BUILD_SETUP%"=="" (set FSC_BUILD_SETUP=1)
5457

‎build.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ if [ "$1" = "--help" ] || [ "$1" = "-h" ] || [ "$1" = "-?" ]; then
6464
show_usage_and_exit
6565
fi
6666

67+
if ["$1"="none" ];then
68+
exit 0
69+
fi
70+
6771
# Save directory of the current script -- this is used below to fix up relative paths (if needed).
6872
# The directory should have a trailing slash like it does on Windows, to minimize differences between scripts.
6973
_scriptdir="$(cd -P --"$(dirname --"$(command -v --"$0")")"&&pwd -P)/"

‎netci.groovy‎

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def static getBuildJobName(def configuration, def os) {
2121
// Linux
2222
configurations= ['Release','Release_fcs' ];
2323
}
24+
2425
configurations.each {configuration->
2526

2627
def lowerConfiguration= configuration.toLowerCase()
@@ -68,7 +69,7 @@ def static getBuildJobName(def configuration, def os) {
6869
build_args="net40"
6970
}
7071
else {
71-
build_args="ci"
72+
build_args="none"
7273
}
7374
}
7475

@@ -102,13 +103,15 @@ ${buildPath}build.cmd ${buildFlavor} ${build_args}""")
102103
Utilities.setMachineAffinity(newJob, os, affinity)
103104
Utilities.standardJobSetup(newJob, project, isPullRequest,"*/${branch}")
104105

105-
106-
Utilities.addArchival(newJob,"tests/TestResults/*.*","", skipIfNoTestFiles,false)
107-
if (configuration=="Release_fcs") {
108-
Utilities.addArchival(newJob,"Release/fcs/**")
109-
}
110-
else {
111-
Utilities.addArchival(newJob,"${buildFlavor}/**")
106+
107+
if (build_args=="none") {
108+
Utilities.addArchival(newJob,"tests/TestResults/*.*","", skipIfNoTestFiles,false)
109+
if (configuration=="Release_fcs") {
110+
Utilities.addArchival(newJob,"Release/fcs/**")
111+
}
112+
else {
113+
Utilities.addArchival(newJob,"${buildFlavor}/**")
114+
}
112115
}
113116
if (isPullRequest) {
114117
Utilities.addGithubPRTriggerForBranch(newJob, branch,"${os}${configuration} Build")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp