Created
June 27, 2020 14:17
-
-
Save harsha89/1a8ab09c19bfbb65b430d357d7a12b68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
stages { | |
stage('Deploy Web app to Azure'){ | |
when { changeset "*/component_a/**"} //Will execute your steps if any file change inside the component_a directory | |
steps { | |
//Your steps | |
} | |
} | |
stage('Deploy API service to Azure portal'){ | |
when { changeset "*/component_b/**"} //Will execute your steps if any file change inside the component_b directory | |
steps { | |
//Your steps | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment