commit | faae6ab79ae7206f50c8dfa573978225573a6a70 | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Mon Jun 08 13:15:12 2020 -0400 |
committer | June Tate-Gans <jtgans@google.com> | Mon Jun 08 13:15:12 2020 -0400 |
tree | b6a7bb3bd041b7abbed73ae11d3e88ed973ba47d | |
parent | 19543b82fa7b45cd6413434f7df122b1d9cb3d50 [diff] |
Strip newlines from output. Change-Id: I77ccc1905f36387cf14ca40a282353eecb3c26cd
diff --git a/cicd/pipelines/tasks/task_publish_unstable.jenkins b/cicd/pipelines/tasks/task_publish_unstable.jenkins index 7d7ea6d..c8df8e6 100644 --- a/cicd/pipelines/tasks/task_publish_unstable.jenkins +++ b/cicd/pipelines/tasks/task_publish_unstable.jenkins
@@ -7,7 +7,7 @@ | head -n1 """ - return sh(returnStdout: true, script: script) + return sh(returnStdout: true, script: script).strip() } def installGpgKeyring() {
diff --git a/cicd/pipelines/tasks/task_update_unstable.jenkins b/cicd/pipelines/tasks/task_update_unstable.jenkins index c954d4f..8ae2e23 100644 --- a/cicd/pipelines/tasks/task_update_unstable.jenkins +++ b/cicd/pipelines/tasks/task_update_unstable.jenkins
@@ -7,7 +7,7 @@ | head -n1 """ - return sh(returnStdout: true, script: script) + return sh(returnStdout: true, script: script).strip() } def installGpgKeyring() {