Skip to content

Commit

Permalink
Added Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
FeynmanFan committed Apr 2, 2020
1 parent 6249568 commit 726baf6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
node('DOTNETCORE'){
stage('SCM'){
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://github.com/FeynmanFan/JenkinsDocker']]])
}
stage('Build'){
sh 'dotnet build ConsoleApp1'
}
stage('Test'){
echo 'Execute unit tests'
}
stage('Package'){
echo 'Zip it up'
}
stage('Deploy'){
echo 'Push to deployment'
}
}

0 comments on commit 726baf6

Please sign in to comment.