You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
Fastfix
This commit is contained in:
42
ci/docs_en
vendored
42
ci/docs_en
vendored
@@ -1,22 +1,22 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/docs_pagetranslate.os'
|
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/docs_pagetranslate.os'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/en/md" "docs/docusaurus/docs" /s /e /i /y'
|
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/en/md" "docs/docusaurus/docs" /s /e /i /y'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & "C:/Program Files (x86)/Yarn/bin/yarn" build'
|
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & yarn build'
|
||||||
withCredentials([string(credentialsId: 'neocities-en', variable: 'TOKEN')]) {
|
withCredentials([string(credentialsId: 'neocities-en', variable: 'TOKEN')]) {
|
||||||
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (EN)/docs/docusaurus/build"'
|
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (EN)/docs/docusaurus/build"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (EN)/docs/docusaurus/build"'
|
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (EN)/docs/docusaurus/build"'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (EN)/docs/docusaurus/node_modules"'
|
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (EN)/docs/docusaurus/node_modules"'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
40
ci/docs_ru
vendored
40
ci/docs_ru
vendored
@@ -1,21 +1,21 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/ru/md" "docs/docusaurus/docs" /s /e /i /y'
|
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/ru/md" "docs/docusaurus/docs" /s /e /i /y'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & "C:/Program Files (x86)/Yarn/bin/yarn" build'
|
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & yarn build'
|
||||||
withCredentials([string(credentialsId: 'neocities-ru', variable: 'TOKEN')]) {
|
withCredentials([string(credentialsId: 'neocities-ru', variable: 'TOKEN')]) {
|
||||||
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (RU)/docs/docusaurus/build"'
|
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (RU)/docs/docusaurus/build"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (RU)/docs/docusaurus/build"'
|
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (RU)/docs/docusaurus/build"'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (RU)/docs/docusaurus/node_modules"'
|
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (RU)/docs/docusaurus/node_modules"'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
42
ci/docs_test_en
vendored
42
ci/docs_test_en
vendored
@@ -1,22 +1,22 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/docs_pagetranslate.os'
|
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/docs_pagetranslate.os'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/en/md" "docs/docusaurus/docs" /s /e /i /y'
|
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/en/md" "docs/docusaurus/docs" /s /e /i /y'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & "C:/Program Files (x86)/Yarn/bin/yarn" build'
|
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & yarn build'
|
||||||
withCredentials([string(credentialsId: 'neocities-test', variable: 'TOKEN')]) {
|
withCredentials([string(credentialsId: 'neocities-test', variable: 'TOKEN')]) {
|
||||||
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test EN)/docs/docusaurus/build"'
|
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test EN)/docs/docusaurus/build"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test EN)/docs/docusaurus/build"'
|
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test EN)/docs/docusaurus/build"'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test EN)/docs/docusaurus/node_modules"'
|
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test EN)/docs/docusaurus/node_modules"'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
40
ci/docs_test_ru
vendored
40
ci/docs_test_ru
vendored
@@ -1,21 +1,21 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/ru/md" "docs/docusaurus/docs" /s /e /i /y'
|
bat encoding: 'UTF-8', script:'chcp 65001 & xcopy "docs/ru/md" "docs/docusaurus/docs" /s /e /i /y'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & npm install'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & "C:/Program Files (x86)/Yarn/bin/yarn" build'
|
bat encoding: 'UTF-8', script:'chcp 65001 & cd docs/docusaurus & yarn build'
|
||||||
withCredentials([string(credentialsId: 'neocities-test', variable: 'TOKEN')]) {
|
withCredentials([string(credentialsId: 'neocities-test', variable: 'TOKEN')]) {
|
||||||
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
|
powershell encoding: 'UTF-8', script:'oint neocities СинхронизироватьКаталоги --token $ENV:TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
|
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"'
|
||||||
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/node_modules"'
|
bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/node_modules"'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user