Step | Arguments | | | Status |
---|
Start of Pipeline - (10 mn in block) | | | |
|
node - (10 mn in block) | | | |
|
node block - (10 mn in block) | | | |
|
stage - (1,2 s in block) | Declarative: Checkout SCM | | |
|
stage block (Declarative: Checkout SCM) - (1,2 s in block) | | | |
|
checkout - (1,2 s in self) | | | |
|
withEnv - (10 mn in block) | GIT_AUTHOR_EMAIL, GIT_AUTHOR_NAME, GIT_BRANCH, GIT_COMMIT, GIT_COMMITTER_EMAIL, GIT_COMMITTER_NAME, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | | |
|
withEnv block - (10 mn in block) | | | |
|
isUnix - (1 ms in self) | | | |
|
withEnv - (0,28 s in block) | JD_ID, JD_TO_RUN | | |
|
withEnv block - (0,26 s in block) | | | |
|
sh - (0,25 s in self) | docker inspect -f . "$JD_TO_RUN" | | |
|
withDockerContainer - (10 mn in block) | | | |
|
withDockerContainer block - (10 mn in block) | | | |
|
withEnv - (10 mn in block) | buildVersion, silverpeas, fileRepo, wildfly, dbConf, gitRepo, silverpeasBuildJobName, mavenRepo | | |
|
withEnv block - (10 mn in block) | | | |
|
stage - (3,3 s in block) | Fetch the last build version of Silverpeas | | |
|
stage block (Fetch the last build version of Silverpeas) - (3,2 s in block) | | | |
|
sh - (0,26 s in self) | rm -rf * ~/.gradle | | |
|
sh - (0,26 s in self) | mkdir logs/ | | |
|
copyArtifacts - (14 ms in self) | | | |
|
script - (2,4 s in block) | | | |
|
script block - (2,4 s in block) | | | |
|
readYaml - (11 ms in self) | build.yaml | | |
|
sh - (2,1 s in self) | curl -fsSL -o pom.xml https://nexus3.silverpeas.org/repository/silverpeas/org/silverpeas/silverpeas-project/1.7-build240925/silverpeas-project-1.7-build240925.pom | | |
|
readMavenPom - (32 ms in self) | | | |
|
sh - (0,25 s in self) | rm -f pom.xml | | |
|
sh - (0,26 s in self) | rm -f build.yaml | | |
|
stage - (5,7 s in block) | Set up the test environment | | |
|
stage block (Set up the test environment) - (5,6 s in block) | | | |
|
git - (0,62 s in self) | | | |
|
script - (20 ms in block) | | | |
|
script block - (8 ms in block) | | | |
|
readYaml - (4 ms in self) | conf/database.yaml | | |
|
sh - (5 s in self) |
curl -fsSL -o silverpeas-6.5-build241028-wildfly26.zip https://www.silverpeas.org/files/silverpeas-6.5-build241028-wildfly26.zip
unzip silverpeas-6.5-build241028-wildfly26.zip
mv silverpeas-6.5-build241028-wildfly26 silverpeas
curl -fsSL -o wildfly-26.1.3.Final.zip https://www.silverpeas.org/files/wildfly-26.1.3.Final.zip
unzip wildfly-26.1.3.Final.zip
mv wildfly-26.1.3.Final wildfly
cp conf/*.xml silverpeas/configuration/silverpeas/
cp lib/ojdbc7.jar silverpeas/bin/lib/
| | |
|
stage - (2 mn 58 s in block) | Test installation against PostgreSQL | | |
|
stage block (Test installation against PostgreSQL) - (2 mn 58 s in block) | | | |
|
withCredentials - (2 mn 58 s in block) | | | |
|
withCredentials block - (2 mn 58 s in block) | | | |
|
script - (2 mn 58 s in block) | | | |
|
script block - (2 mn 58 s in block) | | | |
|
withCredentials - (0,57 s in block) | | | |
|
withCredentials block - (0,52 s in block) | | | |
|
sh - (0,25 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=silvertest" > ${DB_PSW}/configuration/config.properties
echo "DB_SERVERTYPE=POSTGRESQL" >> ${DB_PSW}/configuration/config.properties
echo "DB_SERVER=int0.${DB_PSW}.org" >> ${DB_PSW}/configuration/config.properties
echo "DB_PORT_POSTGRESQL=5433" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (0,25 s in self) |
echo "DB_USER=$DB_USR" >> ${DB_PSW}/configuration/config.properties
echo "DB_PASSWORD=$DB_PSW" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (1,8 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a CREATE -t POSTGRESQL -n silvertest -d org.${AUTH_USR}ql.Driver -u jdbc:${AUTH_USR}ql://int0.silverpeas.org:5433 -U \${AUTH_USR} -P \${AUTH_PSW} | | |
|
sh - (2 mn 53 s in self) |
SILVERPEAS_HOME="`pwd`/silverpeas" JBOSS_HOME="`pwd`/wildfly" silverpeas/bin/silverpeas clean install
| | |
|
sh - (0,25 s in self) | ls silverpeas/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,26 s in self) | mv silverpeas/log/build-20241103_042042.log logs/build-${AUTH_USR}ql.log | | |
|
sh - (1,8 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a DELETE -t POSTGRESQL -n silvertest -d org.${AUTH_USR}ql.Driver -u jdbc:${AUTH_USR}ql://int0.silverpeas.org:5433 -U \${AUTH_USR} -P \${AUTH_PSW} | | |
|
stage - (2 mn 7 s in block) | Test installation against MS-SQLServer | | |
|
stage block (Test installation against MS-SQLServer) - (2 mn 7 s in block) | | | |
|
withCredentials - (2 mn 7 s in block) | | | |
|
withCredentials block - (2 mn 7 s in block) | | | |
|
script - (2 mn 7 s in block) | | | |
|
script block - (2 mn 7 s in block) | | | |
|
withCredentials - (0,56 s in block) | | | |
|
withCredentials block - (0,53 s in block) | | | |
|
sh - (0,26 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=silvertest" > ${DB_PSW}/configuration/config.properties
echo "DB_SERVERTYPE=MSSQL" >> ${DB_PSW}/configuration/config.properties
echo "DB_SERVER=int1.${DB_PSW}.org" >> ${DB_PSW}/configuration/config.properties
echo "DB_PORT_MSSQL=1433" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (0,26 s in self) |
echo "DB_USER=$DB_USR" >> ${DB_PSW}/configuration/config.properties
echo "DB_PASSWORD=$DB_PSW" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (2,9 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a CREATE -t MSSQL -n silvertest -d net.sourceforge.jtds.jdbc.Driver -u jdbc:jtds:sqlserver://int1.silverpeas.org:1433 -U \${AUTH_USR} -P \${AUTH_PSW} | | |
|
sh - (2 mn 1 s in self) |
SILVERPEAS_HOME="`pwd`/silverpeas" JBOSS_HOME="`pwd`/wildfly" silverpeas/bin/silverpeas clean install
| | |
|
sh - (0,26 s in self) | ls silverpeas/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,26 s in self) | mv silverpeas/log/build-20241103_042321.log logs/build-mssql.log | | |
|
sh - (1,8 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a DELETE -t MSSQL -n silvertest -d net.sourceforge.jtds.jdbc.Driver -u jdbc:jtds:sqlserver://int1.silverpeas.org:1433 -U \${AUTH_USR} -P \${AUTH_PSW} | | |
|
stage - (3 mn 47 s in block) | Test installation against Oracle | | |
|
stage block (Test installation against Oracle) - (3 mn 47 s in block) | | | |
|
withCredentials - (3 mn 47 s in block) | | | |
|
withCredentials block - (3 mn 47 s in block) | | | |
|
script - (3 mn 47 s in block) | | | |
|
script block - (3 mn 47 s in block) | | | |
|
withCredentials - (0,57 s in block) | | | |
|
withCredentials block - (0,52 s in block) | | | |
|
sh - (0,26 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=SILVERTEST" > ${DB_PSW}/configuration/config.properties
echo "DB_SERVERTYPE=ORACLE" >> ${DB_PSW}/configuration/config.properties
echo "DB_SERVER=int3.${DB_PSW}.org" >> ${DB_PSW}/configuration/config.properties
echo "DB_PORT_ORACLE=1521" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (0,25 s in self) |
echo "DB_USER=$DB_USR" >> ${DB_PSW}/configuration/config.properties
echo "DB_PASSWORD=$DB_PSW" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (1 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a CREATE -t ORACLE -n SILVERTEST -d oracle.jdbc.driver.OracleDriver -u jdbc:oracle:thin:@int3.${AUTH_USR}.org:1521 -U \${AUTH_USR} -P \${AUTH_USR} | | |
|
sh - (3 mn 22 s in self) |
SILVERPEAS_HOME="`pwd`/${AUTH_USR}" JBOSS_HOME="`pwd`/wildfly" ${AUTH_USR}/bin/${AUTH_USR} clean install
| | |
|
sh - (0,25 s in self) | ls ${AUTH_USR}/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,26 s in self) | mv ${AUTH_USR}/log/build-20241103_042527.log logs/build-oracle.log | | |
|
sh - (22 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a DELETE -t ORACLE -n SILVERTEST -d oracle.jdbc.driver.OracleDriver -u jdbc:oracle:thin:@int3.${AUTH_USR}.org:1521 -U \${AUTH_USR} -P \${AUTH_USR} | | |
|
stage - (1 mn 43 s in block) | Test installation against H2 | | |
|
stage block (Test installation against H2) - (1 mn 43 s in block) | | | |
|
withCredentials - (1 mn 43 s in block) | | | |
|
withCredentials block - (1 mn 43 s in block) | | | |
|
script - (1 mn 43 s in block) | | | |
|
script block - (1 mn 43 s in block) | | | |
|
sh - (0,26 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/h2.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' start | | |
|
withCredentials - (0,56 s in block) | | | |
|
withCredentials block - (0,52 s in block) | | | |
|
sh - (0,26 s in self) |
rm -f ${DB_PSW}/configuration/config.properties
echo "DB_NAME=silvertest" > ${DB_PSW}/configuration/config.properties
echo "DB_SERVERTYPE=H2" >> ${DB_PSW}/configuration/config.properties
echo "DB_SERVER=localhost" >> ${DB_PSW}/configuration/config.properties
echo "DB_PORT_H2=9092" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (0,25 s in self) |
echo "DB_USER=$DB_USR" >> ${DB_PSW}/configuration/config.properties
echo "DB_PASSWORD=$DB_PSW" >> ${DB_PSW}/configuration/config.properties
| | |
|
sh - (1 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a CREATE -t H2 -n silvertest -d org.h2.Driver -u jdbc:h2:tcp://localhost:9092 -U \${AUTH_USR} -P \${AUTH_USR} | | |
|
sh - (1 mn 39 s in self) |
SILVERPEAS_HOME="`pwd`/${AUTH_USR}" JBOSS_HOME="`pwd`/wildfly" ${AUTH_USR}/bin/${AUTH_USR} clean install
| | |
|
sh - (0,26 s in self) | ls ${AUTH_USR}/log | grep 'build-[0-9]\+_[0-9]\+.log' | | |
|
sh - (0,26 s in self) | mv ${AUTH_USR}/log/build-20241103_042915.log logs/build-h2.log | | |
|
sh - (1 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/setupDB.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' -a DELETE -t H2 -n silvertest -d org.h2.Driver -u jdbc:h2:tcp://localhost:9092 -U \${AUTH_USR} -P \${AUTH_USR} | | |
|
sh - (0,5 s in self) | /var/lib/jenkins/workspace/Silverpeas_Installation_Test/scripts/h2.sh '/var/lib/jenkins/workspace/Silverpeas_Installation_Test' stop | | |
|
stage - (0,16 s in block) | Declarative: Post Actions | | |
|
stage block (Declarative: Post Actions) - (0,15 s in block) | | | |
|
script - (37 ms in block) | | | |
|
script block - (16 ms in block) | | | |
|
archiveArtifacts - (73 ms in self) | | | |
|
step - (28 ms in self) | | | |
|