mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
test jenkins
This commit is contained in:
parent
74b8e7a4c8
commit
67fa815359
1 changed files with 9 additions and 4 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -1,15 +1,20 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
parameters {
|
// parameters {
|
||||||
gitParameter branchFilter: '.*/(.*)', defaultValue: 'hoogabooga', name: 'BRANCH', type: 'PT_BRANCH'
|
// gitParameter branchFilter: '.*/(.*)', defaultValue: 'hoogabooga', name: 'BRANCH', type: 'PT_BRANCH'
|
||||||
|
// }
|
||||||
|
|
||||||
|
environment {
|
||||||
|
ENV_NAME = "${env.BRANCH_NAME == "develop" ? "staging" : "production"}"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'pwd'
|
echo $ENV_NAME
|
||||||
sh 'ls'
|
// sh 'pwd'
|
||||||
|
// sh 'ls'
|
||||||
// sh 'npm install'
|
// sh 'npm install'
|
||||||
// sh 'npm run build'
|
// sh 'npm run build'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue