Skip to content

Instantly share code, notes, and snippets.

@davidmukiibi
Last active December 4, 2019 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidmukiibi/be484ff0cc1e81b6f0f5c1192c48a2b1 to your computer and use it in GitHub Desktop.
Save davidmukiibi/be484ff0cc1e81b6f0f5c1192c48a2b1 to your computer and use it in GitHub Desktop.
pipeline {
agent any
stages {
stage('Performance Testing') {
steps {
echo 'Running K6 performance tests...'
sh 'sudo chmod +x setup.sh'
sh 'sudo ./setup.sh'
sh 'k6 run tests/test.js'
echo 'Completed Running K6 performance tests!'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment