- tidy job: use only one agent
- add documentation
- add cleanup of workspace (otherwise we run out of disk space, yay)
#!groovy
-// This Jenkinsfile is used to mark jobs as "pending" as quickly as
-// possible. The other longer running jobs only set the status to pending once
-// they start running.
-//
-// See https://jenkins.tjhei.info/job/dealii-mark/ for details.
+/*
+
+This Jenkinsfile is used to mark jobs as "pending" as quickly as possible. The
+other longer running jobs only set the status to pending once they start
+running.
+
+See https://jenkins.tjhei.info/job/dealii-mark/ for details.
+
+*/
/*
Settings to apply inside Jenkins:
}
}
+ post { cleanup { cleanWs() } }
+
stages
{
stage("check")
#!groovy
+/*
+
+This Jenkins job runs a build on OSX
+
+See https://jenkins.tjhei.info/job/dealii-osx/ for details.
+
+*/
+
/*
Settings to apply inside Jenkins:
- discover pull requests (remove branches/master)
}
}
+ post { cleanup { cleanWs() } }
+
stages
{
stage("check")
#!groovy
+/*
+
+This Jenkins job runs clang-tidy on the code base
+
+See https://jenkins.tjhei.info/job/dealii-tidy/ for details.
+
+*/
+
/*
Settings to apply inside Jenkins:
- discover pull requests (remove branches/master)
pipeline
{
- agent none
+ agent
+ {
+ docker
+ {
+ image 'tjhei/candi-base-clang'
+ }
+ }
+
+ post { cleanup { cleanWs() } }
stages
{
}
}
- agent
- {
- docker
- {
- image 'dealii/indent'
- }
- }
-
steps
{
githubNotify context: 'tidy', description: 'pending...', status: 'PENDING'
stage('build')
{
- agent
- {
- docker
- {
- image 'tjhei/candi-base-clang'
- }
- }
steps
{
timeout(time: 2, unit: 'HOURS')
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams