Jenkinsfile: attempt to install nant and run the nant build script

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

Branch: refs/heads/develop
Commit: b0078f087b1d5f70e8678f10ed90476d075be03d
Parents: 0aa6a61
Author: Dominik Psenner <[email protected]>
Authored: Sun Jul 2 17:09:48 2017 +0200
Committer: Dominik Psenner <[email protected]>
Committed: Sun Jul 2 17:09:48 2017 +0200

----------------------------------------------------------------------
 Jenkinsfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/b0078f08/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 0d6ce56..1eb3caf 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -44,11 +44,13 @@ pipeline {
                stage('Build on ubuntu') {
                        agent {
                                docker {
-                                       image 'ubuntu:16.04'
+                                       image 'ubuntu:latest'
                                }
                        }
                        steps {
-                               sh "uname -a"
+                               sh "apt update"
+                               sh "apt install nant"
+                               sh "nant -buildfile:log4net.build"
                        }
                }
                stage('Test on Windows') {

Reply via email to