build: update to use origin/main
This commit is contained in:
parent
1b523bc8c0
commit
153c136804
|
@ -1,4 +1,4 @@
|
|||
@Library('eo-jenkins-lib@master') import eo.Utils
|
||||
@Library('eo-jenkins-lib@main') import eo.Utils
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
|
@ -19,7 +19,7 @@ pipeline {
|
|||
stage('Packaging') {
|
||||
steps {
|
||||
script {
|
||||
if (env.JOB_NAME == 'combo-plugin-gnm' && env.GIT_BRANCH == 'origin/master') {
|
||||
if (env.JOB_NAME == 'combo-plugin-gnm' && env.GIT_BRANCH == 'origin/main') {
|
||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder combo-plugin-gnm'
|
||||
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix combo-plugin-gnm"
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -26,7 +26,7 @@ deps =
|
|||
vobject
|
||||
django-ratelimit<3
|
||||
django>=2.2,<2.3
|
||||
https://git.entrouvert.org/debian/django-ckeditor.git/snapshot/django-ckeditor-master.tar.gz
|
||||
https://git.entrouvert.org/combo.git/snapshot/combo-master.tar.gz
|
||||
https://git.entrouvert.org/debian/django-ckeditor.git/snapshot/django-ckeditor-main.tar.gz
|
||||
https://git.entrouvert.org/combo.git/snapshot/combo-main.tar.gz
|
||||
commands =
|
||||
py.test {posargs: {env:JUNIT:} {env:COVERAGE:} tests/}
|
||||
|
|
Loading…
Reference in New Issue