Wednesday, November 27, 2019
Tuesday, November 19, 2019
how to skip stage in jenkins pipeline
Skipped Stages in Jenkins Scripted Pipeline
To show all stages at every build even if not executed is a
good practice and brings transparency into pipelines
with conditional steps or stages. Add the when condition
to a stage of your pipeline:
pipeline {
agent any stages { stage ('1 choice') { when { expression { choice == '1'} } steps { echo "Hello, Choice 1!" } } stage ('2 choice') { when { expression { choice == '2'} } steps { echo "Hello, Choice 2!" } } stage ('3 choice') { when { expression { choice == '3'} } steps { echo "Hello, Choice 3!" } } } } |
Thursday, November 7, 2019
Subscribe to:
Posts (Atom)
Ethical Hacking Techniques: Cracking WPA/WPA2 Wi-Fi Using WPS and Capturing Handshakes
In the realm of cyber security, ethical hacking plays a crucial role in identifying and addressing vulnerabilities. One of the areas where e...
-
sudo apt update sudo apt install ubuntu-desktop sudo apt install tightvncserver sudo apt install gnome-panel gnome-settings-daemon metac...
-
How to Setup GUI on Amazon EC2 Ubuntu Server Amazon EC2 Linux servers do not come with GUI, all the operations have to be done using ssh co...
-
Introduction In the contemporary software development landscape, automation is crucial for efficiency and speed. GitLab offers a robust CI...