Advertisement
Guest User

Untitled

a guest
Jan 8th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.63 KB | None | 0 0
  1. @Library('pipeline') _
  2.  
  3. pipeline {
  4.     parameters {
  5.         string(name: 'buildNumber', defaultValue: '', description: 'Build number of artifact to test')
  6.         string(name: 'buildOem', defaultValue: 'aparavi', description: 'Oem of artifact to test')
  7.         string(name: 'buildJobName', defaultValue: 'aparavi-app-branch', description: 'Name of job of artifact to test')
  8.     }
  9.  
  10.     agent {
  11.         docker {
  12.             image 'mysql:aparavi-test'
  13.         }
  14.     }
  15.  
  16.     stages {
  17.         stage('Test') {
  18.             steps {
  19.                 sh 'mysql -uroot -ppassword -e "LIST DATABASES"'
  20.             }
  21.         }
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement