2020-12-05 08:12:45 +00:00
|
|
|
timeout(time: 10, unit: 'MINUTES') {
|
2020-11-29 21:18:44 +00:00
|
|
|
dir ("scripts") {
|
|
|
|
sh '. ./before-install.sh && unset http_proxy && unset https_proxy && ./check_cache.sh -l $CCACHE_ARTFACTORY_URL --cache_dir=\$CCACHE_DIR -f ccache-\$OS_NAME-\$BUILD_ENV_IMAGE_ID.tar.gz || echo \"ccache files not found!\"'
|
|
|
|
}
|
|
|
|
|
2020-12-08 06:41:04 +00:00
|
|
|
sh '. ./scripts/before-install.sh && make install'
|
2020-11-29 21:18:44 +00:00
|
|
|
|
|
|
|
dir ("scripts") {
|
|
|
|
withCredentials([usernamePassword(credentialsId: "${env.JFROG_CREDENTIALS_ID}", usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
|
|
|
|
sh '. ./before-install.sh && unset http_proxy && unset https_proxy && ./update_cache.sh -l $CCACHE_ARTFACTORY_URL --cache_dir=\$CCACHE_DIR -f ccache-\$OS_NAME-\$BUILD_ENV_IMAGE_ID.tar.gz -u ${USERNAME} -p ${PASSWORD}'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|