add deploy step
Gitea/homepage/pipeline/head There was a failure building this commit

This commit is contained in:
Georgios Jason Efstathiou
2024-12-23 15:01:47 +01:00
parent 1c695ca0ab
commit e4095abe3f
2 changed files with 52 additions and 0 deletions
Vendored
+8
View File
@@ -24,5 +24,13 @@ pipeline {
}
}
}
stage('Deploy to Nomad by running jobspec.hcl') {
steps {
script {
sh 'nomad job run jobspec.hcl -address=http://nomad.service.consul:4646'
}
}
}
}
}