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 {
|
||||
agent any
|
||||
|
||||
parameters {
|
||||
gitParameter branchFilter: '.*/(.*)', defaultValue: 'hoogabooga', name: 'BRANCH', type: 'PT_BRANCH'
|
||||
// parameters {
|
||||
// gitParameter branchFilter: '.*/(.*)', defaultValue: 'hoogabooga', name: 'BRANCH', type: 'PT_BRANCH'
|
||||
// }
|
||||
|
||||
environment {
|
||||
ENV_NAME = "${env.BRANCH_NAME == "develop" ? "staging" : "production"}"
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'pwd'
|
||||
sh 'ls'
|
||||
echo $ENV_NAME
|
||||
// sh 'pwd'
|
||||
// sh 'ls'
|
||||
// sh 'npm install'
|
||||
// sh 'npm run build'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue