Open obriensystems opened 3 years ago
pipeline { agent any tools { maven 'mvn' }
/*agent {
label 'maven'
}*/
options {
disableConcurrentBuilds()
}
stages {
stage('Build') {
steps {
echo 'Building..'
sh 'mvn clean install -U -DskipTests=true'
}
}
stage('Test') {
steps {
echo 'Testing..'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}
The developer lifecycle for non-ISDE developers like AWS PS is different github/ocp user needs registry/jenkins as well for ext users verify OCP deploy from dockerfile works instead of using from registry
There is a local script that can automate at least the build/run dev cycle for the container in the repo. Note that the root Dockerfile is used for OCP, the DockerFile (camelcase) is used for both OCP or local docker desktop/KIND https://github.com/ised-isde-canada/cbmdsp-cp-sp-overall-architecture/blob/master/src/docker/build.sh