Skip to content
Snippets Groups Projects
Commit 1c58d1ed authored by VIGNERON CHRISTEL's avatar VIGNERON CHRISTEL
Browse files

Add new file

parent a6b460aa
Branches master
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("* * * * *")
}
}
\ No newline at end of file
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