Skip to content

Commit

Permalink
Update Jenkinsfile (#5754)
Browse files Browse the repository at this point in the history
* Update Jenkinsfile

* update nodee version to 16.20.2 (#5756)

Co-authored-by: Clarisse Abalos <[email protected]>

* update npm version to 8.19.4

* v8 version

* v8 version

* test v8 comment

* add version back

* add directories for v8

* Revert "add directories for v8"

This reverts commit 0c0f10b.

* add include dir to v8 in VersionCmd.cpp

* Revert "add include dir to v8 in VersionCmd.cpp"

This reverts commit 3e8c990.

* revert v8 version

* revert v8

* update gitignore

* update jenkinsfile

* update jenkinsfile

* update jenkinsfile

* revert jenkinsfile

* v8-version dependency

* unlock v8 version

* revert version

* revert

* missing file

* update version string

* peer dependencies

* disable sonar stage

* update copyright header

---------

Co-authored-by: Clarisse Abalos <[email protected]>
Co-authored-by: jordanmurray35 <[email protected]>
  • Loading branch information
3 people authored May 10, 2024
1 parent 2338107 commit 7f6842f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .env_versions
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ GLPK_VERSION=4.64
LIBOAUTHCPP_VERSION=0.1.0
LIBPHONENUMBER_VERSION=8.12.39
LIBPOSTAL_VERSION=1.1
NODE_VERSION=14.16.1
NPM_VERSION=6.14.12
V8_VERSION=8.4.371.19
NODE_VERSION=16.20.2
NPM_VERSION=8.19.4
V8_VERSION=9.4.146.26
STXXL_VERSION=1.3.1
ARMADILLO_VERSION=10.8.2
GDAL_VERSION=3.8.0
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ conf/services/importHoot2Ops.json
**/.project
*.gcov
*.autosave
*.so
*~
*.kate-swp
aclocal.m4
autom4te.cache
BuildDate.txt
bin/
bw-output/
.cache/*
apndTest/*
callgrind.*
conf/database/DatabaseConfigLocal.sh
conf/LocalHoot.json
Expand Down
2 changes: 1 addition & 1 deletion Makefile.hoot
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ ifeq ($(BUILD_UI_TESTS),uitests)
ifeq ($(BUILD_SERVICES),services)
scripts/database/AddKarmaTestUser.sh
cd $$HOOT_HOME/hoot-ui-2x && \
npm i && \
npm i --legacy-peer-deps && \
npm test
else
echo "UI tests must specify both --with-services and --with-uitests."
Expand Down
6 changes: 3 additions & 3 deletions VagrantProvisionVars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export GLPK_VERSION=4.64
export LIBOAUTHCPP_VERSION=0.1.0
export LIBPHONENUMBER_VERSION=8.12.39
export LIBPOSTAL_VERSION=1.1
export NODE_VERSION=16.0.0
export NPM_VERSION=6.14.12
export V8_VERSION=8.4.371.19
export NODE_VERSION=16.20.2
export NPM_VERSION=8.19.4
export V8_VERSION=9.4.146.26
export STXXL_VERSION=1.3.1
export GOOGLE_CHROME_VERSION=91.0.4472.114

Expand Down
6 changes: 3 additions & 3 deletions hoot-core/src/main/cpp/hoot/core/cmd/VersionCmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* This will properly maintain the copyright information. Maxar
* copyrights will be updated automatically.
*
* @copyright Copyright (C) 2015-2023 Maxar (http://www.maxar.com/)
* @copyright Copyright (C) 2015-2024 Maxar (http://www.maxar.com/)
*/

// Boost
Expand Down Expand Up @@ -57,7 +57,7 @@
#include <node/node_version.h>

// v8
#include <v8-version-string.h>
#include <v8-version.h>

// tgs
#include <tgs/System/SystemInfo.h>
Expand Down Expand Up @@ -122,7 +122,7 @@ class VersionCmd : public BaseCommand
LOG_DEBUG("CppUnit Version:\t" << CPPUNIT_VERSION);
# endif
LOG_DEBUG("NodeJs Version:\t" << NODE_VERSION_STRING);
LOG_DEBUG("v8 Version: \t" << V8_VERSION_STRING);
LOG_DEBUG("v8 Version: \t" << V8_MAJOR_VERSION << "." << V8_MINOR_VERSION << "." << V8_BUILD_NUMBER << "." << V8_PATCH_LEVEL);
LOG_DEBUG("Python Version:\t" << PY_VERSION);
LOG_DEBUG("Protobuf Version:\t" << QString("%1.%2.%3")
.arg(GOOGLE_PROTOBUF_VERSION / 1000000)
Expand Down
7 changes: 4 additions & 3 deletions scripts/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {

triggers {
// Set nightly trigger
// cron((BRANCH_NAME == "master") ? "H H(4-5) * * 1-5" : "")
cron((BRANCH_NAME == "master") ? "H H(4-5) * * 1-5" : "")
}

// Configurable parameters for users to skip steps and control pipeline behavior
Expand Down Expand Up @@ -216,7 +216,8 @@ pipeline {
sh "vagrant ssh ${params.Box} -c 'cd hoot; make -s ui2x-test'"
}
}
stage("Sonar") {
// Reenable this stage when migrated to EL9
/* stage("Sonar") {
when {
anyOf {
expression { return params.Sonar }
Expand All @@ -239,7 +240,7 @@ pipeline {
}
}
}
}
}*/
}
post {
// always runs first so halting on non-release VM should happen at the end in cleanup
Expand Down

0 comments on commit 7f6842f

Please sign in to comment.