chore: add jenkins validation pipeline
Cadoles/nineskeletor/pipeline/head There was a failure building this commit Details
Cadoles/nineskeletor/pipeline/pr-master This commit looks good Details

This commit is contained in:
wpetit 2022-09-21 12:17:13 +02:00
parent 44e6e012fd
commit 0ddb71006f
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,15 @@
def exec() {
String dockerfile = readFile(file:'Dockerfile')
dockerfile = """
${dockerfile}
RUN apt update && apt install -y php-gd php-curl php-zip curl
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
RUN npm install -g yarn
""".stripIndent()
writeFile(file:'Dockerfile', text: dockerfile)
}
return this

3
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,3 @@
@Library('cadoles') _
symfonyAppPipeline('ubuntu:22.04')