Comments (5)
This should be in a separate tool, that can be included in your Jenkins pipeline as a separate step after execution of the tests. So you basically create a pipeline, where you have the TcUnit-Runner running, and then (depending on result), the Static Code analysis tool.
I wrote a very basic implementation of a tool like that several years ago that's also MIT open-source, and with a bunch of documentation to it. It's available at:
https://github.com/sagatowski/TcStaticAnalysisLoader
from tcunit-runner.
Hi @sagatowski ,
Yes, i used same implementation to learn TwinCat programming/Jenkins and tested RunStaticAnalysis.
My understanding is, when Jenkins pipeline is implemented, visual studio process will be enabled two times.
- visual studio process will build the project if no errors RunStaticAnalysis.
- visual studio process initiated by TcUnit-Runner which builds the project and runs Tcunit frame work.
Is that possible to merge. Is my understanding correct?
from tcunit-runner.
It depends on what your definition of "to merge" is.
If it means to run as a single workflow in Jenkins, then yes.
from tcunit-runner.
Have you experimented with pipelines in Jenkins?
https://www.jenkins.io/pipeline/getting-started-pipelines/
I think you could probably put these two programs into a pipeline.
from tcunit-runner.
I could achieve this using pipeline. Thank you for the suggestion.
VS is invoked 3 times. In Stages Build,TE1200 and Unit Testing. I used TcStaticAnalysisLoader here.
And again VS is invoked by TcUnit-Runner in stage Report Analysis
I feel this not the efficient way but it's working as i wanted.
from tcunit-runner.
Related Issues (20)
- Building the project in TCXaeShell does not collect test results correctly when generating the XML file. HOT 21
- TcUnit-Runner Microsoft Azure DevOps HOT 3
- Add variant handling to TcUnit-Runner HOT 1
- Exit process with an exit code depending on test-results HOT 1
- TcUnit-Runner zombie instance of only solution is loaded HOT 2
- Visual Studio 2019 BuildSolution Hangs after CleanSolution in Jenkins HOT 7
- Running TcUnit-Runner on an Azure Virtual Machine through Azure Pipelines HOT 3
- Timeout issues during execution of `LaunchTcUnit.bat` on VM HOT 7
- ERROR: Error loading VS DTE. Is the correct version of Visual Studio and TwinCAT installed? Is the TcUnit-Runner running with administrator privileges? HOT 1
- Java Web Start is now deprecated by Oracle
- Double items in ErrorList causes TcUnitResultCollector to fail HOT 3
- Unit test in separate project using TcRunner HOT 17
- Turning on Static Analysis (light edition), gives build errors. HOT 1
- Add feature to optionally specify a directory for saving test result HOT 1
- Building the project results in several errors that don't appear when building from the XAE HOT 1
- Adding solution file path as a parameter for the TcUnit-Runner HOT 3
- Testsuite failures are not updated HOT 4
- TcUnit-Runner fail to find TwinCAT project given a more complex solution structure
- TcUnit release 1.3.0.0 seems to broke the old TcUnit-Runner documentation HOT 1
- README link to user manual returns 404 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tcunit-runner.