1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-21 17:56:56 +02:00
OpenIntegrations/ci/opm_push
2024-11-15 13:12:57 +03:00

18 lines
797 B
Plaintext

pipeline {
agent any
stages {
stage('Deploy') {
steps {
withCredentials([string(credentialsId: 'opm-token', variable: 'TOKEN')]) {
powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install -f oint-1.16.0.ospx'
powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm push --token $ENV:TOKEN --channel stable --file oint-1.16.0.ospx; del oint-1.16.0.ospx'
powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build;'
powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm push --token $ENV:TOKEN --channel stable --file oint-cli-1.16.0.ospx; del oint-cli-1.16.0.ospx'
}
}
}
}
}