ACCELQ Azure plugin is a node.js based application. It has app.js file and you can use node.js runtime based image in azure Devops build and run it.
Example flow (use can use bash task in azure pipeline yaml)
- wget https://accelq.s3.amazonaws.com/releases/plugins/latest/aq-vsts-azure-plugin-latest.tar.gz
- tar xvzf aq-vsts-azure-plugin-latest.tar.gz
- cd aq-vsts-azure-plugin-latest
- npm install
- Base64-Encode your accelq password using
- node encodepass.js --password <accelq_password>
- node app.js --url <accelq_url> --tenant <tenant_name> --project <project_name> --user <accelq_user_email> --password <base64encoded_accelq_user_password> --jobid <accelq_cicd_jobid> --agent <any_or_name_or_partofname> --runparams <run_time_params_seperated_by_ambersand>
- After the execution, a JUnit formatted output file, accelq_report.xml is created.
Note: Job ID required for the "--jobid" argument is generated from ACCELQ. Here is how.
You can find a sample pipeline yaml at https://accelq.s3.amazonaws.com/releases/plugins/latest/sample-pipeline-latest.yaml
Comments
0 comments
Please sign in to leave a comment.