Skip to content
Open
21 changes: 1 addition & 20 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,6 @@ node
}
stage('deploy')
{
echo 'branch name ' + env.BRANCH_NAME

if (env.BRANCH_NAME.startsWith("Feature_"))
{
echo "Deploying to Dev environment after build"
}

else if (env.BRANCH_NAME.startsWith("Release_"))
{
echo "Deploying to Stage after build and Dev Deployment"
}

else if (env.BRANCH_NAME.startsWith("master"))
{
echo "Deploying to PROD environment"
}

sh """chmod +x HelloWorld.sh
./HelloWorld.sh"""

echo "Hello Kent"
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# BranchingandMergingDemo
Repository to Demo Branching and Merging
hello