Is it possible to integrate Parasoft SOA webservices test with Jenkins?
I have a soatest project created to test my webservices. I would like it to automate running soatest scripts through Jenkins in each build. Is there any possible way we can perform this task?
I hope you guys can understand the question
Thank you in advance!
You can use soatestcli to run tests in a Jenkins shell or batch build step, if your licence allows that. The normal syntax is
soatestcli -data absolutePathToYourWorkspace -config 'user://YourTestConfigurationName' -resource YourProject/YourTestFile.tst -report .
You can also use the HTML Publisher plugin or DocLinks plugin to publish your report.html to Jenkins.
Related
I want to automate Checkmarx scan in Jenkins. Means it has to trigger new scan for every build.
For that, do I need any build integration scripts? If I do, where can I find them?
If don't, do you know how can I achieve it?
Thank you in advance and appreciate your help.
As far as I understand the documentation of the Checkmarx CxSAST Jenkins Plugin the plugin enables automatic code scan on CxSAST server, upon each build triggered by Jenkins. So you may need to install a plugin and his dependencies.
I am new to Jenkins, just finish to configure my first build. My question how can I run Jenkins build from my pc? I mean via command line or some script or java code, I just need to trigger it. Where do I start?
Try reading the documentation about consuming jenkins API, see the examples using curl CLI tool.
Also here's a Java API Client example for you to inspect.
I am trying to find a solution to automate installation and configuration of Jenkins & SonarQube. The idea is to provide an easy to use provisioning utility for setting up CI. Ideally I would love to automate the following
Installation
Set up users,Build, Unit testing and Code coverage
Is there an SDK, CLI or similar which can be used from batch script?
Thanks
You can use the Jenkins docker image for the installation part - even if you're not using Docker you can still copy the installation procedure:
https://github.com/jenkinsci/docker
For the setup of jobs I would recommend the Job DSL:
https://github.com/jenkinsci/job-dsl-plugin
For the rest you can use the Jenkins CLI or you can manually configure it once and then extract the corresponding XML file from the Jenkins home and copy it into other installations.
I would like to integrate Sonar Qube in my Existing Jenkins Set Up(Build Script in ANT).Please do help me in doing it
Mike
The easiest and recommended way would be to use SonarQube Jenkins Plugin. The documentation explains the process quite nicely and there is an option to run Standalone analysis, which is not dependent on your build process...
I am using Jenkins for integration testing.
Just to give the context. At the moment I have a separate build server which produces the build daily and Jenkins is not used as the build server. The build server executes the unit testing in my case.
When build process is complete it invokes the Jenkins job. In that job Jenkins start to deploy the build into the Virtual machine. I have a script for doing this.
Followed to that my plan is to run several scripts for doing the end-to-end testing.
Now I have several question in this regard:
How to parallelize the execution of the end-to-end tests?
As I am adding scripts after script I am getting worried how manageable it will be?
I am always using the web interface for adding and changing the scripts. How to do this from the command line?
Any ideas for a good tutorial? Any pointers from all of you? Thanks!
Looks like Build Flow Plugin is what I need.
https://github.com/jenkinsci/build-flow-plugin
You might want to try and see if you can use the Build Pipeline plugin before build flow. Much better visualization of what is going on, less scripting.
I link Build and deploy jobs in one sequence and then have unit and integration test jobs linked separately off the build job. You can then use Fail The Build plugin to have downstream jobs fail upstream ones.