From 7efaa32245832892c79d38e51605047006649abe Mon Sep 17 00:00:00 2001 From: Dany LE Date: Mon, 1 Aug 2022 12:03:14 +0200 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 16c3a56..aacee4a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,24 +1,3 @@ -node { - def remote = [:] - remote.name = 'workstation' - remote.host = 'workstation' - remote.user = 'dany' - remote.identityFile = '/var/jenkins_home/.ssh/id_rsa' - remote.allowAnyHosts = true - remote.agent = false - remote.logLevel = 'INFO' - stage('Build') { - sshCommand remote: remote, command: '\ - cd $(dirname $(find ~/jenkins/workspace/ant-http@script -name "Jenkinsfile")); \ - libtoolize; \ - aclocal; \ - autoconf; \ - automake --add-missing; \ - make; \ - ' - } -} - def remote = [:] remote.name = 'workstation' remote.host = 'workstation' @@ -52,6 +31,8 @@ pipeline{ steps { sshCommand remote: remote, command: ''' set -e + export WORKSPACE="jenkins/workspace/ant-http" + cd $WORKSPACE libtoolize aclocal autoconf