build: update to use origin/main

This commit is contained in:
Frédéric Péters 2020-12-26 15:21:15 +01:00
parent a68c101e3b
commit ebb4090212
2 changed files with 3 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -1,4 +1,4 @@
@Library('eo-jenkins-lib@master') import eo.Utils
@Library('eo-jenkins-lib@main') import eo.Utils
pipeline {
agent any
@ -21,7 +21,7 @@ pipeline {
stage('Packaging') {
steps {
script {
if (env.JOB_NAME == 'corbo' && env.GIT_BRANCH == 'origin/master') {
if (env.JOB_NAME == 'corbo' && env.GIT_BRANCH == 'origin/main') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder corbo'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix corbo"

View File

@ -14,7 +14,7 @@ setenv =
deps =
django111: django>=1.11,<1.12
django22: django>=2.2,<2.3
django111: https://git.entrouvert.org/hobo.git/snapshot/hobo-master.tar.gz
django111: https://git.entrouvert.org/hobo.git/snapshot/hobo-main.tar.gz
pytest-cov
pytest-django
pytest