55 lines
1.8 KiB
XML
55 lines
1.8 KiB
XML
<?xml version='1.1' encoding='UTF-8'?>
|
|
<flow-definition plugin="[email protected]">
|
|
<actions>
|
|
<org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobAction plugin="[email protected]_721309"/>
|
|
<org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction plugin="[email protected]_721309">
|
|
<jobProperties/>
|
|
<triggers/>
|
|
<parameters/>
|
|
<options/>
|
|
</org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction>
|
|
</actions>
|
|
<description></description>
|
|
<keepDependencies>false</keepDependencies>
|
|
<properties>
|
|
<org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
|
|
<triggers>
|
|
<hudson.triggers.SCMTrigger>
|
|
<spec>H(0-29)/10 * * * *</spec>
|
|
<ignorePostCommitHooks>false</ignorePostCommitHooks>
|
|
</hudson.triggers.SCMTrigger>
|
|
</triggers>
|
|
</org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
|
|
</properties>
|
|
<definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="[email protected]_ca_">
|
|
<script>pipeline {
|
|
agent {
|
|
label 'TeamARunner'
|
|
}
|
|
|
|
environment {
|
|
DISABLE_AUTH = 'true'
|
|
DB_ENGINE = 'sqlite'
|
|
}
|
|
|
|
stages {
|
|
stage('build') {
|
|
steps {
|
|
echo "Database engine is ${DB_ENGINE}"
|
|
sleep 80
|
|
echo "DISABLE_AUTH is ${DISABLE_AUTH}"
|
|
}
|
|
}
|
|
stage('test') {
|
|
steps{
|
|
junit '**/target/*.xml'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<sandbox>true</sandbox>
|
|
</definition>
|
|
<triggers/>
|
|
<disabled>false</disabled>
|
|
</flow-definition> |