From e8fbb1e1572c7b77ed0f21603145de097e4b8318 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 21 May 2020 01:59:13 +0200 Subject: [PATCH] use absolute docfx path --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8cb242f..44f9dd5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ done''' sh '''for i in **/*.nupkg; do dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true done''' - sh '''docfx.exe "Docs/docfx.json" + sh '''/opt/docfx/docfx.exe "Docs/docfx.json" cp Docs/_site /var/www/MLEM/Docs/_site''' } } @@ -39,7 +39,7 @@ done''' sh '''for i in **/*.nupkg; do dotnet nuget push -s https://api.nuget.org/v3/index.json $i -k $NUGET -n true done''' - sh '''docfx.exe "Docs/docfx.json" + sh '''/opt/docfx/docfx.exe "Docs/docfx.json" cp Docs/_site /var/www/MLEM/Docs/_site''' } }