Skip to content

Commit

Permalink
ci: address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss committed Sep 15, 2024
1 parent 33ece48 commit a4ee54e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jenkins/artifacts/jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ pipeline {
stage('Test and Generate Harvest Metrics') {
steps {
script {
sh 'cp /u/mpeg/harvest/harvest.yml .'
def result = sh(script: 'bin/harvest generate metrics --poller dc1', returnStatus: true)
def result = sh(script: 'bin/harvest generate metrics --poller dc1 --config /u/mpeg/harvest/harvest.yml', returnStatus: true)
if (result != 0) {
error("Generate Harvest metrics command failed.")
}
Expand Down

0 comments on commit a4ee54e

Please sign in to comment.