Jenkinsfile: attempt to run apt-get install -y nant

Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/f16ca5b6
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/f16ca5b6
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/f16ca5b6

Branch: refs/heads/develop
Commit: f16ca5b63f711b8b74d2861bfb884615a9860124
Parents: b0078f0
Author: Dominik Psenner <[email protected]>
Authored: Sun Jul 2 17:19:24 2017 +0200
Committer: Dominik Psenner <[email protected]>
Committed: Sun Jul 2 17:19:24 2017 +0200

----------------------------------------------------------------------
 Jenkinsfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/f16ca5b6/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 1eb3caf..2caac4c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -48,8 +48,7 @@ pipeline {
                                }
                        }
                        steps {
-                               sh "apt update"
-                               sh "apt install nant"
+                               sh "apt-get install -y nant"
                                sh "nant -buildfile:log4net.build"
                        }
                }

Reply via email to