Plugin;
- performs e-mail validation
- prevents sending e-mails except the specified domain.
- prevents typo
- user1@jenkins.io user2@jenkins.io user3@jenkins.io --> user1 user2 user3 can be written and performs specific validation. E-mail address will be generated automatically in the build process.
-
Default Value : Specifies the default value of the field, which allows the user to save typing the actual value.
-
Domain : Permitted domain name for sending mail.
- Invalid Email
- Valid Email
pipeline {
agent any
parameters {
email defaultValue: 'sezai.can', description: 'Email address', domain: 'sahibinden.com', externalEmail: true, name: 'EMAIL'
}
stages {
stage('Email') {
steps {
echo "${params.EMAIL}"
}
}
}
}