mirror of
https://github.com/jarulsamy/Plex-Bot.git
synced 2024-08-19 15:01:55 +02:00
Merge branch 'master' into dev
This commit is contained in:
commit
a6be6eac37
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -25,6 +25,7 @@ pipeline {
|
|||||||
sh ''' conda create --yes -n ${BUILD_TAG} python
|
sh ''' conda create --yes -n ${BUILD_TAG} python
|
||||||
source /var/lib/jenkins/miniconda3/etc/profile.d/conda.sh
|
source /var/lib/jenkins/miniconda3/etc/profile.d/conda.sh
|
||||||
conda activate ${BUILD_TAG}
|
conda activate ${BUILD_TAG}
|
||||||
|
pip install -r requirements.txt
|
||||||
pip install pylint
|
pip install pylint
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
@ -47,18 +48,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh ''' source /var/lib/jenkins/miniconda3/etc/profile.d/conda.sh
|
sh './deploy/build.sh'
|
||||||
conda activate ${BUILD_TAG}
|
|
||||||
./deploy/build.sh
|
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Push Image') {
|
stage('Push Image') {
|
||||||
when {
|
|
||||||
expression {
|
|
||||||
currentBuild.result == 'SUCCESS'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
sh './deploy/push.sh'
|
sh './deploy/push.sh'
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Plex-Bot
|
# Plex-Bot
|
||||||
|
|
||||||
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c93b8ff976ce4205a95046487917476b)](https://app.codacy.com/manual/jarulsamy/Plex-Bot?utm_source=github.com&utm_medium=referral&utm_content=jarulsamy/Plex-Bot&utm_campaign=Badge_Grade_Dashboard)
|
||||||
[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html)
|
[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html)
|
||||||
![docker pulls](https://img.shields.io/docker/pulls/jarulsamy/plex-bot)
|
![docker pulls](https://img.shields.io/docker/pulls/jarulsamy/plex-bot)
|
||||||
![docker img size](https://img.shields.io/docker/image-size/jarulsamy/plex-bot)
|
![docker img size](https://img.shields.io/docker/image-size/jarulsamy/plex-bot)
|
||||||
|
Loading…
Reference in New Issue
Block a user