Skip to content
Snippets Groups Projects
Commit 4600095e authored by BAGUET THOMAS's avatar BAGUET THOMAS
Browse files

Add Jenkinsfile

parent ddd704ba
No related merge requests found
pipeline {
agent any
stages {
stage("Prepare") {
steps {
deleteDir()
}
}
stage("Checkout") {
steps {
git("https://git.unistra.fr/lamy/tache-simple")
}
}
stage("Build") {
steps {
sh("sleep 10")
sh("mkdir build")
sh("echo \"I'm done!\" > build/result.\$(date +%s)")
}
}
stage("Package") {
steps {
archive(includes: "build/*")
}
}
}
triggers {
pollSCM("* * * * *")
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment