Intégration d'outils de validation de qualité et pipeline Jenkins #1

Merged
afornerot merged 5 commits from continuous-integration into master 2022-09-26 09:44:30 +02:00
2 changed files with 18 additions and 0 deletions
Showing only changes of commit 0ddb71006f - Show all commits

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')