Giter Club home page Giter Club logo

Comments (5)

sagatowski avatar sagatowski commented on July 20, 2024

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.

kumaraswamygaviyappa avatar kumaraswamygaviyappa commented on July 20, 2024

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.

  1. visual studio process will build the project if no errors RunStaticAnalysis.
  2. 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.

sagatowski avatar sagatowski commented on July 20, 2024

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.

sagatowski avatar sagatowski commented on July 20, 2024

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.

kumaraswamygaviyappa avatar kumaraswamygaviyappa commented on July 20, 2024

@sagatowski

I could achieve this using pipeline. Thank you for the suggestion.

image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.