Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
en:modul:m324_aws:topics:04 [2025/10/15 12:53] dgaravaldien:modul:m324_aws:topics:04 [2025/10/22 12:52] (aktuell) dgaravaldi
Zeile 1: Zeile 1:
 ===== Introduction to Jenkins pipeline ===== ===== Introduction to Jenkins pipeline =====
-\\ +<sup>Internal reference: topics/03-1.md</sup>
 \\ \\
 ==== Introduction ==== ==== Introduction ====
-A pipeline is a sequence of automated operations that usually represents a part of the software delivery and quality assurance process. It can be seen as a chain of scripts that provide the following additional benefits:+**A pipeline is a sequence of automated operations** that usually represents a part of the software delivery and quality assurance process. It can be seen as a chain of scripts that provide the following additional benefits:
   * ''Operation grouping'': Operations are grouped together into stages (also known as gates or quality gates) that introduce a structure into a process and clearly define a rule – if one stage fails, no further stages are executed.   * ''Operation grouping'': Operations are grouped together into stages (also known as gates or quality gates) that introduce a structure into a process and clearly define a rule – if one stage fails, no further stages are executed.
   * ''Visibility'': All aspects of a process are visualized, which helps in quick failure analysis and promotes team collaboration.   * ''Visibility'': All aspects of a process are visualized, which helps in quick failure analysis and promotes team collaboration.
Zeile 23: Zeile 22:
 Stage: A logical separation of steps that groups conceptually distinct sequences of steps – for example, build, test, and deploy, used to visualize the Jenkins pipeline progressInformationTechnically, it's possible to create parallel steps; however, it's better to treat them as an exception that is only used for optimization purposes. Stage: A logical separation of steps that groups conceptually distinct sequences of steps – for example, build, test, and deploy, used to visualize the Jenkins pipeline progressInformationTechnically, it's possible to create parallel steps; however, it's better to treat them as an exception that is only used for optimization purposes.
  
 +\\
 === A multi-stage Hello World === === A multi-stage Hello World ===
 As an example, let's extend the Hello World pipeline to contain two stages: As an example, let's extend the Hello World pipeline to contain two stages:
Zeile 33: Zeile 32:
           stage('First Stage') {           stage('First Stage') {
                steps {                steps {
-                    echo 'Step   -Hello World'+                    echo 'Step 1. Hello World'
                }                }
           }           }
           stage('Second Stage') {           stage('Second Stage') {
                steps {                steps {
-                    echo 'Step   -Second time Hello' +                    echo 'Step 2. Second time Hello' 
-                    echo 'Step   -Third time Hello'+                    echo 'Step 3. Third time Hello'
                }                }
           }           }
Zeile 45: Zeile 44:
 } }
  
-<code>+</code> 
 The pipeline has no special requirements in terms of environment, and it executes three steps inside two stages. When we click on __Build Now__, we should see a visual representation: The pipeline has no special requirements in terms of environment, and it executes three steps inside two stages. When we click on __Build Now__, we should see a visual representation:
  
Zeile 59: Zeile 59:
 ---- ----
  
-[[https://creativecommons.org/licenses/by-nc-sa/4.0/|{{https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png}}]] Daniel Garavaldi (topics/02-1.md)+[[https://creativecommons.org/licenses/by-nc-sa/4.0/|{{https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png}}]] Daniel Garavaldi
  
  • en/modul/m324_aws/topics/04.1760525603.txt.gz
  • Zuletzt geändert: 2025/10/15 12:53
  • von dgaravaldi