• Leonard Topno

How to set up Jenkins on Google Kubernetes Engine GKE

Jenkins is an open-source continuous integration software tool that provides real-time feedback for isolated changes that are a part of a larger project.


Benefits of Jenkins

  1. Reducing manual steps

  2. Reducing Duplication of efforts in their build

  3. Deploy and test processes automatically



pipeline {    angent any        stages{            stage("One") {                 steps {                    echo "Hi, This is Leo trying out CI-CD"                }            }            stage("Two") {                steps {                    input ("Do you want to proceed?")                }            }            stage("Three") {                when {                    not {                        branch "master"                    }                }                steps {                    echo "Hello"                }            }            steps("Four") {                parallel {                    stage("Unit Test") {                        steps {                            echo "Running the unit test..."                        }                    }                    stage("Integration Test") {                        agent {                            docker {                                reuseNode false                                image 'ubuntu'                            }                        }                        steps {                            echo "Running the integration test...."                         }                    }                }            }        }}

5 views
Never Miss a Post. Subscribe Now!

I'm a paragraph. Click here to add your own text and edit me. It's easy.

© 2023 by Leonard Topno. 

  • Grey Twitter Icon
  • Instagram