about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-21T10·25+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-21T10·25+0100
commit56e4d9f9b5f1bceabc36f04aac575db7df9ef666 (patch)
tree6a25ed8e42c153fcd4ef69cc9d55b00107603edc
parentf53b08e4a0043bad5884c09a2c750c9d9dfef714 (diff)
Debugging briefcase pipeline
Somehow `git-secrets --scan-history` is exiting non-zero, when I don't think it
should. Logging some environment information to get a better idea of what's
going on.
-rw-r--r--ci/pipelines/briefcase.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/pipelines/briefcase.nix b/ci/pipelines/briefcase.nix
index 9b09ef69b5d9..2e1f956b84c4 100644
--- a/ci/pipelines/briefcase.nix
+++ b/ci/pipelines/briefcase.nix
@@ -3,7 +3,12 @@
 let
   pipeline.steps = [
     {
-      command = "${pkgs.git-secrets}/bin/git-secrets --scan-history";
+      command = ''
+        echo $(pwd)
+        git show HEAD
+        git log -n 1
+        ${pkgs.git-secrets}/bin/git-secrets --scan-history
+      '';
       label = ":briefcase: Briefcase [lint]";
     }
     {