Fakultas Ilmu Komputer UI

Commit f869c537 authored by Muhammad Ariq Basyar's avatar Muhammad Ariq Basyar Committed by Fakhira Devina
Browse files

fixing bug gitlab-ci script

- remove single quote from if condition
parent 1537444c
......@@ -38,7 +38,6 @@ SonarScanner:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
stage: sonarqube
allow_failure: true
script:
- sonar-scanner
-Dsonar.host.url=https://pmpl.cs.ui.ac.id/sonarqube-advprog
......@@ -64,6 +63,6 @@ Deployment:
script:
- result=$(ssh $TARGET "bash deployment/reload.sh $CI_COMMIT_REF_NAME")
- echo "$result"
- if [ '$(echo "$result" | tail -n 1)' != "success" ]; then exit 1; fi
- if [ $(echo "$result" | tail -n 1) != "success" ]; then exit 1; fi
environment:
name: deployment
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment