Skip to content

Commit

Permalink
Merge pull request #7 from xmos/feature/update_viewfiles
Browse files Browse the repository at this point in the history
Add Jenkins stage to update view files automatically
  • Loading branch information
xluciano authored Sep 7, 2021
2 parents 56833f7 + 3b270a5 commit e572267
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
xscope_fileo
============

0.3.1
-----

* ADDED: Jenkins stage to update view files automatically

0.3.0
-----
* ADDED: Jenkins driven file transfer test
Expand Down
15 changes: 14 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,19 @@ pipeline {
}
}
}
stage('Update view files') {
when {
expression { return currentBuild.currentResult == "SUCCESS" }
}
steps {
script {
current_scm = checkout scm
env.SAVED_GIT_URL = current_scm.GIT_URL
env.SAVED_GIT_COMMIT = current_scm.GIT_COMMIT
}
updateViewfiles()
}
}
}
post {
success {
Expand All @@ -121,4 +134,4 @@ pipeline {
cleanWs()
}
}
}
}
2 changes: 1 addition & 1 deletion xscope_fileio/module_build_info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 0.3.0
VERSION = 0.3.1

MODULE_XCC_FLAGS = $(XCC_FLAGS)

Expand Down

0 comments on commit e572267

Please sign in to comment.