1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-12 11:15:07 +02:00
OpenIntegrations/ci/main

43 lines
1.7 KiB
Plaintext
Raw Normal View History

2024-09-16 12:32:49 +02:00
pipeline {
2024-09-16 12:48:44 +02:00
agent any
2024-09-16 12:46:04 +02:00
stages {
2024-09-16 12:51:17 +02:00
stage('Prepare') {
2024-09-16 12:46:04 +02:00
steps {
2024-09-16 14:19:43 +02:00
2024-09-16 14:23:50 +02:00
bat "git branch"
2024-09-16 16:01:27 +02:00
bat encoding: 'UTF-8', script:'chcp 65001 & opm install osparser'
bat encoding: 'UTF-8', script:'chcp 65001 & opm install cmdline'
bat encoding: 'UTF-8', script:'chcp 65001 & opm install asserts'
bat encoding: 'UTF-8', script:'chcp 65001 & opm install osparser'
bat encoding: 'UTF-8', script:'chcp 65001 & opm install coloratos'
2024-09-16 12:46:04 +02:00
}
2024-09-16 12:42:21 +02:00
}
2024-09-16 12:46:04 +02:00
stage('Build') {
steps {
2024-09-16 18:14:17 +02:00
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/main.os'
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/cli_testmaker.os'
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/cli_testmaker_en.os'
bat encoding: 'UTF-8', script:'chcp 65001 & oscript ./ci/os/docs_main.os'
2024-09-16 12:46:04 +02:00
}
2024-09-16 12:42:21 +02:00
}
2024-09-16 12:59:06 +02:00
stage('Update GIT') {
steps {
script {
2024-09-16 13:46:53 +02:00
withCredentials([gitUsernamePassword(credentialsId: 'gitmain', gitToolName: 'Default')]) {
2024-09-16 15:34:46 +02:00
bat "git config user.email vitaly.the.alpaca@gmail.com"
2024-09-16 15:38:13 +02:00
bat 'git config user.name "Vitaly the Alpaca (bot)"'
2024-09-16 13:59:11 +02:00
bat "git config --global core.ignorecase true"
bat "git add ."
bat 'git commit -m "Main build (Jenkins)"'
2024-09-16 14:40:47 +02:00
bat "git push origin HEAD:main"
2024-09-16 12:59:06 +02:00
}
2024-09-16 13:46:53 +02:00
2024-09-16 12:59:06 +02:00
}
}
}
2024-09-16 12:42:21 +02:00
}
2024-09-16 12:32:49 +02:00
}