diff --git a/Jenkinsfile b/Jenkinsfile index c2a6ff51da060c5e0ffbf335941f88d55fdf9c36..9b3816b4d7884e02f1d47f2f395c4b406db9b499 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 . ''' } }