Skip to content

Commit

Permalink
Check
Browse files Browse the repository at this point in the history
  • Loading branch information
Asanka Vithanage committed Nov 8, 2019
1 parent 25b1e30 commit feab276
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pipeline {
}

environment {
JOBNAME = "jobname"
JOBNAME = "jobnamee"
}

parameters {
Expand All @@ -18,6 +18,7 @@ pipeline {
stages {
stage('Deploy JMeter Slaves') {
steps {
currentBuild.displayName = "The name."
sh 'echo ======================================'
sh 'helm install --set server.replicaCount=${noOfSlaveNodes},master.replicaCount=0 --name distributed-jmeter-${JOBNAME}-${BUILD_NUMBER} stable/distributed-jmeter'
sh 'sleep 5'
Expand All @@ -38,6 +39,7 @@ pipeline {
stage('Execute Performance Test') {
steps {
sh 'echo ======================================'
sh 'echo ${currentBuild.displayName}'
sh 'echo ${jenkinsSlaveNodes}'
sh 'mvn clean install \"-DjenkinsSlaveNodes=${jenkinsSlaveNodes}\"'
sh 'echo ======================================'
Expand Down

0 comments on commit feab276

Please sign in to comment.