ci: update my make job
Signed-off-by: Chris Kay <chris.kay@arm.com>
Change-Id: I20378c1806338a8ea2e62d3c4b72fd3c408cb2b3
diff --git a/cjkay-tf-a-make/Jenkinsfile b/cjkay-tf-a-make/Jenkinsfile
index 1b01664..72f9ec8 100644
--- a/cjkay-tf-a-make/Jenkinsfile
+++ b/cjkay-tf-a-make/Jenkinsfile
@@ -61,35 +61,33 @@
}
stages {
- environment {
- TF_A_FLAGS = "${params.TF_A_FLAGS}"
+ stage('Checkout') {
+ steps {
+ checkout([ $class: 'GitSCM',
+ branches: [[name: params.TF_A_GIT_REFNAME]],
+
+ userRemoteConfigs: [[
+ url: params.TF_A_GIT_URL,
+ refspec: params.TF_A_GIT_REFSPEC,
+ ]],
+
+ extensions: [
+ [ $class: 'CloneOption', shallow: true, depth: 1 ],
+ [ $class: 'SubmoduleOption', recursiveSubmodules: true ],
+ ]
+ ])
+ }
}
- stages {
- stage('Checkout') {
- steps {
- checkout([ $class: 'GitSCM',
- branches: [[name: params.TF_A_GIT_REFNAME]],
-
- userRemoteConfigs: [[
- url: params.TF_A_GIT_URL,
- refspec: params.TF_A_GIT_REFSPEC,
- ]],
-
- extensions: [
- [ $class: 'CloneOption', shallow: true, depth: 1 ],
- [ $class: 'SubmoduleOption', recursiveSubmodules: true ],
- ]
- ])
- }
+ stage('Build') {
+ environment {
+ TF_A_FLAGS = "${params.TF_A_FLAGS}"
}
- stage('Build') {
- steps {
- sh '''
- make ${TF_A_FLAGS} > build.log 2>&1
- '''
- }
+ steps {
+ sh '''
+ make ${TF_A_FLAGS} > build.log 2>&1
+ '''
}
}
}