Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 5bf83cf

Browse files
[build] improvement
1 parent c82f08e commit 5bf83cf

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

Jenkinsfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,13 @@ pipeline {
22
agent any
33

44
environment {
5-
PROJECTNAME = 'myscriptjs master'
5+
PROJECTNAME = 'myscriptjs ${env.BRANCH_NAME}'
66
PROJECTHOME = '/tmp/myscriptjs'
77
SELENIUM_ENV = 'chrome'
88
PROJECT_DIR= "${WORKSPACE.replace('/var/jenkins_home/workspace','/dockervolumes/cloud/master/jenkins/workspace')}"
99
MAKE_ARGS=" PROJECT_DIR=${env.PROJECT_DIR} HOME=${env.PROJECTHOME} SELENIUM_ENV=${env.SELENIUM_ENV} BUILDID=${env.BUILD_NUMBER} "
1010
}
1111

12-
stages {
13-
stage ('Checkout'){
14-
steps {
15-
git credentialsId: "build", url: 'https://scm.corp.myscript.com/scm/ws/myscriptjs.git', branch: 'master'
16-
}
17-
}
18-
1912
stage ('purge'){
2013
steps {
2114
sh "make ${env.MAKE_ARGS} purge"

0 commit comments

Comments
 (0)