×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 109801203, Entry date: 11/30/2021
(6)
Rate

Continuous Integration with TIA Portal

  • Entry
  • Associated product(s)
This application example demonstrates a simple workflow for implementation of parts of the Continuous Integration process with the Siemens portfolio. It offers a modular toolset as an optimized basis for customer-specific solutions.

A typical scenario begins when the user changes something in his/her automation program with TIA Portal and saves the changes in that user's version control system, e.g. the project server. These changes are detected automatically and the information is sent to the Continuous Integration system – in this case, the orchestration software Jenkins. Jenkins starts the test environment and performs the tests, for example to check against a programming style guide. The result of the tests is sent to Jenkins, adjusted for ease of analysis, and then the results are automatically sent to the developers so that they can respond in time if necessary. 

This application example is divided into five parts:

  • The first part describes general setup of the Continuous Integration environment. 
  • The second part explains the Project Server Tools, their use and parameter assignment, used for reading information from the project server and exporting defined project versions. 
  • The third part provides the ability to convert various XML formats to the JUNIT format that Jenkins uses. 
  • The fourth part describes the use of the Jenkins software in combination with TIA Portal and the TIA Portal project server. 
  • The fifth part explains how the Test Runner works.


Download forTIA Portal
  Documentation Setup (800,1 KB)
  Documentation Project Server Tool (612,7 KB)
  Documentation Transforming XML (534,0 KB)
  Documentation Jenkins (1,1 MB)
  Documentation Test Runner (607,8 KB)

 Registrierung notwendig  Setup Project (Bat Files) (14,4 KB)(SHA-256)
 Registrierung notwendig  Project Server Tool Project (47,3 KB)(SHA-256)
 Registrierung notwendig  Transforming XML Project (177,4 KB)(SHA-256)
 Registrierung notwendig  Test Runner Project (282,1 KB)(SHA-256)

 Registrierung notwendig  Readme OSS Toolbox for TIA Portal (34,8 KB)
 Registrierung notwendig  Readme OSS Test Runner (46,2 KB)

Additional keywords
sup_applications


Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.