diff --git a/Jenkinsfile b/Jenkinsfile index c625ffd4e1f195b9c0be9de8f936ca5b0272169f..c2efdf7d9deeb969a5bcf80556d7f7c37dbe4429 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,6 +14,15 @@ pipeline { command: - cat tty: true + resources: + limits: + cpu: 1 + memory: 1Gi + - name: jnlp + resources: + limits: + cpu: 1 + memory: 1Gi ''' } } @@ -77,7 +86,7 @@ pipeline { } steps { sh ''' - docker build --no-cache --pull --build-arg NGINX_IMAGE_TAG="${BASE_NGINX_IMAGE_TAG}" --build-arg HUGO_VERSION="${hugo_version}" --build-arg NODE_VERSION="${node_version}" -t ${IMAGE_NAME}:${TAG_NAME} -t ${IMAGE_NAME}:latest . + docker build --pull --build-arg NGINX_IMAGE_TAG="${BASE_NGINX_IMAGE_TAG}" --build-arg HUGO_VERSION="${hugo_version}" --build-arg NODE_VERSION="${node_version}" -t ${IMAGE_NAME}:${TAG_NAME} -t ${IMAGE_NAME}:latest . ''' } }