diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2018-03-14 08:26:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-14 08:26:24 +0100 |
commit | 261448e357e93fad6b581dda3b2dc92215952b1a (patch) | |
tree | 7d304ee7ca05f1ae9fd8e9550ad5274913e01820 /templates | |
parent | 43911f2564955181cbd8231460b445f19d7f309b (diff) | |
parent | 80d54f332c6ef40086ffd6b6144598f3fccb8ce6 (diff) |
Merge pull request #14691 from jtattermusch/kokoro_packages_distribtest
Add kokoro build_packages and distribtests jobs.
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/src/csharp/build_packages_dotnetcli.bat.template | 8 | ||||
-rwxr-xr-x | templates/src/csharp/build_packages_dotnetcli.sh.template | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/templates/src/csharp/build_packages_dotnetcli.bat.template b/templates/src/csharp/build_packages_dotnetcli.bat.template index 6671991ad2..1bf78c4d23 100755 --- a/templates/src/csharp/build_packages_dotnetcli.bat.template +++ b/templates/src/csharp/build_packages_dotnetcli.bat.template @@ -21,17 +21,21 @@ set NUGET=C:\nuget\nuget.exe set DOTNET=dotnet - set -ex - mkdir ..\..\artifacts @rem Collect the artifacts built by the previous build step if running on Jenkins mkdir nativelibs + @rem Jenkins flow (deprecated) powershell -Command "cp -r ..\..\platform=*\artifacts\csharp_ext_* nativelibs" + @rem Kokoro flow + powershell -Command "cp -r ..\..\input_artifacts\csharp_ext_* nativelibs" @rem Collect protoc artifacts built by the previous build step mkdir protoc_plugins + @rem Jenkins flow (deprecated) powershell -Command "cp -r ..\..\platform=*\artifacts\protoc_* protoc_plugins" + @rem Kokoro flow + powershell -Command "cp -r ..\..\input_artifacts\protoc_* protoc_plugins" %%DOTNET% restore Grpc.sln || goto :error diff --git a/templates/src/csharp/build_packages_dotnetcli.sh.template b/templates/src/csharp/build_packages_dotnetcli.sh.template index be52b4631c..ddfea74744 100755 --- a/templates/src/csharp/build_packages_dotnetcli.sh.template +++ b/templates/src/csharp/build_packages_dotnetcli.sh.template @@ -23,11 +23,17 @@ # Collect the artifacts built by the previous build step mkdir -p nativelibs + # Jenkins flow (deprecated) cp -r $EXTERNAL_GIT_ROOT/platform={windows,linux,macos}/artifacts/csharp_ext_* nativelibs || true + # Kokoro flow + cp -r $EXTERNAL_GIT_ROOT/input_artifacts/csharp_ext_* nativelibs || true # Collect protoc artifacts built by the previous build step mkdir -p protoc_plugins + # Jenkins flow (deprecated) cp -r $EXTERNAL_GIT_ROOT/platform={windows,linux,macos}/artifacts/protoc_* protoc_plugins || true + # Kokoro flow + cp -r $EXTERNAL_GIT_ROOT/input_artifacts/protoc_* protoc_plugins || true dotnet restore Grpc.sln |