Skip to content
Snippets Groups Projects
Commit b0812207 authored by Florence Drui's avatar Florence Drui
Browse files

added jenkinsfile

parent 3fe58f54
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