1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-28 09:08:38 +02:00
OpenIntegrations/jenkinsfile

40 lines
1.3 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 13:12:25 +02:00
bat encoding: 'UTF-8', script:'opm install osparser'
bat encoding: 'UTF-8', script:'opm install cmdline'
bat encoding: 'UTF-8', script:'opm install asserts'
bat encoding: 'UTF-8', script:'opm install osparser'
bat encoding: 'UTF-8', script:'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 13:12:25 +02:00
bat encoding: 'UTF-8', script:'oscript ./.github/workflows/os/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 13:59:11 +02:00
bat "git config user.email VitalyTheAlpaca@gmail.com"
bat "git config user.name VitalyTheAlpaca"
bat "git config --global core.ignorecase true"
bat "git add ."
bat 'git commit -m "Main build (Jenkins)"'
2024-09-16 14:29:00 +02:00
bat "git push"
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
}