Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Jenkinsfile 765 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  1. pipeline {
  2. agent any
  3. stages {
  4. stage('Trigger google cloud build') {
  5. when { branch 'main' }
  6. steps {
  7. googleCloudBuild credentialsId: 'project-talos', request: file('gcloudbuild.yaml')
  8. }
  9. }
  10. stage('Make docs') {
  11. when { not { branch 'main' } }
  12. environment {
  13. WORKING_DIR = "$JENKINS_PATH_ON_HOST/workspace/DAGsHub_multibranch_test_jenkins"
  14. }
  15. steps {
  16. sh '. make-docs.sh'
  17. }
  18. }
  19. }
  20. post {
  21. always {
  22. discordSend title: currentBuild.fullDisplayName, link: currentBuild.absoluteUrl, result: currentBuild.currentResult, webhookURL: "${DISCORD_WEBHOOK}"
  23. }
  24. }
  25. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...