- Jenkins .war file. Easy to run in windows and mac platform. Just write in console java -jar jenkins.war
- JDK 7 (Old version worked for the Microsoft Azure OS 10)
- All Permissions given to access and execute.
- JDK should be pre-installed. Verify the existence of java –
- In command prompt run, java -jar jenkins.war
- http://localhost:8080/ — will be started and you need to access and configure it.
- You might receive this warning in Windows 10 -> WARNING: Symbolic links enabled on this platform (Solution)
- In configuration you need to do these:
- Execute Windows batch command for Windows OS
- First line – show the code repository of your scripts
- Second line – Execution command line — it can be customized or followup with cucumber help for different formats. We are generating .json for the report.
- Third line – Moving the recently created .json file to a directory — by using Cucumber JVM will populate report.
- JDK should be pre-installed. Verify the existence of java –
- In console simply run, java -jar jenkins.war
- http://localhost:8080/ — will be started and you need to access and configure it.
- In configuration you need to do these:
- Execute Shell for Unix.
- First line – show the code repository of your scripts
- Second line – Execution command line — it can be customized or followup with cucumber help for different formats. We are generating .json for the report.
- Third line – Moving the recently created .json file to a directory — by using Cucumber JVM will populate report.
- If you need to run all the Jobs — one after another, you can mention that here in below in post-build actions
- To setup plugins we need to access here and look for Cucumber JVM Reports. (Restart if required)