mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
37 lines
No EOL
755 B
Groovy
37 lines
No EOL
755 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
parameters {
|
|
gitParameter branchFilter: '.*/(.*)', defaultValue: 'hoogabooga', name: 'BRANCH', type: 'PT_BRANCH'
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
// sh 'npm install'
|
|
// sh 'npm run build'
|
|
}
|
|
}
|
|
|
|
stage('Deploy: dev') {
|
|
when {
|
|
branch 'develop'
|
|
}
|
|
|
|
steps{
|
|
echo "====== its a dev!!! ======"
|
|
sh 'pwd'
|
|
}
|
|
}
|
|
|
|
stage('Deploy: master') {
|
|
when {
|
|
branch 'master'
|
|
}
|
|
|
|
steps{
|
|
echo "====== its a MASTER!!! ======"
|
|
}
|
|
}
|
|
}
|
|
} |