My question: I am getting an error while executing collection in Jenkins Pipeline, I am using Mac intel machine
Details (like screenshots):
Below is the pipeline script which has been generated from Postman, few things I have updated as required:
pipeline {
agent anytools {nodejs âNode1â}
stages {
stage(âInstall Postman CLIâ) {
steps {
sh âcurl -o- âhttps://dl-cli.pstmn.io/install/osx_64.shâ | shâ
}
}
stage(âPostman CLI Loginâ) {
steps {
sh âpostman login --with-api-key PMAK-6031-2d4302912â
}
}
stage(âRunning collectionâ) {
steps {
sh âpostman collection run â2219022-2501447e-c8â -e â221902ad-9e0b-cd0dd289edd1ââ
}
}
}
}
Above Script has been generated from Postman CLI Configuration, see the below snapshot
See the below Jenkins logs error