23 lines
473 B
Plaintext
23 lines
473 B
Plaintext
|
pipeline {
|
||
|
agent any
|
||
|
|
||
|
stages {
|
||
|
|
||
|
// Create the virtual environments and install the packages
|
||
|
stage('Build dev branch') {
|
||
|
when {
|
||
|
branch 'dev'
|
||
|
}
|
||
|
steps {
|
||
|
echo 'Building code in the "dev" branch...'
|
||
|
sh '''
|
||
|
cd api/account
|
||
|
pipenv install
|
||
|
pipenv install --dev
|
||
|
'''
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|